Merge pull request #6 from twistedfall/country_code

country_code is missing for my request in the sandbox environment
This commit is contained in:
Edgar 2022-06-06 10:58:15 +02:00 committed by GitHub
commit dff3f7ecb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,7 +56,7 @@ pub struct Address {
/// The postal code, which is the zip code or equivalent. Typically required for countries with a postal code or an equivalent. /// The postal code, which is the zip code or equivalent. Typically required for countries with a postal code or an equivalent.
pub postal_code: Option<String>, pub postal_code: Option<String>,
/// The two-character [ISO 3166-1](https://developer.paypal.com/docs/api/reference/country-codes/) code that identifies the country or region. /// The two-character [ISO 3166-1](https://developer.paypal.com/docs/api/reference/country-codes/) code that identifies the country or region.
pub country_code: String, pub country_code: Option<String>,
/// The non-portable additional address details that are sometimes needed for compliance, risk, or other scenarios where fine-grain address information might be needed. /// The non-portable additional address details that are sometimes needed for compliance, risk, or other scenarios where fine-grain address information might be needed.
pub address_details: Option<AddressDetails>, pub address_details: Option<AddressDetails>,
} }