Class: Stripe::PaymentIntentDecrementAuthorizationParams::Hooks::Inputs::Tax
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentDecrementAuthorizationParams::Hooks::Inputs::Tax
- Defined in:
- lib/stripe/params/payment_intent_decrement_authorization_params.rb
Instance Attribute Summary collapse
-
#calculation ⇒ Object
The [TaxCalculation](docs.stripe.com/api/tax/calculations) id.
Instance Method Summary collapse
-
#initialize(calculation: nil) ⇒ Tax
constructor
A new instance of Tax.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(calculation: nil) ⇒ Tax
Returns a new instance of Tax.
230 231 232 |
# File 'lib/stripe/params/payment_intent_decrement_authorization_params.rb', line 230 def initialize(calculation: nil) @calculation = calculation end |
Instance Attribute Details
#calculation ⇒ Object
The [TaxCalculation](docs.stripe.com/api/tax/calculations) id
228 229 230 |
# File 'lib/stripe/params/payment_intent_decrement_authorization_params.rb', line 228 def calculation @calculation end |