mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 09:07:09 +08:00
feat(euclid): add a new variant in payment type i.e ppt_mandate (#5681)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -115,7 +115,7 @@ pub struct MandateListConstraints {
|
||||
}
|
||||
|
||||
/// Details required for recurring payment
|
||||
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize, ToSchema)]
|
||||
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize, ToSchema, PartialEq, Eq)]
|
||||
#[serde(tag = "type", content = "data", rename_all = "snake_case")]
|
||||
pub enum RecurringDetails {
|
||||
MandateId(String),
|
||||
@ -124,7 +124,7 @@ pub enum RecurringDetails {
|
||||
}
|
||||
|
||||
/// Processor payment token for MIT payments where payment_method_data is not available
|
||||
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize, ToSchema)]
|
||||
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize, ToSchema, PartialEq, Eq)]
|
||||
pub struct ProcessorPaymentToken {
|
||||
pub processor_payment_token: String,
|
||||
#[schema(value_type = Connector, example = "stripe")]
|
||||
|
||||
Reference in New Issue
Block a user