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

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



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

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.



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

def fuel
  @fuel
end

#non_fuelObject

Breakdown of non-fuel portion of the purchase.



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

def non_fuel
  @non_fuel
end

#taxObject

Information about tax included in this transaction.



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

def tax
  @tax
end