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

Attributes

  • country (type: String.t, default: nil) - CLDR country code (for example, "US").
  • fullAddress (type: list(String.t), default: nil) - Strings representing the lines of the printed label for mailing the order, for example: John Smith 1600 Amphitheatre Parkway Mountain View, CA, 94043 United States
  • isPostOfficeBox (type: boolean(), default: nil) - Whether the address is a post office box.
  • locality (type: String.t, default: nil) - City, town or commune. May also include dependent localities or sublocalities (for example, neighborhoods or suburbs).
  • postalCode (type: String.t, default: nil) - Postal Code or ZIP (for example, "94043").
  • recipientName (type: String.t, default: nil) - Name of the recipient.
  • region (type: String.t, default: nil) - Top-level administrative subdivision of the country. For example, a state like California ("CA") or a province like Quebec ("QC").
  • streetAddress (type: list(String.t), default: nil) - Street-level part of the address. Use \n to add a second line.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V21.Model.OrderAddress{
  country: String.t() | nil,
  fullAddress: [String.t()] | nil,
  isPostOfficeBox: boolean() | nil,
  locality: String.t() | nil,
  postalCode: String.t() | nil,
  recipientName: String.t() | nil,
  region: String.t() | nil,
  streetAddress: [String.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.