feat(connector): [Adyen] Implement Alma BNPL and DANA Wallet (#1566)

Co-authored-by: chikke srujan <121822803+srujanchikke@users.noreply.github.com>
Co-authored-by: Sanchith Hegde <22217505+SanchithHegde@users.noreply.github.com>
This commit is contained in:
Sakil Mostak
2023-07-19 15:52:50 +05:30
committed by GitHub
parent cac9f5049e
commit 5dcf758ac0
7 changed files with 96 additions and 2 deletions

View File

@ -557,6 +557,7 @@ pub enum PaymentMethodType {
AfterpayClearpay,
AliPay,
AliPayHk,
Alma,
ApplePay,
Bacs,
BancontactCard,
@ -567,6 +568,7 @@ pub enum PaymentMethodType {
ClassicReward,
Credit,
CryptoCurrency,
Dana,
Debit,
Eps,
Evoucher,

View File

@ -1540,6 +1540,7 @@ impl From<PaymentMethodType> for PaymentMethod {
PaymentMethodType::AfterpayClearpay => Self::PayLater,
PaymentMethodType::AliPay => Self::Wallet,
PaymentMethodType::AliPayHk => Self::Wallet,
PaymentMethodType::Alma => Self::PayLater,
PaymentMethodType::ApplePay => Self::Wallet,
PaymentMethodType::Bacs => Self::BankDebit,
PaymentMethodType::BancontactCard => Self::BankRedirect,
@ -1549,6 +1550,7 @@ impl From<PaymentMethodType> for PaymentMethod {
PaymentMethodType::ClassicReward => Self::Reward,
PaymentMethodType::Credit => Self::Card,
PaymentMethodType::CryptoCurrency => Self::Crypto,
PaymentMethodType::Dana => Self::Wallet,
PaymentMethodType::Debit => Self::Card,
PaymentMethodType::Eps => Self::BankRedirect,
PaymentMethodType::Evoucher => Self::Reward,