Class: Stripe::ChargeUpdateParams::PaymentDetails::FlightDatum

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



1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
# File 'lib/stripe/params/charge_update_params.rb', line 1166

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.



1146
1147
1148
# File 'lib/stripe/params/charge_update_params.rb', line 1146

def affiliate
  @affiliate
end

#booking_numberObject

Reservation reference.



1148
1149
1150
# File 'lib/stripe/params/charge_update_params.rb', line 1148

def booking_number
  @booking_number
end

#computerized_reservation_systemObject

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



1150
1151
1152
# File 'lib/stripe/params/charge_update_params.rb', line 1150

def computerized_reservation_system
  @computerized_reservation_system
end

#endorsements_and_restrictionsObject

Ticket restrictions.



1152
1153
1154
# File 'lib/stripe/params/charge_update_params.rb', line 1152

def endorsements_and_restrictions
  @endorsements_and_restrictions
end

#insurancesObject

List of insurances.



1154
1155
1156
# File 'lib/stripe/params/charge_update_params.rb', line 1154

def insurances
  @insurances
end

#passengersObject

List of passengers.



1156
1157
1158
# File 'lib/stripe/params/charge_update_params.rb', line 1156

def passengers
  @passengers
end

#segmentsObject

List of flight segments.



1158
1159
1160
# File 'lib/stripe/params/charge_update_params.rb', line 1158

def segments
  @segments
end

#ticket_electronically_issued_indicatorObject

Electronic ticket indicator.



1160
1161
1162
# File 'lib/stripe/params/charge_update_params.rb', line 1160

def ticket_electronically_issued_indicator
  @ticket_electronically_issued_indicator
end

#totalObject

Total cost breakdown.



1162
1163
1164
# File 'lib/stripe/params/charge_update_params.rb', line 1162

def total
  @total
end

#transaction_typeObject

Type of flight transaction.



1164
1165
1166
# File 'lib/stripe/params/charge_update_params.rb', line 1164

def transaction_type
  @transaction_type
end