Class: Stripe::Tax::SettingsUpdateParams::Defaults

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/tax/settings_update_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(tax_behavior: nil, tax_code: nil) ⇒ Defaults

Returns a new instance of Defaults.



13
14
15
16
# File 'lib/stripe/params/tax/settings_update_params.rb', line 13

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

Instance Attribute Details

#tax_behaviorObject

Specifies the default [tax behavior](stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#tax-behavior) to be used when the item’s price has unspecified tax behavior. One of inclusive, exclusive, or inferred_by_currency. Once specified, it cannot be changed back to null.



9
10
11
# File 'lib/stripe/params/tax/settings_update_params.rb', line 9

def tax_behavior
  @tax_behavior
end

#tax_codeObject



11
12
13
# File 'lib/stripe/params/tax/settings_update_params.rb', line 11

def tax_code
  @tax_code
end