Class: Stripe::Tax::Settings::UpdateParams::Defaults

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/tax/settings.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.



111
112
113
114
# File 'lib/stripe/resources/tax/settings.rb', line 111

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.



107
108
109
# File 'lib/stripe/resources/tax/settings.rb', line 107

def tax_behavior
  @tax_behavior
end

#tax_codeObject



109
110
111
# File 'lib/stripe/resources/tax/settings.rb', line 109

def tax_code
  @tax_code
end