Class: Stripe::PaymentIntentCreateParams::PaymentDetails::LodgingDatum::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, new, #to_h

Constructor Details

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

Returns a new instance of Tax.



1736
1737
1738
1739
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1736

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

Instance Attribute Details

#tax_exempt_indicatorObject

Indicates whether the transaction is tax exempt.



1732
1733
1734
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1732

def tax_exempt_indicator
  @tax_exempt_indicator
end

#taxesObject

Tax details.



1734
1735
1736
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1734

def taxes
  @taxes
end