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.



501
502
503
504
505
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 501

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.



493
494
495
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 493

def fuel
  @fuel
end

#non_fuelObject

Breakdown of non-fuel portion of the purchase.



496
497
498
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 496

def non_fuel
  @non_fuel
end

#taxObject

Information about tax included in this transaction.



499
500
501
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 499

def tax
  @tax
end