Class: Stripe::PaymentIntentUpdateParams::Hooks::Inputs::Tax

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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.



221
222
223
# File 'lib/stripe/params/payment_intent_update_params.rb', line 221

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

Instance Attribute Details

#calculationObject

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



219
220
221
# File 'lib/stripe/params/payment_intent_update_params.rb', line 219

def calculation
  @calculation
end