mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 04:04:43 +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:
@ -164,6 +164,7 @@ fn get_dir_value_payment_method(
|
||||
api_enums::PaymentMethodType::Venmo => Ok(dirval!(WalletType = Venmo)),
|
||||
api_enums::PaymentMethodType::UpiIntent => Ok(dirval!(UpiType = UpiIntent)),
|
||||
api_enums::PaymentMethodType::UpiCollect => Ok(dirval!(UpiType = UpiCollect)),
|
||||
api_enums::PaymentMethodType::UpiQr => Ok(dirval!(UpiType = UpiQr)),
|
||||
api_enums::PaymentMethodType::Mifinity => Ok(dirval!(WalletType = Mifinity)),
|
||||
api_enums::PaymentMethodType::Fps => Ok(dirval!(RealTimePaymentType = Fps)),
|
||||
api_enums::PaymentMethodType::DuitNow => Ok(dirval!(RealTimePaymentType = DuitNow)),
|
||||
|
||||
@ -236,6 +236,7 @@ impl IntoDirValue for (api_enums::PaymentMethodType, api_enums::PaymentMethod) {
|
||||
api_enums::PaymentMethodType::Evoucher => Ok(dirval!(RewardType = Evoucher)),
|
||||
api_enums::PaymentMethodType::UpiCollect => Ok(dirval!(UpiType = UpiCollect)),
|
||||
api_enums::PaymentMethodType::UpiIntent => Ok(dirval!(UpiType = UpiIntent)),
|
||||
api_enums::PaymentMethodType::UpiQr => Ok(dirval!(UpiType = UpiQr)),
|
||||
api_enums::PaymentMethodType::SamsungPay => Ok(dirval!(WalletType = SamsungPay)),
|
||||
api_enums::PaymentMethodType::GoPay => Ok(dirval!(WalletType = GoPay)),
|
||||
api_enums::PaymentMethodType::KakaoPay => Ok(dirval!(WalletType = KakaoPay)),
|
||||
|
||||
Reference in New Issue
Block a user