mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 04:04:43 +08:00
feat(connector): [Flexiti]Add support for flexiti connector (#8743)
Co-authored-by: Chikke Srujan <chikke.srujan@Chikke-Srujan-V9P7D4K9V0.local> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -55,6 +55,7 @@ pub enum PayLaterType {
|
||||
Klarna,
|
||||
PayBright,
|
||||
Walley,
|
||||
Flexiti,
|
||||
Atome,
|
||||
Breadpay,
|
||||
}
|
||||
|
||||
@ -28,6 +28,7 @@ impl From<enums::PayLaterType> for global_enums::PaymentMethodType {
|
||||
enums::PayLaterType::Affirm => Self::Affirm,
|
||||
enums::PayLaterType::AfterpayClearpay => Self::AfterpayClearpay,
|
||||
enums::PayLaterType::Alma => Self::Alma,
|
||||
enums::PayLaterType::Flexiti => Self::Flexiti,
|
||||
enums::PayLaterType::Klarna => Self::Klarna,
|
||||
enums::PayLaterType::PayBright => Self::PayBright,
|
||||
enums::PayLaterType::Walley => Self::Walley,
|
||||
|
||||
@ -102,6 +102,7 @@ impl IntoDirValue for (global_enums::PaymentMethodType, global_enums::PaymentMet
|
||||
global_enums::PaymentMethodType::Bizum => Ok(dirval!(BankRedirectType = Bizum)),
|
||||
|
||||
global_enums::PaymentMethodType::PayBright => Ok(dirval!(PayLaterType = PayBright)),
|
||||
global_enums::PaymentMethodType::Flexiti => Ok(dirval!(PayLaterType = Flexiti)),
|
||||
global_enums::PaymentMethodType::Walley => Ok(dirval!(PayLaterType = Walley)),
|
||||
global_enums::PaymentMethodType::Breadpay => Ok(dirval!(PayLaterType = Breadpay)),
|
||||
global_enums::PaymentMethodType::Przelewy24 => {
|
||||
|
||||
Reference in New Issue
Block a user