mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
refactor(dynamic_fields): dynamic fields for Adyen and Stripe, renaming klarnaCheckout, WASM for KlarnaCheckout (#7015)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: AkshayaFoiger <131388445+AkshayaFoiger@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
dddb1b06be
commit
a6367d92f6
@ -1876,7 +1876,6 @@ pub enum PayLaterData {
|
||||
/// The token for the sdk workflow
|
||||
token: String,
|
||||
},
|
||||
KlarnaCheckout {},
|
||||
/// For Affirm redirect as PayLater Option
|
||||
AffirmRedirect {},
|
||||
/// For AfterpayClearpay redirect as PayLater Option
|
||||
@ -1934,7 +1933,6 @@ impl GetAddressFromPaymentMethodData for PayLaterData {
|
||||
| Self::WalleyRedirect {}
|
||||
| Self::AlmaRedirect {}
|
||||
| Self::KlarnaSdk { .. }
|
||||
| Self::KlarnaCheckout {}
|
||||
| Self::AffirmRedirect {}
|
||||
| Self::AtomeRedirect {} => None,
|
||||
}
|
||||
@ -2397,7 +2395,6 @@ impl GetPaymentMethodType for PayLaterData {
|
||||
match self {
|
||||
Self::KlarnaRedirect { .. } => api_enums::PaymentMethodType::Klarna,
|
||||
Self::KlarnaSdk { .. } => api_enums::PaymentMethodType::Klarna,
|
||||
Self::KlarnaCheckout {} => api_enums::PaymentMethodType::Klarna,
|
||||
Self::AffirmRedirect {} => api_enums::PaymentMethodType::Affirm,
|
||||
Self::AfterpayClearpayRedirect { .. } => api_enums::PaymentMethodType::AfterpayClearpay,
|
||||
Self::PayBrightRedirect {} => api_enums::PaymentMethodType::PayBright,
|
||||
|
||||
Reference in New Issue
Block a user