mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 13:30:39 +08:00
feat(connector): [Nuvei] add support for card mandates (#818)
Co-authored-by: Arun Raj M <jarnura47@gmail.com>
This commit is contained in:
@ -26,6 +26,9 @@ pub struct Mandate {
|
||||
pub amount_captured: Option<i64>,
|
||||
pub connector: String,
|
||||
pub connector_mandate_id: Option<String>,
|
||||
pub start_date: Option<PrimitiveDateTime>,
|
||||
pub end_date: Option<PrimitiveDateTime>,
|
||||
pub metadata: Option<pii::SecretSerdeValue>,
|
||||
}
|
||||
|
||||
#[derive(
|
||||
@ -50,6 +53,9 @@ pub struct MandateNew {
|
||||
pub amount_captured: Option<i64>,
|
||||
pub connector: String,
|
||||
pub connector_mandate_id: Option<String>,
|
||||
pub start_date: Option<PrimitiveDateTime>,
|
||||
pub end_date: Option<PrimitiveDateTime>,
|
||||
pub metadata: Option<pii::SecretSerdeValue>,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
|
||||
Reference in New Issue
Block a user