country_code is missing for my request in the sandbox environment
This part looks like this: ``` "address": {} ```
This commit is contained in:
parent
b25befa815
commit
b4c2f2f152
|
@ -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>,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue