Class: Stripe::Issuing::Transaction::CreateUnlinkedRefundParams::PurchaseDetails::Fleet::ReportedBreakdown

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



829
830
831
832
833
# File 'lib/stripe/resources/issuing/transaction.rb', line 829

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.



823
824
825
# File 'lib/stripe/resources/issuing/transaction.rb', line 823

def fuel
  @fuel
end

#non_fuelObject

Breakdown of non-fuel portion of the purchase.



825
826
827
# File 'lib/stripe/resources/issuing/transaction.rb', line 825

def non_fuel
  @non_fuel
end

#taxObject

Information about tax included in this transaction.



827
828
829
# File 'lib/stripe/resources/issuing/transaction.rb', line 827

def tax
  @tax
end