View Source GoogleApi.Content.V21.Model.RegionPostalCodeArea (google_api_content v0.67.1)

A list of postal codes that defines the region area. Note: All regions defined using postal codes are accessible via the account's ShippingSettings.postalCodeGroups resource.

Attributes

  • postalCodes (type: list(GoogleApi.Content.V21.Model.RegionPostalCodeAreaPostalCodeRange.t), default: nil) - Required. A range of postal codes.
  • regionCode (type: String.t, default: nil) - Required. CLDR territory code or the country the postal code group applies to.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V21.Model.RegionPostalCodeArea{
  postalCodes:
    [GoogleApi.Content.V21.Model.RegionPostalCodeAreaPostalCodeRange.t()] | nil,
  regionCode: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.