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

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

Attributes

  • 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.