Class: Stripe::PaymentIntentService::CaptureParams::Hooks::Inputs::Tax
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentService::CaptureParams::Hooks::Inputs::Tax
- Defined in:
- lib/stripe/services/payment_intent_service.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.
7271 7272 7273 |
# File 'lib/stripe/services/payment_intent_service.rb', line 7271 def initialize(calculation: nil) @calculation = calculation end |
Instance Attribute Details
#calculation ⇒ Object
The [TaxCalculation](stripe.com/docs/api/tax/calculations) id
7269 7270 7271 |
# File 'lib/stripe/services/payment_intent_service.rb', line 7269 def calculation @calculation end |