Class: Stripe::PaymentIntentUpdateParams::PaymentDetails::FlightDatum

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



1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1460

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.



1440
1441
1442
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1440

def affiliate
  @affiliate
end

#booking_numberObject

Reservation reference.



1442
1443
1444
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1442

def booking_number
  @booking_number
end

#computerized_reservation_systemObject

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



1444
1445
1446
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1444

def computerized_reservation_system
  @computerized_reservation_system
end

#endorsements_and_restrictionsObject

Ticket restrictions.



1446
1447
1448
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1446

def endorsements_and_restrictions
  @endorsements_and_restrictions
end

#insurancesObject

List of insurances.



1448
1449
1450
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1448

def insurances
  @insurances
end

#passengersObject

List of passengers.



1450
1451
1452
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1450

def passengers
  @passengers
end

#segmentsObject

List of flight segments.



1452
1453
1454
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1452

def segments
  @segments
end

#ticket_electronically_issued_indicatorObject

Electronic ticket indicator.



1454
1455
1456
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1454

def ticket_electronically_issued_indicator
  @ticket_electronically_issued_indicator
end

#totalObject

Total cost breakdown.



1456
1457
1458
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1456

def total
  @total
end

#transaction_typeObject

Type of flight transaction.



1458
1459
1460
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1458

def transaction_type
  @transaction_type
end