GoogleApi.Content.V21.Model.ProductTax (google_api_content v0.52.0) View Source

Attributes

  • country (type: String.t, default: nil) - The country within which the item is taxed, specified as a CLDR territory code.
  • locationId (type: String.t, default: nil) - The numeric ID of a location that the tax rate applies to as defined in the AdWords API.
  • postalCode (type: String.t, default: nil) - The postal code range that the tax rate applies to, represented by a ZIP code, a ZIP code prefix using wildcard, a range between two ZIP codes or two ZIP code prefixes of equal length. Examples: 94114, 94, 94002-95460, 94-95.
  • rate (type: float(), default: nil) - The percentage of tax rate that applies to the item price.
  • region (type: String.t, default: nil) - The geographic region to which the tax rate applies.
  • taxShip (type: boolean(), default: nil) - Should be set to true if tax is charged on shipping.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Content.V21.Model.ProductTax{
  country: String.t(),
  locationId: String.t(),
  postalCode: String.t(),
  rate: float(),
  region: String.t(),
  taxShip: boolean()
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.