feat(router): [worldpayvantiv] add support for moto flag for v1 and extend vantiv api contract (#8800)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Co-authored-by: Jagan <jaganelavarasan@gmail.com>
This commit is contained in:
AkshayaFoiger
2025-08-01 16:01:26 +05:30
committed by GitHub
parent 82cf2cb146
commit 8ac5e50422
25 changed files with 347 additions and 60 deletions

View File

@ -2250,6 +2250,37 @@ pub enum ScaExemptionType {
TransactionRiskAnalysis,
}
#[derive(
Clone,
Debug,
Default,
Eq,
PartialOrd,
Ord,
Hash,
PartialEq,
serde::Deserialize,
serde::Serialize,
strum::Display,
strum::VariantNames,
strum::EnumIter,
strum::EnumString,
ToSchema,
)]
#[router_derive::diesel_enum(storage_type = "text")]
#[serde(rename_all = "snake_case")]
#[strum(serialize_all = "snake_case")]
/// Describes the channel through which the payment was initiated.
pub enum PaymentChannel {
#[default]
Ecommerce,
MailOrder,
TelephoneOrder,
#[serde(untagged)]
#[strum(default)]
Other(String),
}
#[derive(
Clone,
Copy,