refactor(payment_methods): make the card_holder_name optional for card details in the payment APIs (#3074)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Chethan Rao
2023-12-08 17:58:42 +05:30
committed by GitHub
parent b283b6b662
commit b279591057
39 changed files with 170 additions and 78 deletions

View File

@ -20,7 +20,7 @@ pub fn generate_card_from_details(
card_network: None,
card_exp_year: masking::Secret::new(card_exp_year),
card_exp_month: masking::Secret::new(card_exp_month),
card_holder_name: masking::Secret::new("HyperSwitch".to_string()),
card_holder_name: Some(masking::Secret::new("HyperSwitch".to_string())),
nick_name: None,
card_type: None,
card_issuing_country: None,