mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
feat(connector): [BHN] Add BHN GiftCard Flow( Alpha) (#8701)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -152,6 +152,7 @@ fn get_dir_value_payment_method(
|
||||
api_enums::PaymentMethodType::Seicomart => Ok(dirval!(VoucherType = Seicomart)),
|
||||
api_enums::PaymentMethodType::PayEasy => Ok(dirval!(VoucherType = PayEasy)),
|
||||
api_enums::PaymentMethodType::Givex => Ok(dirval!(GiftCardType = Givex)),
|
||||
api_enums::PaymentMethodType::BhnCardNetwork => Ok(dirval!(GiftCardType = BhnCardNetwork)),
|
||||
api_enums::PaymentMethodType::Benefit => Ok(dirval!(CardRedirectType = Benefit)),
|
||||
api_enums::PaymentMethodType::Knet => Ok(dirval!(CardRedirectType = Knet)),
|
||||
api_enums::PaymentMethodType::OpenBankingUk => {
|
||||
|
||||
@ -294,6 +294,9 @@ impl IntoDirValue for (api_enums::PaymentMethodType, api_enums::PaymentMethod) {
|
||||
api_enums::PaymentMethodType::Seicomart => Ok(dirval!(VoucherType = Seicomart)),
|
||||
api_enums::PaymentMethodType::PayEasy => Ok(dirval!(VoucherType = PayEasy)),
|
||||
api_enums::PaymentMethodType::Givex => Ok(dirval!(GiftCardType = Givex)),
|
||||
api_enums::PaymentMethodType::BhnCardNetwork => {
|
||||
Ok(dirval!(GiftCardType = BhnCardNetwork))
|
||||
}
|
||||
api_enums::PaymentMethodType::Benefit => Ok(dirval!(CardRedirectType = Benefit)),
|
||||
api_enums::PaymentMethodType::Knet => Ok(dirval!(CardRedirectType = Knet)),
|
||||
api_enums::PaymentMethodType::OpenBankingUk => {
|
||||
|
||||
Reference in New Issue
Block a user