Class: Stripe::PaymentIntentCaptureParams::PaymentDetails::FlightDatum

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

Defined Under Namespace

Classes: Affiliate, Insurance, Passenger, Segment, Total

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(affiliate: nil, booking_number: nil, computerized_reservation_system: nil, endorsements_and_restrictions: nil, insurances: nil, passengers: nil, segments: nil, ticket_electronically_issued_indicator: nil, total: nil, transaction_type: nil) ⇒ FlightDatum

Returns a new instance of FlightDatum.



1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1400

def initialize(
  affiliate: nil,
  booking_number: nil,
  computerized_reservation_system: nil,
  endorsements_and_restrictions: nil,
  insurances: nil,
  passengers: nil,
  segments: nil,
  ticket_electronically_issued_indicator: nil,
  total: nil,
  transaction_type: nil
)
  @affiliate = affiliate
  @booking_number = booking_number
  @computerized_reservation_system = computerized_reservation_system
  @endorsements_and_restrictions = endorsements_and_restrictions
  @insurances = insurances
  @passengers = passengers
  @segments = segments
  @ticket_electronically_issued_indicator = ticket_electronically_issued_indicator
  @total = total
  @transaction_type = transaction_type
end

Instance Attribute Details

#affiliateObject

Affiliate details if applicable.



1380
1381
1382
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1380

def affiliate
  @affiliate
end

#booking_numberObject

Reservation reference.



1382
1383
1384
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1382

def booking_number
  @booking_number
end

#computerized_reservation_systemObject

Computerized reservation system used to make the reservation and purchase the ticket.



1384
1385
1386
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1384

def computerized_reservation_system
  @computerized_reservation_system
end

#endorsements_and_restrictionsObject

Ticket restrictions.



1386
1387
1388
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1386

def endorsements_and_restrictions
  @endorsements_and_restrictions
end

#insurancesObject

List of insurances.



1388
1389
1390
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1388

def insurances
  @insurances
end

#passengersObject

List of passengers.



1390
1391
1392
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1390

def passengers
  @passengers
end

#segmentsObject

List of flight segments.



1392
1393
1394
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1392

def segments
  @segments
end

#ticket_electronically_issued_indicatorObject

Electronic ticket indicator.



1394
1395
1396
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1394

def ticket_electronically_issued_indicator
  @ticket_electronically_issued_indicator
end

#totalObject

Total cost breakdown.



1396
1397
1398
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1396

def total
  @total
end

#transaction_typeObject

Type of flight transaction.



1398
1399
1400
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1398

def transaction_type
  @transaction_type
end