mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
feat(router): add routing support for token-based mit payments (#4012)
This commit is contained in:
@ -740,7 +740,7 @@ pub enum MandateTransactionType {
|
||||
|
||||
#[derive(Default, Eq, PartialEq, Debug, serde::Deserialize, serde::Serialize, Clone)]
|
||||
pub struct MandateIds {
|
||||
pub mandate_id: String,
|
||||
pub mandate_id: Option<String>,
|
||||
pub mandate_reference_id: Option<MandateReferenceId>,
|
||||
}
|
||||
|
||||
@ -767,7 +767,7 @@ pub struct UpdateHistory {
|
||||
impl MandateIds {
|
||||
pub fn new(mandate_id: String) -> Self {
|
||||
Self {
|
||||
mandate_id,
|
||||
mandate_id: Some(mandate_id),
|
||||
mandate_reference_id: None,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user