View Source GoogleApi.Content.V21.Model.DeliveryArea (google_api_content v0.70.1)
A delivery area for the product. Only one of countryCode or postalCodeRange must be set.
Attributes
-
countryCode(type:String.t, default:nil) - Required. The country that the product can be delivered to. Submit a unicode CLDR region such asUSorCH. -
postalCodeRange(type:GoogleApi.Content.V21.Model.DeliveryAreaPostalCodeRange.t, default:nil) - A postal code, postal code range or postal code prefix that defines this area. Limited to US and AUS. -
regionCode(type:String.t, default:nil) - A state, territory, or prefecture. This is supported for the United States, Australia, and Japan. Provide a subdivision code from the ISO 3166-2 code tables (US, AU, or JP) without country prefix (for example,"NY","NSW","03").
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Content.V21.Model.DeliveryArea{ countryCode: String.t() | nil, postalCodeRange: GoogleApi.Content.V21.Model.DeliveryAreaPostalCodeRange.t() | nil, regionCode: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.