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:
kanikac199
2025-10-13 18:01:53 +05:30
committed by GitHub
parent c2da9db91f
commit 5c7a607326
29 changed files with 197 additions and 23 deletions

View File

@ -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",

View File

@ -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,