feat(ucs): add gateway system {Direct | UnifiedConnectorSystem} in feature metadata for v1 (#8854)

This commit is contained in:
Uzair Khan
2025-08-11 19:13:15 +05:30
committed by GitHub
parent 0e95785437
commit d034fadbdc
13 changed files with 313 additions and 19 deletions

View File

@ -2220,6 +2220,34 @@ pub enum PaymentMethod {
MobilePayment,
}
/// Indicates the gateway system through which the payment is processed.
#[derive(
Clone,
Copy,
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")]
pub enum GatewaySystem {
#[default]
Direct,
UnifiedConnectorService,
}
/// The type of the payment that differentiates between normal and various types of mandate payments. Use 'setup_mandate' in case of zero auth flow.
#[derive(
Clone,