Class: Stripe::PaymentIntentCreateParams::PaymentDetails::CarRentalDatum::Total::Tax

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

Defined Under Namespace

Classes: Tax

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(tax_exempt_indicator: nil, taxes: nil) ⇒ Tax

Returns a new instance of Tax.



738
739
740
741
# File 'lib/stripe/params/payment_intent_create_params.rb', line 738

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.



734
735
736
# File 'lib/stripe/params/payment_intent_create_params.rb', line 734

def tax_exempt_indicator
  @tax_exempt_indicator
end

#taxesObject

Array of tax details.



736
737
738
# File 'lib/stripe/params/payment_intent_create_params.rb', line 736

def taxes
  @taxes
end