View Source GoogleApi.Content.V21.Model.AccountTaxTaxRule (google_api_content v0.61.1)

Tax calculation rule to apply in a state or province (USA only).


  • country (type: String.t, default: nil) - Country code in which tax is applicable.
  • locationId (type: String.t, default: nil) - Required. State (or province) is which the tax is applicable, described by its location ID (also called criteria ID).
  • ratePercent (type: String.t, default: nil) - Explicit tax rate in percent, represented as a floating point number without the percentage character. Must not be negative.
  • shippingTaxed (type: boolean(), default: nil) - If true, shipping charges are also taxed.
  • useGlobalRate (type: boolean(), default: nil) - Whether the tax rate is taken from a global tax table or specified explicitly.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.Content.V21.Model.AccountTaxTaxRule{
  country: String.t() | nil,
  locationId: String.t() | nil,
  ratePercent: String.t() | nil,
  shippingTaxed: boolean() | nil,
  useGlobalRate: boolean() | nil

Link to this section Functions


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

Unwrap a decoded JSON object into its complex fields.