feat(router): add routing support for token-based mit payments (#4012)

This commit is contained in:
Shanks
2024-03-11 15:26:07 +05:30
committed by GitHub
parent 5584f1131a
commit 43ebfbc47f
27 changed files with 429 additions and 180 deletions

View File

@ -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,
}
}