Class: Stripe::TestHelpers::Issuing::TransactionService::CreateUnlinkedRefundParams::PurchaseDetails::Fleet::ReportedBreakdown

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



440
441
442
443
444
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 440

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.



434
435
436
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 434

def fuel
  @fuel
end

#non_fuelObject

Breakdown of non-fuel portion of the purchase.



436
437
438
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 436

def non_fuel
  @non_fuel
end

#taxObject

Information about tax included in this transaction.



438
439
440
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 438

def tax
  @tax
end