mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
feat(router): add connector mit related columns to the payment methods table (#3764)
This commit is contained in:
@ -1177,6 +1177,32 @@ pub enum PaymentMethodIssuerCode {
|
||||
JpBacs,
|
||||
}
|
||||
|
||||
#[derive(
|
||||
Clone,
|
||||
Copy,
|
||||
Debug,
|
||||
PartialEq,
|
||||
Eq,
|
||||
Hash,
|
||||
serde::Serialize,
|
||||
serde::Deserialize,
|
||||
strum::Display,
|
||||
strum::EnumString,
|
||||
ToSchema,
|
||||
)]
|
||||
#[router_derive::diesel_enum(storage_type = "text")]
|
||||
#[strum(serialize_all = "snake_case")]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub enum PaymentMethodStatus {
|
||||
/// Indicates that the payment method is active and can be used for payments.
|
||||
Active,
|
||||
/// Indicates that the payment method is not active and hence cannot be used for payments.
|
||||
Inactive,
|
||||
/// Indicates that the payment method is awaiting some data or action before it can be marked
|
||||
/// as 'active'.
|
||||
Processing,
|
||||
}
|
||||
|
||||
/// To indicate the type of payment experience that the customer would go through
|
||||
#[derive(
|
||||
Eq,
|
||||
|
||||
Reference in New Issue
Block a user