class Google::Apis::ContentV2::AccountTax

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

Attributes

account_id[RW]

Required. The ID of the account to which these account tax settings belong. Corresponds to the JSON property `accountId` @return [Fixnum]

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “content# accountTax”. Corresponds to the JSON property `kind` @return [String]

rules[RW]

Tax rules. Updating the tax rules will enable US taxes (not reversible). Defining no rules is equivalent to not charging tax at all. Corresponds to the JSON property `rules` @return [Array<Google::Apis::ContentV2::AccountTaxTaxRule>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2/classes.rb, line 715
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/content_v2/classes.rb, line 720
def update!(**args)
  @account_id = args[:account_id] if args.key?(:account_id)
  @kind = args[:kind] if args.key?(:kind)
  @rules = args[:rules] if args.key?(:rules)
end