Class: Stripe::V2::Tax::ManualRuleUpdateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Tax::ManualRuleUpdateParams
- Defined in:
- lib/stripe/params/v2/tax/manual_rule_update_params.rb
Defined Under Namespace
Classes: Location, Product, ScheduledTaxRate
Instance Attribute Summary collapse
-
#location ⇒ Object
Location where the rule applies.
-
#products ⇒ Object
Products associated with the rule.
-
#scheduled_tax_rates ⇒ Object
Tax rates to be applied.
Instance Method Summary collapse
-
#initialize(location: nil, products: nil, scheduled_tax_rates: nil) ⇒ ManualRuleUpdateParams
constructor
A new instance of ManualRuleUpdateParams.
Methods inherited from RequestParams
Constructor Details
#initialize(location: nil, products: nil, scheduled_tax_rates: nil) ⇒ ManualRuleUpdateParams
Returns a new instance of ManualRuleUpdateParams.
86 87 88 89 90 |
# File 'lib/stripe/params/v2/tax/manual_rule_update_params.rb', line 86 def initialize(location: nil, products: nil, scheduled_tax_rates: nil) @location = location @products = products @scheduled_tax_rates = scheduled_tax_rates end |
Instance Attribute Details
#location ⇒ Object
Location where the rule applies.
80 81 82 |
# File 'lib/stripe/params/v2/tax/manual_rule_update_params.rb', line 80 def location @location end |
#products ⇒ Object
Products associated with the rule.
82 83 84 |
# File 'lib/stripe/params/v2/tax/manual_rule_update_params.rb', line 82 def products @products end |
#scheduled_tax_rates ⇒ Object
Tax rates to be applied.
84 85 86 |
# File 'lib/stripe/params/v2/tax/manual_rule_update_params.rb', line 84 def scheduled_tax_rates @scheduled_tax_rates end |