Class: Stripe::V2::Tax::AutomaticRuleService::UpdateParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/v2/tax/automatic_rule_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(tax_code: nil) ⇒ UpdateParams

Returns a new instance of UpdateParams.



35
36
37
# File 'lib/stripe/services/v2/tax/automatic_rule_service.rb', line 35

def initialize(tax_code: nil)
  @tax_code = tax_code
end

Instance Attribute Details

#tax_codeObject

The TaxCode object to be used for automatic tax calculations.



33
34
35
# File 'lib/stripe/services/v2/tax/automatic_rule_service.rb', line 33

def tax_code
  @tax_code
end