mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 04:04:55 +08:00
feat(card_network): add additional enum variants (#671)
This commit is contained in:
@ -700,11 +700,18 @@ pub enum BankNames {
|
||||
strum::EnumString,
|
||||
frunk::LabelledGeneric,
|
||||
)]
|
||||
#[strum(serialize_all = "snake_case")]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub enum CardNetwork {
|
||||
Visa,
|
||||
Mastercard,
|
||||
AmericanExpress,
|
||||
JCB,
|
||||
DinersClub,
|
||||
Discover,
|
||||
CartesBancaires,
|
||||
UnionPay,
|
||||
Interac,
|
||||
RuPay,
|
||||
Maestro,
|
||||
}
|
||||
|
||||
impl From<AttemptStatus> for IntentStatus {
|
||||
|
||||
Reference in New Issue
Block a user