Class: Stripe::PaymentIntentService::DecrementAuthorizationParams::Hooks::Inputs::Tax

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/payment_intent_service.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.



11261
11262
11263
# File 'lib/stripe/services/payment_intent_service.rb', line 11261

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

Instance Attribute Details

#calculationObject

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



11259
11260
11261
# File 'lib/stripe/services/payment_intent_service.rb', line 11259

def calculation
  @calculation
end