class Google::Apis::ContentV2::AccountTax
The tax settings of a merchant account.
Attributes
account_id[RW]
The ID of the account to which these account tax settings belong. Corresponds to the JSON property `accountId` @return [String]
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 generated/google/apis/content_v2/classes.rb, line 766 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/content_v2/classes.rb, line 771 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