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

The tax settings of a merchant account. All methods require the admin role.

Attributes

  • accountId (type: String.t, default: nil) - Required. The ID of the account to which these account tax settings belong.
  • kind (type: String.t, default: nil) - Identifies what kind of resource this is. Value: the fixed string "content#accountTax".
  • rules (type: list(GoogleApi.Content.V21.Model.AccountTaxTaxRule.t), default: nil) - Tax rules. Updating the tax rules will enable "US" taxes (not reversible). Defining no rules is equivalent to not charging tax at all.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V21.Model.AccountTax{
  accountId: String.t() | nil,
  kind: String.t() | nil,
  rules: [GoogleApi.Content.V21.Model.AccountTaxTaxRule.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.