Class: Stripe::PaymentIntentCaptureParams::PaymentDetails::CarRentalDatum::Total::Tax::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(amount: nil, rate: nil, type: nil) ⇒ Tax

Returns a new instance of Tax.



645
646
647
648
649
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 645

def initialize(amount: nil, rate: nil, type: nil)
  @amount = amount
  @rate = rate
  @type = type
end

Instance Attribute Details

#amountObject

Tax amount.



639
640
641
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 639

def amount
  @amount
end

#rateObject

Tax rate applied.



641
642
643
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 641

def rate
  @rate
end

#typeObject

Type of tax applied.



643
644
645
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 643

def type
  @type
end