GoogleApi.Content.V2.Model.ProductShipping (google_api_content v0.58.1) View Source

Attributes

  • country (type: String.t, default: nil) - The CLDR territory code of the country to which an item will ship.
  • locationGroupName (type: String.t, default: nil) - The location where the shipping is applicable, represented by a location group name.
  • locationId (type: String.t, default: nil) - The numeric ID of a location that the shipping rate applies to as defined in the AdWords API.
  • postalCode (type: String.t, default: nil) - The postal code range that the shipping rate applies to, represented by a postal code, a postal code prefix followed by a * wildcard, a range between two postal codes or two postal code prefixes of equal length.
  • price (type: GoogleApi.Content.V2.Model.Price.t, default: nil) - Fixed shipping price, represented as a number.
  • region (type: String.t, default: nil) - The geographic region to which a shipping rate applies.
  • service (type: String.t, default: nil) - A free-form description of the service class or delivery speed.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Content.V2.Model.ProductShipping{
  country: String.t() | nil,
  locationGroupName: String.t() | nil,
  locationId: String.t() | nil,
  postalCode: String.t() | nil,
  price: GoogleApi.Content.V2.Model.Price.t() | nil,
  region: String.t() | nil,
  service: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.