feat(router): make the billing country for apple pay as optional field (#3188)

This commit is contained in:
Shankar Singh C
2023-12-21 18:26:32 +05:30
committed by GitHub
parent c51c761677
commit 15987cc81e
5 changed files with 12 additions and 11 deletions

View File

@ -3004,7 +3004,7 @@ pub struct SecretInfoToInitiateSdk {
pub struct ApplePayPaymentRequest {
/// The code for country
#[schema(value_type = CountryAlpha2, example = "US")]
pub country_code: api_enums::CountryAlpha2,
pub country_code: Option<api_enums::CountryAlpha2>,
/// The code for currency
#[schema(value_type = Currency, example = "USD")]
pub currency_code: api_enums::Currency,