mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 09:38:33 +08:00
fix(connector): [Adyen] Add bizum in common enums (#1719)
Co-authored-by: Prasunna Soppa <prasunna.soppa@juspay.in>
This commit is contained in:
@ -560,6 +560,7 @@ pub enum PaymentMethodType {
|
||||
BancontactCard,
|
||||
Becs,
|
||||
Blik,
|
||||
Bizum,
|
||||
#[serde(rename = "classic")]
|
||||
ClassicReward,
|
||||
Credit,
|
||||
|
||||
@ -1544,6 +1544,7 @@ impl From<PaymentMethodType> for PaymentMethod {
|
||||
PaymentMethodType::Bacs => Self::BankDebit,
|
||||
PaymentMethodType::BancontactCard => Self::BankRedirect,
|
||||
PaymentMethodType::Becs => Self::BankDebit,
|
||||
PaymentMethodType::Bizum => Self::BankRedirect,
|
||||
PaymentMethodType::Blik => Self::BankRedirect,
|
||||
PaymentMethodType::ClassicReward => Self::Reward,
|
||||
PaymentMethodType::Credit => Self::Card,
|
||||
|
||||
Reference in New Issue
Block a user