feat(connector): [Adyen] implement Momo for Adyen (#1583)

Co-authored-by: Sangamesh Kulkarni <59434228+Sangamesh26@users.noreply.github.com>
This commit is contained in:
AkshayaFoiger
2023-07-19 13:32:58 +05:30
committed by GitHub
parent 54f7ab7ae1
commit 96933f2636
10 changed files with 43 additions and 0 deletions

View File

@ -270,6 +270,7 @@ pub enum Currency {
USD,
UYU,
UZS,
VND,
YER,
ZAR,
}
@ -381,6 +382,7 @@ impl Currency {
Self::USD => "840",
Self::UYU => "858",
Self::UZS => "860",
Self::VND => "704",
Self::YER => "886",
Self::ZAR => "710",
}
@ -578,6 +580,7 @@ pub enum PaymentMethodType {
KakaoPay,
MbWay,
MobilePay,
Momo,
Multibanco,
OnlineBankingCzechRepublic,
OnlineBankingFinland,

View File

@ -1561,6 +1561,7 @@ impl From<PaymentMethodType> for PaymentMethod {
PaymentMethodType::KakaoPay => Self::Wallet,
PaymentMethodType::MbWay => Self::Wallet,
PaymentMethodType::MobilePay => Self::Wallet,
PaymentMethodType::Momo => Self::Wallet,
PaymentMethodType::Multibanco => Self::BankTransfer,
PaymentMethodType::Interac => Self::BankRedirect,
PaymentMethodType::OnlineBankingCzechRepublic => Self::BankRedirect,