google_api_content v0.2.0 GoogleApi.Content.V2.Model.ProductTax View Source

Attributes

  • country (String.t): The country within which the item is taxed, specified as a CLDR territory code. Defaults to: null.
  • locationId (String.t): The numeric id of a location that the tax rate applies to as defined in the AdWords API. Defaults to: null.
  • postalCode (String.t): 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. Defaults to: null.
  • rate (float()): The percentage of tax rate that applies to the item price. Defaults to: null.
  • region (String.t): The geographic region to which the tax rate applies. Defaults to: null.
  • taxShip (boolean()): Set to true if tax is charged on shipping. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type t() View Source
t() :: %GoogleApi.Content.V2.Model.ProductTax{
  country: any(),
  locationId: any(),
  postalCode: any(),
  rate: any(),
  region: any(),
  taxShip: any()
}

Link to this section Functions

Link to this function decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.