Class: Stripe::Issuing::Authorization::CreateParams::Fleet::ReportedBreakdown

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



400
401
402
403
404
# File 'lib/stripe/resources/issuing/authorization.rb', line 400

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.



394
395
396
# File 'lib/stripe/resources/issuing/authorization.rb', line 394

def fuel
  @fuel
end

#non_fuelObject

Breakdown of non-fuel portion of the purchase.



396
397
398
# File 'lib/stripe/resources/issuing/authorization.rb', line 396

def non_fuel
  @non_fuel
end

#taxObject

Information about tax included in this transaction.



398
399
400
# File 'lib/stripe/resources/issuing/authorization.rb', line 398

def tax
  @tax
end