Class: Stripe::PaymentIntentCaptureParams::Hooks::Inputs::Tax

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_intent_capture_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(calculation: nil) ⇒ Tax

Returns a new instance of Tax.



165
166
167
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 165

def initialize(calculation: nil)
  @calculation = calculation
end

Instance Attribute Details

#calculationObject

The [TaxCalculation](stripe.com/docs/api/tax/calculations) id



163
164
165
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 163

def calculation
  @calculation
end