Class: Google::Apis::ContentV2::AccountTax
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ContentV2::AccountTax
 
 
- Defined in:
 - generated/google/apis/content_v2/classes.rb,
generated/google/apis/content_v2/representations.rb,
generated/google/apis/content_v2/representations.rb 
Overview
The tax settings of a merchant account.
Instance Attribute Summary collapse
- 
  
    
      #account_id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The ID of the account to which these account tax settings belong.
 - 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Identifies what kind of resource this is.
 - 
  
    
      #rules  ⇒ Array<Google::Apis::ContentV2::AccountTaxTaxRule> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Tax rules.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AccountTax 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of AccountTax.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ AccountTax
Returns a new instance of AccountTax
      702 703 704  | 
    
      # File 'generated/google/apis/content_v2/classes.rb', line 702 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#account_id ⇒ Fixnum
The ID of the account to which these account tax settings belong.
Corresponds to the JSON property accountId
      688 689 690  | 
    
      # File 'generated/google/apis/content_v2/classes.rb', line 688 def account_id @account_id end  | 
  
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "content#
accountTax".
Corresponds to the JSON property kind
      694 695 696  | 
    
      # File 'generated/google/apis/content_v2/classes.rb', line 694 def kind @kind end  | 
  
#rules ⇒ Array<Google::Apis::ContentV2::AccountTaxTaxRule>
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
      700 701 702  | 
    
      # File 'generated/google/apis/content_v2/classes.rb', line 700 def rules @rules end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      707 708 709 710 711  | 
    
      # File 'generated/google/apis/content_v2/classes.rb', line 707 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  |