mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
feat(core): add support for upi_intent and upi_qr (#9716)
Co-authored-by: Kanika Chaudhary <kanika.c@juspay.in> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -2057,6 +2057,7 @@ pub enum PaymentMethodType {
|
||||
Twint,
|
||||
UpiCollect,
|
||||
UpiIntent,
|
||||
UpiQr,
|
||||
Vipps,
|
||||
VietQr,
|
||||
Venmo,
|
||||
@ -2183,6 +2184,7 @@ impl PaymentMethodType {
|
||||
Self::Twint => "TWINT",
|
||||
Self::UpiCollect => "UPI Collect",
|
||||
Self::UpiIntent => "UPI Intent",
|
||||
Self::UpiQr => "UPI QR",
|
||||
Self::Vipps => "Vipps",
|
||||
Self::VietQr => "VietQR",
|
||||
Self::Venmo => "Venmo",
|
||||
|
||||
@ -1879,6 +1879,7 @@ impl From<PaymentMethodType> for PaymentMethod {
|
||||
PaymentMethodType::Twint => Self::Wallet,
|
||||
PaymentMethodType::UpiCollect => Self::Upi,
|
||||
PaymentMethodType::UpiIntent => Self::Upi,
|
||||
PaymentMethodType::UpiQr => Self::Upi,
|
||||
PaymentMethodType::Vipps => Self::Wallet,
|
||||
PaymentMethodType::Venmo => Self::Wallet,
|
||||
PaymentMethodType::VietQr => Self::RealTimePayment,
|
||||
|
||||
Reference in New Issue
Block a user