mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
feat(connector): [ProphetPay] Implement Card Redirect PaymentMethodType and flows for Authorize, CompleteAuthorize, Psync, Refund, Rsync and Void (#2641)
Co-authored-by: Arjun Karthik <m.arjunkarthik@gmail.com>
This commit is contained in:
@ -704,6 +704,7 @@ pub enum CardRedirectData {
|
||||
Knet {},
|
||||
Benefit {},
|
||||
MomoAtm {},
|
||||
CardRedirect {},
|
||||
}
|
||||
|
||||
#[derive(Eq, PartialEq, Clone, Debug, serde::Deserialize, serde::Serialize, ToSchema)]
|
||||
@ -868,6 +869,7 @@ impl GetPaymentMethodType for CardRedirectData {
|
||||
Self::Knet {} => api_enums::PaymentMethodType::Knet,
|
||||
Self::Benefit {} => api_enums::PaymentMethodType::Benefit,
|
||||
Self::MomoAtm {} => api_enums::PaymentMethodType::MomoAtm,
|
||||
Self::CardRedirect {} => api_enums::PaymentMethodType::CardRedirect,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user