Class: Stripe::TestHelpers::Issuing::AuthorizationFinalizeAmountParams::Fleet::ReportedBreakdown::Tax

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(local_amount_decimal: nil, national_amount_decimal: nil) ⇒ Tax

Returns a new instance of Tax.



61
62
63
64
# File 'lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb', line 61

def initialize(local_amount_decimal: nil, national_amount_decimal: nil)
  @local_amount_decimal = local_amount_decimal
  @national_amount_decimal = national_amount_decimal
end

Instance Attribute Details

#local_amount_decimalObject

Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax.



57
58
59
# File 'lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb', line 57

def local_amount_decimal
  @local_amount_decimal
end

#national_amount_decimalObject

Amount of national Sales Tax or VAT included in the transaction amount. Null if not reported by merchant or not subject to tax.



59
60
61
# File 'lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb', line 59

def national_amount_decimal
  @national_amount_decimal
end