mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
feat(connector): [Nomupay] Implement nomupay payouts flows (#6511)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -98,7 +98,7 @@ pub enum RoutableConnectors {
|
||||
Nexinets,
|
||||
Nexixpay,
|
||||
Nmi,
|
||||
// Nomupay,
|
||||
Nomupay,
|
||||
Noon,
|
||||
Novalnet,
|
||||
Nuvei,
|
||||
@ -239,7 +239,7 @@ pub enum Connector {
|
||||
Nexinets,
|
||||
Nexixpay,
|
||||
Nmi,
|
||||
// Nomupay,
|
||||
Nomupay,
|
||||
Noon,
|
||||
Novalnet,
|
||||
Nuvei,
|
||||
@ -289,6 +289,7 @@ impl Connector {
|
||||
(Self::Paypal, Some(PayoutType::Wallet))
|
||||
| (_, Some(PayoutType::Card))
|
||||
| (Self::Adyenplatform, _)
|
||||
| (Self::Nomupay, _)
|
||||
)
|
||||
}
|
||||
#[cfg(feature = "payouts")]
|
||||
@ -309,7 +310,7 @@ impl Connector {
|
||||
}
|
||||
#[cfg(feature = "payouts")]
|
||||
pub fn supports_vendor_disburse_account_create_for_payout(self) -> bool {
|
||||
matches!(self, Self::Stripe)
|
||||
matches!(self, Self::Stripe | Self::Nomupay)
|
||||
}
|
||||
pub fn supports_access_token(self, payment_method: PaymentMethod) -> bool {
|
||||
matches!(
|
||||
@ -389,7 +390,7 @@ impl Connector {
|
||||
| Self::Multisafepay
|
||||
| Self::Nexinets
|
||||
| Self::Nexixpay
|
||||
// | Self::Nomupay
|
||||
| Self::Nomupay
|
||||
| Self::Novalnet
|
||||
| Self::Nuvei
|
||||
| Self::Opennode
|
||||
@ -519,6 +520,7 @@ impl From<RoutableConnectors> for Connector {
|
||||
RoutableConnectors::Nexinets => Self::Nexinets,
|
||||
RoutableConnectors::Nexixpay => Self::Nexixpay,
|
||||
RoutableConnectors::Nmi => Self::Nmi,
|
||||
RoutableConnectors::Nomupay => Self::Nomupay,
|
||||
RoutableConnectors::Noon => Self::Noon,
|
||||
RoutableConnectors::Novalnet => Self::Novalnet,
|
||||
RoutableConnectors::Nuvei => Self::Nuvei,
|
||||
|
||||
Reference in New Issue
Block a user