Class: Stripe::PaymentIntentUpdateParams::PaymentDetails::CarRentalDatum::Total::Tax

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

Defined Under Namespace

Classes: Tax

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(tax_exempt_indicator: nil, taxes: nil) ⇒ Tax

Returns a new instance of Tax.



700
701
702
703
# File 'lib/stripe/params/payment_intent_update_params.rb', line 700

def initialize(tax_exempt_indicator: nil, taxes: nil)
  @tax_exempt_indicator = tax_exempt_indicator
  @taxes = taxes
end

Instance Attribute Details

#tax_exempt_indicatorObject

Indicates if the transaction is tax exempt.



696
697
698
# File 'lib/stripe/params/payment_intent_update_params.rb', line 696

def tax_exempt_indicator
  @tax_exempt_indicator
end

#taxesObject

Array of tax details.



698
699
700
# File 'lib/stripe/params/payment_intent_update_params.rb', line 698

def taxes
  @taxes
end