Class: Stripe::PaymentIntentService::IncrementAuthorizationParams::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.



12417
12418
12419
# File 'lib/stripe/services/payment_intent_service.rb', line 12417

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

Instance Attribute Details

#calculationObject

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



12415
12416
12417
# File 'lib/stripe/services/payment_intent_service.rb', line 12415

def calculation
  @calculation
end