Class: Stripe::PaymentIntentCreateParams::Hooks::Inputs::Tax
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentCreateParams::Hooks::Inputs::Tax
- Defined in:
- lib/stripe/params/payment_intent_create_params.rb
Instance Attribute Summary collapse
-
#calculation ⇒ Object
The [TaxCalculation](stripe.com/docs/api/tax/calculations) id.
Instance Method Summary collapse
-
#initialize(calculation: nil) ⇒ Tax
constructor
A new instance of Tax.
Methods inherited from RequestParams
Constructor Details
#initialize(calculation: nil) ⇒ Tax
Returns a new instance of Tax.
197 198 199 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 197 def initialize(calculation: nil) @calculation = calculation end |
Instance Attribute Details
#calculation ⇒ Object
The [TaxCalculation](stripe.com/docs/api/tax/calculations) id
195 196 197 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 195 def calculation @calculation end |