google_api_content v0.4.0 GoogleApi.Content.V2.Model.AccountTaxTaxRule View Source

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

Attributes

  • country (String.t): Country code in which tax is applicable. Defaults to: null.
  • locationId (String.t): State (or province) is which the tax is applicable, described by its location id (also called criteria id). Defaults to: null.
  • ratePercent (String.t): Explicit tax rate in percent, represented as a floating point number without the percentage character. Must not be negative. Defaults to: null.
  • shippingTaxed (boolean()): If true, shipping charges are also taxed. Defaults to: null.
  • useGlobalRate (boolean()): Whether the tax rate is taken from a global tax table or specified explicitly. 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.AccountTaxTaxRule{
  country: any(),
  locationId: any(),
  ratePercent: any(),
  shippingTaxed: any(),
  useGlobalRate: 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.