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

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

Defined Under Namespace

Classes: Fuel, NonFuel, Tax

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(fuel: nil, non_fuel: nil, tax: nil) ⇒ ReportedBreakdown

Returns a new instance of ReportedBreakdown.



73
74
75
76
77
# File 'lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb', line 73

def initialize(fuel: nil, non_fuel: nil, tax: nil)
  @fuel = fuel
  @non_fuel = non_fuel
  @tax = tax
end

Instance Attribute Details

#fuelObject

Breakdown of fuel portion of the purchase.



67
68
69
# File 'lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb', line 67

def fuel
  @fuel
end

#non_fuelObject

Breakdown of non-fuel portion of the purchase.



69
70
71
# File 'lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb', line 69

def non_fuel
  @non_fuel
end

#taxObject

Information about tax included in this transaction.



71
72
73
# File 'lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb', line 71

def tax
  @tax
end