Class: Stripe::Tax::Settings::UpdateParams::Defaults
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Tax::Settings::UpdateParams::Defaults
- Defined in:
- lib/stripe/resources/tax/settings.rb
Instance Attribute Summary collapse
-
#tax_behavior ⇒ Object
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.
-
#tax_code ⇒ Object
A [tax code](stripe.com/docs/tax/tax-categories) ID.
Instance Method Summary collapse
-
#initialize(tax_behavior: nil, tax_code: nil) ⇒ Defaults
constructor
A new instance of Defaults.
Methods inherited from RequestParams
Constructor Details
#initialize(tax_behavior: nil, tax_code: nil) ⇒ Defaults
Returns a new instance of Defaults.
63 64 65 66 |
# File 'lib/stripe/resources/tax/settings.rb', line 63 def initialize(tax_behavior: nil, tax_code: nil) @tax_behavior = tax_behavior @tax_code = tax_code end |
Instance Attribute Details
#tax_behavior ⇒ Object
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.
59 60 61 |
# File 'lib/stripe/resources/tax/settings.rb', line 59 def tax_behavior @tax_behavior end |
#tax_code ⇒ Object
A [tax code](stripe.com/docs/tax/tax-categories) ID.
61 62 63 |
# File 'lib/stripe/resources/tax/settings.rb', line 61 def tax_code @tax_code end |