feat(core): Make installment_payment_enabled,recurring_enabled Optional (#8201)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
awasthi21
2025-06-10 16:01:50 +05:30
committed by GitHub
parent e0ea1b4832
commit 171ca3b564
17 changed files with 149 additions and 120 deletions

View File

@ -1146,8 +1146,8 @@ mod tests {
accepted_countries: None,
minimum_amount: Some(MinorUnit::new(10)),
maximum_amount: Some(MinorUnit::new(1000)),
recurring_enabled: true,
installment_payment_enabled: true,
recurring_enabled: Some(true),
installment_payment_enabled: Some(true),
},
RequestPaymentMethodTypes {
payment_method_type: api_enums::PaymentMethodType::Debit,
@ -1162,8 +1162,8 @@ mod tests {
accepted_countries: None,
minimum_amount: Some(MinorUnit::new(10)),
maximum_amount: Some(MinorUnit::new(1000)),
recurring_enabled: true,
installment_payment_enabled: true,
recurring_enabled: Some(true),
installment_payment_enabled: Some(true),
},
]),
}]),