feat(debit_routing): add debit routing support for apple pay (#8673)

This commit is contained in:
Shankar Singh C
2025-07-18 19:49:24 +05:30
committed by GitHub
parent bf8dc4959e
commit d42fad73f5
5 changed files with 250 additions and 60 deletions

View File

@ -190,6 +190,30 @@ impl AttemptStatus {
}
}
#[derive(
Clone,
Copy,
Debug,
Hash,
Eq,
PartialEq,
serde::Deserialize,
serde::Serialize,
strum::Display,
strum::EnumString,
strum::EnumIter,
ToSchema,
)]
#[router_derive::diesel_enum(storage_type = "db_enum")]
#[serde(rename_all = "snake_case")]
#[strum(serialize_all = "snake_case")]
pub enum ApplePayPaymentMethodType {
Debit,
Credit,
Prepaid,
Store,
}
/// Indicates the method by which a card is discovered during a payment
#[derive(
Clone,