Class: Stripe::Issuing::AuthorizationCaptureParams::PurchaseDetails

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/issuing/authorization_capture_params.rb

Defined Under Namespace

Classes: Fleet, Flight, Fuel, Lodging, Receipt

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(fleet: nil, flight: nil, fuel: nil, lodging: nil, receipt: nil, reference: nil) ⇒ PurchaseDetails

Returns a new instance of PurchaseDetails.



227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
# File 'lib/stripe/params/issuing/authorization_capture_params.rb', line 227

def initialize(
  fleet: nil,
  flight: nil,
  fuel: nil,
  lodging: nil,
  receipt: nil,
  reference: nil
)
  @fleet = fleet
  @flight = flight
  @fuel = fuel
  @lodging = lodging
  @receipt = receipt
  @reference = reference
end

Instance Attribute Details

#fleetObject

Fleet-specific information for transactions using Fleet cards.



215
216
217
# File 'lib/stripe/params/issuing/authorization_capture_params.rb', line 215

def fleet
  @fleet
end

#flightObject

Information about the flight that was purchased with this transaction.



217
218
219
# File 'lib/stripe/params/issuing/authorization_capture_params.rb', line 217

def flight
  @flight
end

#fuelObject

Information about fuel that was purchased with this transaction.



219
220
221
# File 'lib/stripe/params/issuing/authorization_capture_params.rb', line 219

def fuel
  @fuel
end

#lodgingObject

Information about lodging that was purchased with this transaction.



221
222
223
# File 'lib/stripe/params/issuing/authorization_capture_params.rb', line 221

def lodging
  @lodging
end

#receiptObject

The line items in the purchase.



223
224
225
# File 'lib/stripe/params/issuing/authorization_capture_params.rb', line 223

def receipt
  @receipt
end

#referenceObject

A merchant-specific order number.



225
226
227
# File 'lib/stripe/params/issuing/authorization_capture_params.rb', line 225

def reference
  @reference
end