Class: Stripe::ChargeUpdateParams::PaymentDetails::LodgingDatum::Total::Tax

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/charge_update_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.



1550
1551
1552
1553
# File 'lib/stripe/params/charge_update_params.rb', line 1550

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.



1546
1547
1548
# File 'lib/stripe/params/charge_update_params.rb', line 1546

def tax_exempt_indicator
  @tax_exempt_indicator
end

#taxesObject

Tax details.



1548
1549
1550
# File 'lib/stripe/params/charge_update_params.rb', line 1548

def taxes
  @taxes
end