mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 01:57:45 +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, | ||||
|  | ||||
| @ -193,6 +193,7 @@ impl ForeignFrom<api_enums::PaymentMethodType> for api_enums::PaymentMethod { | ||||
|             | api_enums::PaymentMethodType::Przelewy24 | ||||
|             | api_enums::PaymentMethodType::Swish | ||||
|             | api_enums::PaymentMethodType::Trustly | ||||
|             | api_enums::PaymentMethodType::Bizum | ||||
|             | api_enums::PaymentMethodType::Interac => Self::BankRedirect, | ||||
|             api_enums::PaymentMethodType::UpiCollect => Self::Upi, | ||||
|             api_enums::PaymentMethodType::CryptoCurrency => Self::Crypto, | ||||
|  | ||||
| @ -6679,6 +6679,7 @@ | ||||
|           "bancontact_card", | ||||
|           "becs", | ||||
|           "blik", | ||||
|           "bizum", | ||||
|           "classic", | ||||
|           "credit", | ||||
|           "crypto_currency", | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Sakil Mostak
					Sakil Mostak