mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 20:23:43 +08:00
fix(list): add mandate type in payment_method_list (#1238)
This commit is contained in:
@ -439,8 +439,8 @@ pub struct PaymentMethodListResponse {
|
||||
))]
|
||||
pub payment_methods: Vec<ResponsePaymentMethodsEnabled>,
|
||||
/// Value indicating if the current payment is a mandate payment
|
||||
#[schema(example = "new_mandate_txn")]
|
||||
pub mandate_payment: Option<payments::MandateTxnType>,
|
||||
#[schema(value_type = MandateType)]
|
||||
pub mandate_payment: Option<payments::MandateType>,
|
||||
}
|
||||
|
||||
#[derive(Eq, PartialEq, Hash, Debug, serde::Deserialize, ToSchema)]
|
||||
|
||||
Reference in New Issue
Block a user