Class: Stripe::Issuing::AuthorizationCreateParams::Fleet::ReportedBreakdown

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



84
85
86
87
88
# File 'lib/stripe/params/issuing/authorization_create_params.rb', line 84

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.



78
79
80
# File 'lib/stripe/params/issuing/authorization_create_params.rb', line 78

def fuel
  @fuel
end

#non_fuelObject

Breakdown of non-fuel portion of the purchase.



80
81
82
# File 'lib/stripe/params/issuing/authorization_create_params.rb', line 80

def non_fuel
  @non_fuel
end

#taxObject

Information about tax included in this transaction.



82
83
84
# File 'lib/stripe/params/issuing/authorization_create_params.rb', line 82

def tax
  @tax
end