mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 04:04:43 +08:00
feat(connector): [Adyen] Implement Boleto Bancario in Vouchers and Add support for Voucher in Next Action (#1657)
Co-authored-by: Pa1NarK <69745008+pixincreate@users.noreply.github.com>
This commit is contained in:
@ -770,6 +770,9 @@ pub enum StripeNextAction {
|
||||
QrCodeInformation {
|
||||
image_data_url: url::Url,
|
||||
},
|
||||
DisplayVoucherInformation {
|
||||
voucher_details: payments::VoucherNextStepData,
|
||||
},
|
||||
}
|
||||
|
||||
pub(crate) fn into_stripe_next_action(
|
||||
@ -796,6 +799,9 @@ pub(crate) fn into_stripe_next_action(
|
||||
payments::NextActionData::QrCodeInformation { image_data_url } => {
|
||||
StripeNextAction::QrCodeInformation { image_data_url }
|
||||
}
|
||||
payments::NextActionData::DisplayVoucherInformation { voucher_details } => {
|
||||
StripeNextAction::DisplayVoucherInformation { voucher_details }
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@ -371,6 +371,9 @@ pub enum StripeNextAction {
|
||||
QrCodeInformation {
|
||||
image_data_url: url::Url,
|
||||
},
|
||||
DisplayVoucherInformation {
|
||||
voucher_details: payments::VoucherNextStepData,
|
||||
},
|
||||
}
|
||||
|
||||
pub(crate) fn into_stripe_next_action(
|
||||
@ -397,6 +400,9 @@ pub(crate) fn into_stripe_next_action(
|
||||
payments::NextActionData::QrCodeInformation { image_data_url } => {
|
||||
StripeNextAction::QrCodeInformation { image_data_url }
|
||||
}
|
||||
payments::NextActionData::DisplayVoucherInformation { voucher_details } => {
|
||||
StripeNextAction::DisplayVoucherInformation { voucher_details }
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user