• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Adyen / adyen-java-api-library / #3286

24 May 2024 12:08PM UTC coverage: 12.05%. First build
#3286

push

web-flow
Merge 8e2ea04f7 into 67f331171

10 of 150 new or added lines in 13 files covered. (6.67%)

12475 of 103524 relevant lines covered (12.05%)

0.12 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/main/java/com/adyen/model/checkout/AdditionalDataAirline.java
1
/*
2
 * Adyen Checkout API
3
 *
4
 * The version of the OpenAPI document: 71
5
 * 
6
 *
7
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
 * https://openapi-generator.tech
9
 * Do not edit the class manually.
10
 */
11

12

13
package com.adyen.model.checkout;
14

15
import java.util.Objects;
16
import java.util.Arrays;
17
import java.util.Map;
18
import java.util.HashMap;
19
import com.fasterxml.jackson.annotation.JsonInclude;
20
import com.fasterxml.jackson.annotation.JsonProperty;
21
import com.fasterxml.jackson.annotation.JsonCreator;
22
import com.fasterxml.jackson.annotation.JsonTypeName;
23
import com.fasterxml.jackson.annotation.JsonValue;
24
import io.swagger.annotations.ApiModel;
25
import io.swagger.annotations.ApiModelProperty;
26
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
27
import com.fasterxml.jackson.core.JsonProcessingException;
28

29

30
/**
31
 * AdditionalDataAirline
32
 */
33
@JsonPropertyOrder({
34
  AdditionalDataAirline.JSON_PROPERTY_AIRLINE_AGENCY_INVOICE_NUMBER,
35
  AdditionalDataAirline.JSON_PROPERTY_AIRLINE_AGENCY_PLAN_NAME,
36
  AdditionalDataAirline.JSON_PROPERTY_AIRLINE_AIRLINE_CODE,
37
  AdditionalDataAirline.JSON_PROPERTY_AIRLINE_AIRLINE_DESIGNATOR_CODE,
38
  AdditionalDataAirline.JSON_PROPERTY_AIRLINE_BOARDING_FEE,
39
  AdditionalDataAirline.JSON_PROPERTY_AIRLINE_COMPUTERIZED_RESERVATION_SYSTEM,
40
  AdditionalDataAirline.JSON_PROPERTY_AIRLINE_CUSTOMER_REFERENCE_NUMBER,
41
  AdditionalDataAirline.JSON_PROPERTY_AIRLINE_DOCUMENT_TYPE,
42
  AdditionalDataAirline.JSON_PROPERTY_AIRLINE_FLIGHT_DATE,
43
  AdditionalDataAirline.JSON_PROPERTY_AIRLINE_ISSUE_DATE,
44
  AdditionalDataAirline.JSON_PROPERTY_AIRLINE_LEG_CARRIER_CODE,
45
  AdditionalDataAirline.JSON_PROPERTY_AIRLINE_LEG_CLASS_OF_TRAVEL,
46
  AdditionalDataAirline.JSON_PROPERTY_AIRLINE_LEG_DATE_OF_TRAVEL,
47
  AdditionalDataAirline.JSON_PROPERTY_AIRLINE_LEG_DEPART_AIRPORT,
48
  AdditionalDataAirline.JSON_PROPERTY_AIRLINE_LEG_DEPART_TAX,
49
  AdditionalDataAirline.JSON_PROPERTY_AIRLINE_LEG_DESTINATION_CODE,
50
  AdditionalDataAirline.JSON_PROPERTY_AIRLINE_LEG_FARE_BASE_CODE,
51
  AdditionalDataAirline.JSON_PROPERTY_AIRLINE_LEG_FLIGHT_NUMBER,
52
  AdditionalDataAirline.JSON_PROPERTY_AIRLINE_LEG_STOP_OVER_CODE,
53
  AdditionalDataAirline.JSON_PROPERTY_AIRLINE_PASSENGER_DATE_OF_BIRTH,
54
  AdditionalDataAirline.JSON_PROPERTY_AIRLINE_PASSENGER_FIRST_NAME,
55
  AdditionalDataAirline.JSON_PROPERTY_AIRLINE_PASSENGER_LAST_NAME,
56
  AdditionalDataAirline.JSON_PROPERTY_AIRLINE_PASSENGER_TELEPHONE_NUMBER,
57
  AdditionalDataAirline.JSON_PROPERTY_AIRLINE_PASSENGER_TRAVELLER_TYPE,
58
  AdditionalDataAirline.JSON_PROPERTY_AIRLINE_PASSENGER_NAME,
59
  AdditionalDataAirline.JSON_PROPERTY_AIRLINE_TICKET_ISSUE_ADDRESS,
60
  AdditionalDataAirline.JSON_PROPERTY_AIRLINE_TICKET_NUMBER,
61
  AdditionalDataAirline.JSON_PROPERTY_AIRLINE_TRAVEL_AGENCY_CODE,
62
  AdditionalDataAirline.JSON_PROPERTY_AIRLINE_TRAVEL_AGENCY_NAME
63
})
64

65
public class AdditionalDataAirline {
66
  public static final String JSON_PROPERTY_AIRLINE_AGENCY_INVOICE_NUMBER = "airline.agency_invoice_number";
67
  private String airlineAgencyInvoiceNumber;
68

69
  public static final String JSON_PROPERTY_AIRLINE_AGENCY_PLAN_NAME = "airline.agency_plan_name";
70
  private String airlineAgencyPlanName;
71

72
  public static final String JSON_PROPERTY_AIRLINE_AIRLINE_CODE = "airline.airline_code";
73
  private String airlineAirlineCode;
74

75
  public static final String JSON_PROPERTY_AIRLINE_AIRLINE_DESIGNATOR_CODE = "airline.airline_designator_code";
76
  private String airlineAirlineDesignatorCode;
77

78
  public static final String JSON_PROPERTY_AIRLINE_BOARDING_FEE = "airline.boarding_fee";
79
  private String airlineBoardingFee;
80

81
  public static final String JSON_PROPERTY_AIRLINE_COMPUTERIZED_RESERVATION_SYSTEM = "airline.computerized_reservation_system";
82
  private String airlineComputerizedReservationSystem;
83

84
  public static final String JSON_PROPERTY_AIRLINE_CUSTOMER_REFERENCE_NUMBER = "airline.customer_reference_number";
85
  private String airlineCustomerReferenceNumber;
86

87
  public static final String JSON_PROPERTY_AIRLINE_DOCUMENT_TYPE = "airline.document_type";
88
  private String airlineDocumentType;
89

90
  public static final String JSON_PROPERTY_AIRLINE_FLIGHT_DATE = "airline.flight_date";
91
  private String airlineFlightDate;
92

93
  public static final String JSON_PROPERTY_AIRLINE_ISSUE_DATE = "airline.issue_date";
94
  private String airlineIssueDate;
95

96
  public static final String JSON_PROPERTY_AIRLINE_LEG_CARRIER_CODE = "airline.leg.carrier_code";
97
  private String airlineLegCarrierCode;
98

99
  public static final String JSON_PROPERTY_AIRLINE_LEG_CLASS_OF_TRAVEL = "airline.leg.class_of_travel";
100
  private String airlineLegClassOfTravel;
101

102
  public static final String JSON_PROPERTY_AIRLINE_LEG_DATE_OF_TRAVEL = "airline.leg.date_of_travel";
103
  private String airlineLegDateOfTravel;
104

105
  public static final String JSON_PROPERTY_AIRLINE_LEG_DEPART_AIRPORT = "airline.leg.depart_airport";
106
  private String airlineLegDepartAirport;
107

108
  public static final String JSON_PROPERTY_AIRLINE_LEG_DEPART_TAX = "airline.leg.depart_tax";
109
  private String airlineLegDepartTax;
110

111
  public static final String JSON_PROPERTY_AIRLINE_LEG_DESTINATION_CODE = "airline.leg.destination_code";
112
  private String airlineLegDestinationCode;
113

114
  public static final String JSON_PROPERTY_AIRLINE_LEG_FARE_BASE_CODE = "airline.leg.fare_base_code";
115
  private String airlineLegFareBaseCode;
116

117
  public static final String JSON_PROPERTY_AIRLINE_LEG_FLIGHT_NUMBER = "airline.leg.flight_number";
118
  private String airlineLegFlightNumber;
119

120
  public static final String JSON_PROPERTY_AIRLINE_LEG_STOP_OVER_CODE = "airline.leg.stop_over_code";
121
  private String airlineLegStopOverCode;
122

123
  public static final String JSON_PROPERTY_AIRLINE_PASSENGER_DATE_OF_BIRTH = "airline.passenger.date_of_birth";
124
  private String airlinePassengerDateOfBirth;
125

126
  public static final String JSON_PROPERTY_AIRLINE_PASSENGER_FIRST_NAME = "airline.passenger.first_name";
127
  private String airlinePassengerFirstName;
128

129
  public static final String JSON_PROPERTY_AIRLINE_PASSENGER_LAST_NAME = "airline.passenger.last_name";
130
  private String airlinePassengerLastName;
131

132
  public static final String JSON_PROPERTY_AIRLINE_PASSENGER_TELEPHONE_NUMBER = "airline.passenger.telephone_number";
133
  private String airlinePassengerTelephoneNumber;
134

135
  public static final String JSON_PROPERTY_AIRLINE_PASSENGER_TRAVELLER_TYPE = "airline.passenger.traveller_type";
136
  private String airlinePassengerTravellerType;
137

138
  public static final String JSON_PROPERTY_AIRLINE_PASSENGER_NAME = "airline.passenger_name";
139
  private String airlinePassengerName;
140

141
  public static final String JSON_PROPERTY_AIRLINE_TICKET_ISSUE_ADDRESS = "airline.ticket_issue_address";
142
  private String airlineTicketIssueAddress;
143

144
  public static final String JSON_PROPERTY_AIRLINE_TICKET_NUMBER = "airline.ticket_number";
145
  private String airlineTicketNumber;
146

147
  public static final String JSON_PROPERTY_AIRLINE_TRAVEL_AGENCY_CODE = "airline.travel_agency_code";
148
  private String airlineTravelAgencyCode;
149

150
  public static final String JSON_PROPERTY_AIRLINE_TRAVEL_AGENCY_NAME = "airline.travel_agency_name";
151
  private String airlineTravelAgencyName;
152

153
  public AdditionalDataAirline() { 
×
154
  }
×
155

156
  public AdditionalDataAirline airlineAgencyInvoiceNumber(String airlineAgencyInvoiceNumber) {
157
    this.airlineAgencyInvoiceNumber = airlineAgencyInvoiceNumber;
×
158
    return this;
×
159
  }
160

161
   /**
162
   * The reference number for the invoice, issued by the agency. * Encoding: ASCII * minLength: 1 character * maxLength: 6 characters
163
   * @return airlineAgencyInvoiceNumber
164
  **/
165
  @ApiModelProperty(value = "The reference number for the invoice, issued by the agency. * Encoding: ASCII * minLength: 1 character * maxLength: 6 characters")
166
  @JsonProperty(JSON_PROPERTY_AIRLINE_AGENCY_INVOICE_NUMBER)
167
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
168

169
  public String getAirlineAgencyInvoiceNumber() {
170
    return airlineAgencyInvoiceNumber;
×
171
  }
172

173

174
 /**
175
  * The reference number for the invoice, issued by the agency. * Encoding: ASCII * minLength: 1 character * maxLength: 6 characters
176
  *
177
  * @param airlineAgencyInvoiceNumber
178
  */ 
179
  @JsonProperty(JSON_PROPERTY_AIRLINE_AGENCY_INVOICE_NUMBER)
180
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
181
  public void setAirlineAgencyInvoiceNumber(String airlineAgencyInvoiceNumber) {
182
    this.airlineAgencyInvoiceNumber = airlineAgencyInvoiceNumber;
×
183
  }
×
184

185

186
  public AdditionalDataAirline airlineAgencyPlanName(String airlineAgencyPlanName) {
187
    this.airlineAgencyPlanName = airlineAgencyPlanName;
×
188
    return this;
×
189
  }
190

191
   /**
192
   * The two-letter agency plan identifier. * Encoding: ASCII * minLength: 2 characters * maxLength: 2 characters
193
   * @return airlineAgencyPlanName
194
  **/
195
  @ApiModelProperty(value = "The two-letter agency plan identifier. * Encoding: ASCII * minLength: 2 characters * maxLength: 2 characters")
196
  @JsonProperty(JSON_PROPERTY_AIRLINE_AGENCY_PLAN_NAME)
197
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
198

199
  public String getAirlineAgencyPlanName() {
200
    return airlineAgencyPlanName;
×
201
  }
202

203

204
 /**
205
  * The two-letter agency plan identifier. * Encoding: ASCII * minLength: 2 characters * maxLength: 2 characters
206
  *
207
  * @param airlineAgencyPlanName
208
  */ 
209
  @JsonProperty(JSON_PROPERTY_AIRLINE_AGENCY_PLAN_NAME)
210
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
211
  public void setAirlineAgencyPlanName(String airlineAgencyPlanName) {
212
    this.airlineAgencyPlanName = airlineAgencyPlanName;
×
213
  }
×
214

215

216
  public AdditionalDataAirline airlineAirlineCode(String airlineAirlineCode) {
217
    this.airlineAirlineCode = airlineAirlineCode;
×
218
    return this;
×
219
  }
220

221
   /**
222
   * The [IATA](https://www.iata.org/services/pages/codes.aspx) 3-digit accounting code (PAX) that identifies the carrier. * Format: IATA 3-digit accounting code (PAX) * Example: KLM = 074 * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros.
223
   * @return airlineAirlineCode
224
  **/
225
  @ApiModelProperty(value = "The [IATA](https://www.iata.org/services/pages/codes.aspx) 3-digit accounting code (PAX) that identifies the carrier. * Format: IATA 3-digit accounting code (PAX) * Example: KLM = 074 * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros.")
226
  @JsonProperty(JSON_PROPERTY_AIRLINE_AIRLINE_CODE)
227
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
228

229
  public String getAirlineAirlineCode() {
230
    return airlineAirlineCode;
×
231
  }
232

233

234
 /**
235
  * The [IATA](https://www.iata.org/services/pages/codes.aspx) 3-digit accounting code (PAX) that identifies the carrier. * Format: IATA 3-digit accounting code (PAX) * Example: KLM = 074 * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros.
236
  *
237
  * @param airlineAirlineCode
238
  */ 
239
  @JsonProperty(JSON_PROPERTY_AIRLINE_AIRLINE_CODE)
240
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
241
  public void setAirlineAirlineCode(String airlineAirlineCode) {
242
    this.airlineAirlineCode = airlineAirlineCode;
×
243
  }
×
244

245

246
  public AdditionalDataAirline airlineAirlineDesignatorCode(String airlineAirlineDesignatorCode) {
247
    this.airlineAirlineDesignatorCode = airlineAirlineDesignatorCode;
×
248
    return this;
×
249
  }
250

251
   /**
252
   * The [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX) that identifies the carrier. * Encoding: ASCII * Example: KLM = KL * minLength: 2 characters * maxLength: 2 characters * Must not be all spaces *Must not be all zeros.
253
   * @return airlineAirlineDesignatorCode
254
  **/
255
  @ApiModelProperty(value = "The [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX) that identifies the carrier. * Encoding: ASCII * Example: KLM = KL * minLength: 2 characters * maxLength: 2 characters * Must not be all spaces *Must not be all zeros.")
256
  @JsonProperty(JSON_PROPERTY_AIRLINE_AIRLINE_DESIGNATOR_CODE)
257
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
258

259
  public String getAirlineAirlineDesignatorCode() {
260
    return airlineAirlineDesignatorCode;
×
261
  }
262

263

264
 /**
265
  * The [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX) that identifies the carrier. * Encoding: ASCII * Example: KLM = KL * minLength: 2 characters * maxLength: 2 characters * Must not be all spaces *Must not be all zeros.
266
  *
267
  * @param airlineAirlineDesignatorCode
268
  */ 
269
  @JsonProperty(JSON_PROPERTY_AIRLINE_AIRLINE_DESIGNATOR_CODE)
270
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
271
  public void setAirlineAirlineDesignatorCode(String airlineAirlineDesignatorCode) {
272
    this.airlineAirlineDesignatorCode = airlineAirlineDesignatorCode;
×
273
  }
×
274

275

276
  public AdditionalDataAirline airlineBoardingFee(String airlineBoardingFee) {
277
    this.airlineBoardingFee = airlineBoardingFee;
×
278
    return this;
×
279
  }
280

281
   /**
282
   * The amount charged for boarding the plane, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Encoding: Numeric * minLength: 1 character * maxLength: 18 characters
283
   * @return airlineBoardingFee
284
  **/
285
  @ApiModelProperty(value = "The amount charged for boarding the plane, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Encoding: Numeric * minLength: 1 character * maxLength: 18 characters")
286
  @JsonProperty(JSON_PROPERTY_AIRLINE_BOARDING_FEE)
287
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
288

289
  public String getAirlineBoardingFee() {
290
    return airlineBoardingFee;
×
291
  }
292

293

294
 /**
295
  * The amount charged for boarding the plane, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Encoding: Numeric * minLength: 1 character * maxLength: 18 characters
296
  *
297
  * @param airlineBoardingFee
298
  */ 
299
  @JsonProperty(JSON_PROPERTY_AIRLINE_BOARDING_FEE)
300
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
301
  public void setAirlineBoardingFee(String airlineBoardingFee) {
302
    this.airlineBoardingFee = airlineBoardingFee;
×
303
  }
×
304

305

306
  public AdditionalDataAirline airlineComputerizedReservationSystem(String airlineComputerizedReservationSystem) {
307
    this.airlineComputerizedReservationSystem = airlineComputerizedReservationSystem;
×
308
    return this;
×
309
  }
310

311
   /**
312
   * The [CRS](https://en.wikipedia.org/wiki/Computer_reservation_system) used to make the reservation and purchase the ticket. * Encoding: ASCII * minLength: 4 characters * maxLength: 4 characters
313
   * @return airlineComputerizedReservationSystem
314
  **/
315
  @ApiModelProperty(value = "The [CRS](https://en.wikipedia.org/wiki/Computer_reservation_system) used to make the reservation and purchase the ticket. * Encoding: ASCII * minLength: 4 characters * maxLength: 4 characters")
316
  @JsonProperty(JSON_PROPERTY_AIRLINE_COMPUTERIZED_RESERVATION_SYSTEM)
317
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
318

319
  public String getAirlineComputerizedReservationSystem() {
320
    return airlineComputerizedReservationSystem;
×
321
  }
322

323

324
 /**
325
  * The [CRS](https://en.wikipedia.org/wiki/Computer_reservation_system) used to make the reservation and purchase the ticket. * Encoding: ASCII * minLength: 4 characters * maxLength: 4 characters
326
  *
327
  * @param airlineComputerizedReservationSystem
328
  */ 
329
  @JsonProperty(JSON_PROPERTY_AIRLINE_COMPUTERIZED_RESERVATION_SYSTEM)
330
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
331
  public void setAirlineComputerizedReservationSystem(String airlineComputerizedReservationSystem) {
332
    this.airlineComputerizedReservationSystem = airlineComputerizedReservationSystem;
×
333
  }
×
334

335

336
  public AdditionalDataAirline airlineCustomerReferenceNumber(String airlineCustomerReferenceNumber) {
337
    this.airlineCustomerReferenceNumber = airlineCustomerReferenceNumber;
×
338
    return this;
×
339
  }
340

341
   /**
342
   * The alphanumeric customer reference number. * Encoding: ASCII * maxLength: 20 characters * If you send more than 20 characters, the customer reference number is truncated * Must not be all spaces
343
   * @return airlineCustomerReferenceNumber
344
  **/
345
  @ApiModelProperty(value = "The alphanumeric customer reference number. * Encoding: ASCII * maxLength: 20 characters * If you send more than 20 characters, the customer reference number is truncated * Must not be all spaces")
346
  @JsonProperty(JSON_PROPERTY_AIRLINE_CUSTOMER_REFERENCE_NUMBER)
347
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
348

349
  public String getAirlineCustomerReferenceNumber() {
350
    return airlineCustomerReferenceNumber;
×
351
  }
352

353

354
 /**
355
  * The alphanumeric customer reference number. * Encoding: ASCII * maxLength: 20 characters * If you send more than 20 characters, the customer reference number is truncated * Must not be all spaces
356
  *
357
  * @param airlineCustomerReferenceNumber
358
  */ 
359
  @JsonProperty(JSON_PROPERTY_AIRLINE_CUSTOMER_REFERENCE_NUMBER)
360
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
361
  public void setAirlineCustomerReferenceNumber(String airlineCustomerReferenceNumber) {
362
    this.airlineCustomerReferenceNumber = airlineCustomerReferenceNumber;
×
363
  }
×
364

365

366
  public AdditionalDataAirline airlineDocumentType(String airlineDocumentType) {
367
    this.airlineDocumentType = airlineDocumentType;
×
368
    return this;
×
369
  }
370

371
   /**
372
   * A code that identifies the type of item bought. The description of the code can appear on credit card statements. * Encoding: ASCII * Example: Passenger ticket = 01 * minLength: 2 characters * maxLength: 2 characters
373
   * @return airlineDocumentType
374
  **/
375
  @ApiModelProperty(value = "A code that identifies the type of item bought. The description of the code can appear on credit card statements. * Encoding: ASCII * Example: Passenger ticket = 01 * minLength: 2 characters * maxLength: 2 characters")
376
  @JsonProperty(JSON_PROPERTY_AIRLINE_DOCUMENT_TYPE)
377
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
378

379
  public String getAirlineDocumentType() {
380
    return airlineDocumentType;
×
381
  }
382

383

384
 /**
385
  * A code that identifies the type of item bought. The description of the code can appear on credit card statements. * Encoding: ASCII * Example: Passenger ticket = 01 * minLength: 2 characters * maxLength: 2 characters
386
  *
387
  * @param airlineDocumentType
388
  */ 
389
  @JsonProperty(JSON_PROPERTY_AIRLINE_DOCUMENT_TYPE)
390
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
391
  public void setAirlineDocumentType(String airlineDocumentType) {
392
    this.airlineDocumentType = airlineDocumentType;
×
393
  }
×
394

395

396
  public AdditionalDataAirline airlineFlightDate(String airlineFlightDate) {
397
    this.airlineFlightDate = airlineFlightDate;
×
398
    return this;
×
399
  }
400

401
   /**
402
   * The flight departure date. Local time `(HH:mm)` is optional. * Date format: `yyyy-MM-dd` * Date and time format: `yyyy-MM-dd HH:mm` * minLength: 10 characters * maxLength: 16 characters
403
   * @return airlineFlightDate
404
  **/
405
  @ApiModelProperty(value = "The flight departure date. Local time `(HH:mm)` is optional. * Date format: `yyyy-MM-dd` * Date and time format: `yyyy-MM-dd HH:mm` * minLength: 10 characters * maxLength: 16 characters")
406
  @JsonProperty(JSON_PROPERTY_AIRLINE_FLIGHT_DATE)
407
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
408

409
  public String getAirlineFlightDate() {
410
    return airlineFlightDate;
×
411
  }
412

413

414
 /**
415
  * The flight departure date. Local time `(HH:mm)` is optional. * Date format: `yyyy-MM-dd` * Date and time format: `yyyy-MM-dd HH:mm` * minLength: 10 characters * maxLength: 16 characters
416
  *
417
  * @param airlineFlightDate
418
  */ 
419
  @JsonProperty(JSON_PROPERTY_AIRLINE_FLIGHT_DATE)
420
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
421
  public void setAirlineFlightDate(String airlineFlightDate) {
422
    this.airlineFlightDate = airlineFlightDate;
×
423
  }
×
424

425

426
  public AdditionalDataAirline airlineIssueDate(String airlineIssueDate) {
NEW
427
    this.airlineIssueDate = airlineIssueDate;
×
NEW
428
    return this;
×
429
  }
430

431
   /**
432
   * The date that the ticket was issued to the passenger. * minLength: 6 characters * maxLength: 6 characters * Date format: YYMMDD
433
   * @return airlineIssueDate
434
  **/
435
  @ApiModelProperty(value = "The date that the ticket was issued to the passenger. * minLength: 6 characters * maxLength: 6 characters * Date format: YYMMDD")
436
  @JsonProperty(JSON_PROPERTY_AIRLINE_ISSUE_DATE)
437
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
438

439
  public String getAirlineIssueDate() {
NEW
440
    return airlineIssueDate;
×
441
  }
442

443

444
 /**
445
  * The date that the ticket was issued to the passenger. * minLength: 6 characters * maxLength: 6 characters * Date format: YYMMDD
446
  *
447
  * @param airlineIssueDate
448
  */ 
449
  @JsonProperty(JSON_PROPERTY_AIRLINE_ISSUE_DATE)
450
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
451
  public void setAirlineIssueDate(String airlineIssueDate) {
NEW
452
    this.airlineIssueDate = airlineIssueDate;
×
NEW
453
  }
×
454

455

456
  public AdditionalDataAirline airlineLegCarrierCode(String airlineLegCarrierCode) {
457
    this.airlineLegCarrierCode = airlineLegCarrierCode;
×
458
    return this;
×
459
  }
460

461
   /**
462
   * The [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX) that identifies the carrier. This field is required if the airline data includes leg details. * Example: KLM = KL * minLength: 2 characters * maxLength: 2 characters * Must not be all spaces *Must not be all zeros.
463
   * @return airlineLegCarrierCode
464
  **/
465
  @ApiModelProperty(value = "The [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX) that identifies the carrier. This field is required if the airline data includes leg details. * Example: KLM = KL * minLength: 2 characters * maxLength: 2 characters * Must not be all spaces *Must not be all zeros.")
466
  @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_CARRIER_CODE)
467
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
468

469
  public String getAirlineLegCarrierCode() {
470
    return airlineLegCarrierCode;
×
471
  }
472

473

474
 /**
475
  * The [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX) that identifies the carrier. This field is required if the airline data includes leg details. * Example: KLM = KL * minLength: 2 characters * maxLength: 2 characters * Must not be all spaces *Must not be all zeros.
476
  *
477
  * @param airlineLegCarrierCode
478
  */ 
479
  @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_CARRIER_CODE)
480
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
481
  public void setAirlineLegCarrierCode(String airlineLegCarrierCode) {
482
    this.airlineLegCarrierCode = airlineLegCarrierCode;
×
483
  }
×
484

485

486
  public AdditionalDataAirline airlineLegClassOfTravel(String airlineLegClassOfTravel) {
487
    this.airlineLegClassOfTravel = airlineLegClassOfTravel;
×
488
    return this;
×
489
  }
490

491
   /**
492
   * A one-letter travel class identifier.  The following are common:  * F: first class * J: business class * Y: economy class * W: premium economy  * Encoding: ASCII * minLength: 1 character * maxLength: 1 character * Must not be all spaces *Must not be all zeros.
493
   * @return airlineLegClassOfTravel
494
  **/
495
  @ApiModelProperty(value = "A one-letter travel class identifier.  The following are common:  * F: first class * J: business class * Y: economy class * W: premium economy  * Encoding: ASCII * minLength: 1 character * maxLength: 1 character * Must not be all spaces *Must not be all zeros.")
496
  @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_CLASS_OF_TRAVEL)
497
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
498

499
  public String getAirlineLegClassOfTravel() {
500
    return airlineLegClassOfTravel;
×
501
  }
502

503

504
 /**
505
  * A one-letter travel class identifier.  The following are common:  * F: first class * J: business class * Y: economy class * W: premium economy  * Encoding: ASCII * minLength: 1 character * maxLength: 1 character * Must not be all spaces *Must not be all zeros.
506
  *
507
  * @param airlineLegClassOfTravel
508
  */ 
509
  @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_CLASS_OF_TRAVEL)
510
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
511
  public void setAirlineLegClassOfTravel(String airlineLegClassOfTravel) {
512
    this.airlineLegClassOfTravel = airlineLegClassOfTravel;
×
513
  }
×
514

515

516
  public AdditionalDataAirline airlineLegDateOfTravel(String airlineLegDateOfTravel) {
517
    this.airlineLegDateOfTravel = airlineLegDateOfTravel;
×
518
    return this;
×
519
  }
520

521
   /**
522
   *   Date and time of travel in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format `yyyy-MM-dd HH:mm`. * Encoding: ASCII * minLength: 16 characters * maxLength: 16 characters
523
   * @return airlineLegDateOfTravel
524
  **/
525
  @ApiModelProperty(value = "  Date and time of travel in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format `yyyy-MM-dd HH:mm`. * Encoding: ASCII * minLength: 16 characters * maxLength: 16 characters")
526
  @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_DATE_OF_TRAVEL)
527
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
528

529
  public String getAirlineLegDateOfTravel() {
530
    return airlineLegDateOfTravel;
×
531
  }
532

533

534
 /**
535
  *   Date and time of travel in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format `yyyy-MM-dd HH:mm`. * Encoding: ASCII * minLength: 16 characters * maxLength: 16 characters
536
  *
537
  * @param airlineLegDateOfTravel
538
  */ 
539
  @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_DATE_OF_TRAVEL)
540
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
541
  public void setAirlineLegDateOfTravel(String airlineLegDateOfTravel) {
542
    this.airlineLegDateOfTravel = airlineLegDateOfTravel;
×
543
  }
×
544

545

546
  public AdditionalDataAirline airlineLegDepartAirport(String airlineLegDepartAirport) {
547
    this.airlineLegDepartAirport = airlineLegDepartAirport;
×
548
    return this;
×
549
  }
550

551
   /**
552
   * The [IATA](https://www.iata.org/services/pages/codes.aspx) three-letter airport code of the departure airport. This field is required if the airline data includes leg details.  * Encoding: ASCII * Example: Amsterdam = AMS * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros.
553
   * @return airlineLegDepartAirport
554
  **/
555
  @ApiModelProperty(value = "The [IATA](https://www.iata.org/services/pages/codes.aspx) three-letter airport code of the departure airport. This field is required if the airline data includes leg details.  * Encoding: ASCII * Example: Amsterdam = AMS * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros.")
556
  @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_DEPART_AIRPORT)
557
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
558

559
  public String getAirlineLegDepartAirport() {
560
    return airlineLegDepartAirport;
×
561
  }
562

563

564
 /**
565
  * The [IATA](https://www.iata.org/services/pages/codes.aspx) three-letter airport code of the departure airport. This field is required if the airline data includes leg details.  * Encoding: ASCII * Example: Amsterdam = AMS * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros.
566
  *
567
  * @param airlineLegDepartAirport
568
  */ 
569
  @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_DEPART_AIRPORT)
570
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
571
  public void setAirlineLegDepartAirport(String airlineLegDepartAirport) {
572
    this.airlineLegDepartAirport = airlineLegDepartAirport;
×
573
  }
×
574

575

576
  public AdditionalDataAirline airlineLegDepartTax(String airlineLegDepartTax) {
577
    this.airlineLegDepartTax = airlineLegDepartTax;
×
578
    return this;
×
579
  }
580

581
   /**
582
   * The amount of [departure tax](https://en.wikipedia.org/wiki/Departure_tax) charged, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Encoding: Numeric * minLength: 1 * maxLength: 12 *Must not be all zeros.
583
   * @return airlineLegDepartTax
584
  **/
585
  @ApiModelProperty(value = "The amount of [departure tax](https://en.wikipedia.org/wiki/Departure_tax) charged, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Encoding: Numeric * minLength: 1 * maxLength: 12 *Must not be all zeros.")
586
  @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_DEPART_TAX)
587
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
588

589
  public String getAirlineLegDepartTax() {
590
    return airlineLegDepartTax;
×
591
  }
592

593

594
 /**
595
  * The amount of [departure tax](https://en.wikipedia.org/wiki/Departure_tax) charged, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * Encoding: Numeric * minLength: 1 * maxLength: 12 *Must not be all zeros.
596
  *
597
  * @param airlineLegDepartTax
598
  */ 
599
  @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_DEPART_TAX)
600
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
601
  public void setAirlineLegDepartTax(String airlineLegDepartTax) {
602
    this.airlineLegDepartTax = airlineLegDepartTax;
×
603
  }
×
604

605

606
  public AdditionalDataAirline airlineLegDestinationCode(String airlineLegDestinationCode) {
607
    this.airlineLegDestinationCode = airlineLegDestinationCode;
×
608
    return this;
×
609
  }
610

611
   /**
612
   * The [IATA](https://www.iata.org/services/pages/codes.aspx) 3-letter airport code of the destination airport. This field is required if the airline data includes leg details. * Example: Amsterdam = AMS * Encoding: ASCII * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros.
613
   * @return airlineLegDestinationCode
614
  **/
615
  @ApiModelProperty(value = "The [IATA](https://www.iata.org/services/pages/codes.aspx) 3-letter airport code of the destination airport. This field is required if the airline data includes leg details. * Example: Amsterdam = AMS * Encoding: ASCII * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros.")
616
  @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_DESTINATION_CODE)
617
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
618

619
  public String getAirlineLegDestinationCode() {
620
    return airlineLegDestinationCode;
×
621
  }
622

623

624
 /**
625
  * The [IATA](https://www.iata.org/services/pages/codes.aspx) 3-letter airport code of the destination airport. This field is required if the airline data includes leg details. * Example: Amsterdam = AMS * Encoding: ASCII * minLength: 3 characters * maxLength: 3 characters * Must not be all spaces *Must not be all zeros.
626
  *
627
  * @param airlineLegDestinationCode
628
  */ 
629
  @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_DESTINATION_CODE)
630
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
631
  public void setAirlineLegDestinationCode(String airlineLegDestinationCode) {
632
    this.airlineLegDestinationCode = airlineLegDestinationCode;
×
633
  }
×
634

635

636
  public AdditionalDataAirline airlineLegFareBaseCode(String airlineLegFareBaseCode) {
637
    this.airlineLegFareBaseCode = airlineLegFareBaseCode;
×
638
    return this;
×
639
  }
640

641
   /**
642
   * The [fare basis code](https://en.wikipedia.org/wiki/Fare_basis_code), alphanumeric. * minLength: 1 character * maxLength: 6 characters * Must not be all spaces *Must not be all zeros.
643
   * @return airlineLegFareBaseCode
644
  **/
645
  @ApiModelProperty(value = "The [fare basis code](https://en.wikipedia.org/wiki/Fare_basis_code), alphanumeric. * minLength: 1 character * maxLength: 6 characters * Must not be all spaces *Must not be all zeros.")
646
  @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_FARE_BASE_CODE)
647
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
648

649
  public String getAirlineLegFareBaseCode() {
650
    return airlineLegFareBaseCode;
×
651
  }
652

653

654
 /**
655
  * The [fare basis code](https://en.wikipedia.org/wiki/Fare_basis_code), alphanumeric. * minLength: 1 character * maxLength: 6 characters * Must not be all spaces *Must not be all zeros.
656
  *
657
  * @param airlineLegFareBaseCode
658
  */ 
659
  @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_FARE_BASE_CODE)
660
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
661
  public void setAirlineLegFareBaseCode(String airlineLegFareBaseCode) {
662
    this.airlineLegFareBaseCode = airlineLegFareBaseCode;
×
663
  }
×
664

665

666
  public AdditionalDataAirline airlineLegFlightNumber(String airlineLegFlightNumber) {
667
    this.airlineLegFlightNumber = airlineLegFlightNumber;
×
668
    return this;
×
669
  }
670

671
   /**
672
   * The flight identifier. * minLength: 1 character * maxLength: 5 characters * Must not be all spaces *Must not be all zeros.
673
   * @return airlineLegFlightNumber
674
  **/
675
  @ApiModelProperty(value = "The flight identifier. * minLength: 1 character * maxLength: 5 characters * Must not be all spaces *Must not be all zeros.")
676
  @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_FLIGHT_NUMBER)
677
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
678

679
  public String getAirlineLegFlightNumber() {
680
    return airlineLegFlightNumber;
×
681
  }
682

683

684
 /**
685
  * The flight identifier. * minLength: 1 character * maxLength: 5 characters * Must not be all spaces *Must not be all zeros.
686
  *
687
  * @param airlineLegFlightNumber
688
  */ 
689
  @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_FLIGHT_NUMBER)
690
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
691
  public void setAirlineLegFlightNumber(String airlineLegFlightNumber) {
692
    this.airlineLegFlightNumber = airlineLegFlightNumber;
×
693
  }
×
694

695

696
  public AdditionalDataAirline airlineLegStopOverCode(String airlineLegStopOverCode) {
697
    this.airlineLegStopOverCode = airlineLegStopOverCode;
×
698
    return this;
×
699
  }
700

701
   /**
702
   * A one-letter code that indicates whether the passenger is entitled to make a stopover. Can be a space, O if the passenger is entitled to make a stopover, or X if they are not. * Encoding: ASCII * minLength: 1 character * maxLength: 1 character
703
   * @return airlineLegStopOverCode
704
  **/
705
  @ApiModelProperty(value = "A one-letter code that indicates whether the passenger is entitled to make a stopover. Can be a space, O if the passenger is entitled to make a stopover, or X if they are not. * Encoding: ASCII * minLength: 1 character * maxLength: 1 character")
706
  @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_STOP_OVER_CODE)
707
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
708

709
  public String getAirlineLegStopOverCode() {
710
    return airlineLegStopOverCode;
×
711
  }
712

713

714
 /**
715
  * A one-letter code that indicates whether the passenger is entitled to make a stopover. Can be a space, O if the passenger is entitled to make a stopover, or X if they are not. * Encoding: ASCII * minLength: 1 character * maxLength: 1 character
716
  *
717
  * @param airlineLegStopOverCode
718
  */ 
719
  @JsonProperty(JSON_PROPERTY_AIRLINE_LEG_STOP_OVER_CODE)
720
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
721
  public void setAirlineLegStopOverCode(String airlineLegStopOverCode) {
722
    this.airlineLegStopOverCode = airlineLegStopOverCode;
×
723
  }
×
724

725

726
  public AdditionalDataAirline airlinePassengerDateOfBirth(String airlinePassengerDateOfBirth) {
727
    this.airlinePassengerDateOfBirth = airlinePassengerDateOfBirth;
×
728
    return this;
×
729
  }
730

731
   /**
732
   * The passenger's date of birth.  Date format: `yyyy-MM-dd` * minLength: 10 * maxLength: 10
733
   * @return airlinePassengerDateOfBirth
734
  **/
735
  @ApiModelProperty(value = "The passenger's date of birth.  Date format: `yyyy-MM-dd` * minLength: 10 * maxLength: 10")
736
  @JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_DATE_OF_BIRTH)
737
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
738

739
  public String getAirlinePassengerDateOfBirth() {
740
    return airlinePassengerDateOfBirth;
×
741
  }
742

743

744
 /**
745
  * The passenger's date of birth.  Date format: `yyyy-MM-dd` * minLength: 10 * maxLength: 10
746
  *
747
  * @param airlinePassengerDateOfBirth
748
  */ 
749
  @JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_DATE_OF_BIRTH)
750
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
751
  public void setAirlinePassengerDateOfBirth(String airlinePassengerDateOfBirth) {
752
    this.airlinePassengerDateOfBirth = airlinePassengerDateOfBirth;
×
753
  }
×
754

755

756
  public AdditionalDataAirline airlinePassengerFirstName(String airlinePassengerFirstName) {
757
    this.airlinePassengerFirstName = airlinePassengerFirstName;
×
758
    return this;
×
759
  }
760

761
   /**
762
   * The passenger's first name. > This field is required if the airline data includes passenger details or leg details. * Encoding: ASCII
763
   * @return airlinePassengerFirstName
764
  **/
765
  @ApiModelProperty(value = "The passenger's first name. > This field is required if the airline data includes passenger details or leg details. * Encoding: ASCII")
766
  @JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_FIRST_NAME)
767
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
768

769
  public String getAirlinePassengerFirstName() {
770
    return airlinePassengerFirstName;
×
771
  }
772

773

774
 /**
775
  * The passenger's first name. > This field is required if the airline data includes passenger details or leg details. * Encoding: ASCII
776
  *
777
  * @param airlinePassengerFirstName
778
  */ 
779
  @JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_FIRST_NAME)
780
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
781
  public void setAirlinePassengerFirstName(String airlinePassengerFirstName) {
782
    this.airlinePassengerFirstName = airlinePassengerFirstName;
×
783
  }
×
784

785

786
  public AdditionalDataAirline airlinePassengerLastName(String airlinePassengerLastName) {
787
    this.airlinePassengerLastName = airlinePassengerLastName;
×
788
    return this;
×
789
  }
790

791
   /**
792
   * The passenger's last name. > This field is required if the airline data includes passenger details or leg details. * Encoding: ASCII
793
   * @return airlinePassengerLastName
794
  **/
795
  @ApiModelProperty(value = "The passenger's last name. > This field is required if the airline data includes passenger details or leg details. * Encoding: ASCII")
796
  @JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_LAST_NAME)
797
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
798

799
  public String getAirlinePassengerLastName() {
800
    return airlinePassengerLastName;
×
801
  }
802

803

804
 /**
805
  * The passenger's last name. > This field is required if the airline data includes passenger details or leg details. * Encoding: ASCII
806
  *
807
  * @param airlinePassengerLastName
808
  */ 
809
  @JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_LAST_NAME)
810
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
811
  public void setAirlinePassengerLastName(String airlinePassengerLastName) {
812
    this.airlinePassengerLastName = airlinePassengerLastName;
×
813
  }
×
814

815

816
  public AdditionalDataAirline airlinePassengerTelephoneNumber(String airlinePassengerTelephoneNumber) {
817
    this.airlinePassengerTelephoneNumber = airlinePassengerTelephoneNumber;
×
818
    return this;
×
819
  }
820

821
   /**
822
   * The passenger's telephone number, including country code. This is an alphanumeric field that can include the '+' and '-' signs. * Encoding: ASCII * minLength: 3 characters * maxLength: 30 characters
823
   * @return airlinePassengerTelephoneNumber
824
  **/
825
  @ApiModelProperty(value = "The passenger's telephone number, including country code. This is an alphanumeric field that can include the '+' and '-' signs. * Encoding: ASCII * minLength: 3 characters * maxLength: 30 characters")
826
  @JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_TELEPHONE_NUMBER)
827
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
828

829
  public String getAirlinePassengerTelephoneNumber() {
830
    return airlinePassengerTelephoneNumber;
×
831
  }
832

833

834
 /**
835
  * The passenger's telephone number, including country code. This is an alphanumeric field that can include the '+' and '-' signs. * Encoding: ASCII * minLength: 3 characters * maxLength: 30 characters
836
  *
837
  * @param airlinePassengerTelephoneNumber
838
  */ 
839
  @JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_TELEPHONE_NUMBER)
840
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
841
  public void setAirlinePassengerTelephoneNumber(String airlinePassengerTelephoneNumber) {
842
    this.airlinePassengerTelephoneNumber = airlinePassengerTelephoneNumber;
×
843
  }
×
844

845

846
  public AdditionalDataAirline airlinePassengerTravellerType(String airlinePassengerTravellerType) {
847
    this.airlinePassengerTravellerType = airlinePassengerTravellerType;
×
848
    return this;
×
849
  }
850

851
   /**
852
   * The IATA passenger type code (PTC). * Encoding: ASCII * minLength: 3 characters * maxLength: 6 characters
853
   * @return airlinePassengerTravellerType
854
  **/
855
  @ApiModelProperty(value = "The IATA passenger type code (PTC). * Encoding: ASCII * minLength: 3 characters * maxLength: 6 characters")
856
  @JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_TRAVELLER_TYPE)
857
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
858

859
  public String getAirlinePassengerTravellerType() {
860
    return airlinePassengerTravellerType;
×
861
  }
862

863

864
 /**
865
  * The IATA passenger type code (PTC). * Encoding: ASCII * minLength: 3 characters * maxLength: 6 characters
866
  *
867
  * @param airlinePassengerTravellerType
868
  */ 
869
  @JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_TRAVELLER_TYPE)
870
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
871
  public void setAirlinePassengerTravellerType(String airlinePassengerTravellerType) {
872
    this.airlinePassengerTravellerType = airlinePassengerTravellerType;
×
873
  }
×
874

875

876
  public AdditionalDataAirline airlinePassengerName(String airlinePassengerName) {
877
    this.airlinePassengerName = airlinePassengerName;
×
878
    return this;
×
879
  }
880

881
   /**
882
   * The passenger's name, initials, and title. * Format: last name + first name or initials + title * Example: *FLYER / MARY MS* * minLength: 1 character * maxLength: 20 characters * If you send more than 20 characters, the name is truncated * Must not be all spaces  *Must not be all zeros.
883
   * @return airlinePassengerName
884
  **/
885
  @ApiModelProperty(required = true, value = "The passenger's name, initials, and title. * Format: last name + first name or initials + title * Example: *FLYER / MARY MS* * minLength: 1 character * maxLength: 20 characters * If you send more than 20 characters, the name is truncated * Must not be all spaces  *Must not be all zeros.")
886
  @JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_NAME)
887
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
888

889
  public String getAirlinePassengerName() {
890
    return airlinePassengerName;
×
891
  }
892

893

894
 /**
895
  * The passenger's name, initials, and title. * Format: last name + first name or initials + title * Example: *FLYER / MARY MS* * minLength: 1 character * maxLength: 20 characters * If you send more than 20 characters, the name is truncated * Must not be all spaces  *Must not be all zeros.
896
  *
897
  * @param airlinePassengerName
898
  */ 
899
  @JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_NAME)
900
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
901
  public void setAirlinePassengerName(String airlinePassengerName) {
902
    this.airlinePassengerName = airlinePassengerName;
×
903
  }
×
904

905

906
  public AdditionalDataAirline airlineTicketIssueAddress(String airlineTicketIssueAddress) {
907
    this.airlineTicketIssueAddress = airlineTicketIssueAddress;
×
908
    return this;
×
909
  }
910

911
   /**
912
   * The address of the organization that issued the ticket. * minLength: 0 characters * maxLength: 16 characters
913
   * @return airlineTicketIssueAddress
914
  **/
915
  @ApiModelProperty(value = "The address of the organization that issued the ticket. * minLength: 0 characters * maxLength: 16 characters")
916
  @JsonProperty(JSON_PROPERTY_AIRLINE_TICKET_ISSUE_ADDRESS)
917
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
918

919
  public String getAirlineTicketIssueAddress() {
920
    return airlineTicketIssueAddress;
×
921
  }
922

923

924
 /**
925
  * The address of the organization that issued the ticket. * minLength: 0 characters * maxLength: 16 characters
926
  *
927
  * @param airlineTicketIssueAddress
928
  */ 
929
  @JsonProperty(JSON_PROPERTY_AIRLINE_TICKET_ISSUE_ADDRESS)
930
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
931
  public void setAirlineTicketIssueAddress(String airlineTicketIssueAddress) {
932
    this.airlineTicketIssueAddress = airlineTicketIssueAddress;
×
933
  }
×
934

935

936
  public AdditionalDataAirline airlineTicketNumber(String airlineTicketNumber) {
937
    this.airlineTicketNumber = airlineTicketNumber;
×
938
    return this;
×
939
  }
940

941
   /**
942
   * The ticket's unique identifier. * minLength: 1 character * maxLength: 15 characters * Must not be all spaces *Must not be all zeros.
943
   * @return airlineTicketNumber
944
  **/
945
  @ApiModelProperty(value = "The ticket's unique identifier. * minLength: 1 character * maxLength: 15 characters * Must not be all spaces *Must not be all zeros.")
946
  @JsonProperty(JSON_PROPERTY_AIRLINE_TICKET_NUMBER)
947
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
948

949
  public String getAirlineTicketNumber() {
950
    return airlineTicketNumber;
×
951
  }
952

953

954
 /**
955
  * The ticket's unique identifier. * minLength: 1 character * maxLength: 15 characters * Must not be all spaces *Must not be all zeros.
956
  *
957
  * @param airlineTicketNumber
958
  */ 
959
  @JsonProperty(JSON_PROPERTY_AIRLINE_TICKET_NUMBER)
960
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
961
  public void setAirlineTicketNumber(String airlineTicketNumber) {
962
    this.airlineTicketNumber = airlineTicketNumber;
×
963
  }
×
964

965

966
  public AdditionalDataAirline airlineTravelAgencyCode(String airlineTravelAgencyCode) {
967
    this.airlineTravelAgencyCode = airlineTravelAgencyCode;
×
968
    return this;
×
969
  }
970

971
   /**
972
   * The unique identifier from IATA or ARC for the travel agency that issues the ticket. * Encoding: ASCII * minLength: 1 character * maxLength: 8 characters * Must not be all spaces *Must not be all zeros.
973
   * @return airlineTravelAgencyCode
974
  **/
975
  @ApiModelProperty(value = "The unique identifier from IATA or ARC for the travel agency that issues the ticket. * Encoding: ASCII * minLength: 1 character * maxLength: 8 characters * Must not be all spaces *Must not be all zeros.")
976
  @JsonProperty(JSON_PROPERTY_AIRLINE_TRAVEL_AGENCY_CODE)
977
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
978

979
  public String getAirlineTravelAgencyCode() {
980
    return airlineTravelAgencyCode;
×
981
  }
982

983

984
 /**
985
  * The unique identifier from IATA or ARC for the travel agency that issues the ticket. * Encoding: ASCII * minLength: 1 character * maxLength: 8 characters * Must not be all spaces *Must not be all zeros.
986
  *
987
  * @param airlineTravelAgencyCode
988
  */ 
989
  @JsonProperty(JSON_PROPERTY_AIRLINE_TRAVEL_AGENCY_CODE)
990
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
991
  public void setAirlineTravelAgencyCode(String airlineTravelAgencyCode) {
992
    this.airlineTravelAgencyCode = airlineTravelAgencyCode;
×
993
  }
×
994

995

996
  public AdditionalDataAirline airlineTravelAgencyName(String airlineTravelAgencyName) {
997
    this.airlineTravelAgencyName = airlineTravelAgencyName;
×
998
    return this;
×
999
  }
1000

1001
   /**
1002
   * The name of the travel agency.  * Encoding: ASCII * minLength: 1 character * maxLength: 25 characters * Must not be all spaces *Must not be all zeros.
1003
   * @return airlineTravelAgencyName
1004
  **/
1005
  @ApiModelProperty(value = "The name of the travel agency.  * Encoding: ASCII * minLength: 1 character * maxLength: 25 characters * Must not be all spaces *Must not be all zeros.")
1006
  @JsonProperty(JSON_PROPERTY_AIRLINE_TRAVEL_AGENCY_NAME)
1007
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1008

1009
  public String getAirlineTravelAgencyName() {
1010
    return airlineTravelAgencyName;
×
1011
  }
1012

1013

1014
 /**
1015
  * The name of the travel agency.  * Encoding: ASCII * minLength: 1 character * maxLength: 25 characters * Must not be all spaces *Must not be all zeros.
1016
  *
1017
  * @param airlineTravelAgencyName
1018
  */ 
1019
  @JsonProperty(JSON_PROPERTY_AIRLINE_TRAVEL_AGENCY_NAME)
1020
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1021
  public void setAirlineTravelAgencyName(String airlineTravelAgencyName) {
1022
    this.airlineTravelAgencyName = airlineTravelAgencyName;
×
1023
  }
×
1024

1025

1026
  /**
1027
   * Return true if this AdditionalDataAirline object is equal to o.
1028
   */
1029
  @Override
1030
  public boolean equals(Object o) {
1031
    if (this == o) {
×
1032
      return true;
×
1033
    }
1034
    if (o == null || getClass() != o.getClass()) {
×
1035
      return false;
×
1036
    }
1037
    AdditionalDataAirline additionalDataAirline = (AdditionalDataAirline) o;
×
1038
    return Objects.equals(this.airlineAgencyInvoiceNumber, additionalDataAirline.airlineAgencyInvoiceNumber) &&
×
1039
        Objects.equals(this.airlineAgencyPlanName, additionalDataAirline.airlineAgencyPlanName) &&
×
1040
        Objects.equals(this.airlineAirlineCode, additionalDataAirline.airlineAirlineCode) &&
×
1041
        Objects.equals(this.airlineAirlineDesignatorCode, additionalDataAirline.airlineAirlineDesignatorCode) &&
×
1042
        Objects.equals(this.airlineBoardingFee, additionalDataAirline.airlineBoardingFee) &&
×
1043
        Objects.equals(this.airlineComputerizedReservationSystem, additionalDataAirline.airlineComputerizedReservationSystem) &&
×
1044
        Objects.equals(this.airlineCustomerReferenceNumber, additionalDataAirline.airlineCustomerReferenceNumber) &&
×
1045
        Objects.equals(this.airlineDocumentType, additionalDataAirline.airlineDocumentType) &&
×
1046
        Objects.equals(this.airlineFlightDate, additionalDataAirline.airlineFlightDate) &&
×
NEW
1047
        Objects.equals(this.airlineIssueDate, additionalDataAirline.airlineIssueDate) &&
×
1048
        Objects.equals(this.airlineLegCarrierCode, additionalDataAirline.airlineLegCarrierCode) &&
×
1049
        Objects.equals(this.airlineLegClassOfTravel, additionalDataAirline.airlineLegClassOfTravel) &&
×
1050
        Objects.equals(this.airlineLegDateOfTravel, additionalDataAirline.airlineLegDateOfTravel) &&
×
1051
        Objects.equals(this.airlineLegDepartAirport, additionalDataAirline.airlineLegDepartAirport) &&
×
1052
        Objects.equals(this.airlineLegDepartTax, additionalDataAirline.airlineLegDepartTax) &&
×
1053
        Objects.equals(this.airlineLegDestinationCode, additionalDataAirline.airlineLegDestinationCode) &&
×
1054
        Objects.equals(this.airlineLegFareBaseCode, additionalDataAirline.airlineLegFareBaseCode) &&
×
1055
        Objects.equals(this.airlineLegFlightNumber, additionalDataAirline.airlineLegFlightNumber) &&
×
1056
        Objects.equals(this.airlineLegStopOverCode, additionalDataAirline.airlineLegStopOverCode) &&
×
1057
        Objects.equals(this.airlinePassengerDateOfBirth, additionalDataAirline.airlinePassengerDateOfBirth) &&
×
1058
        Objects.equals(this.airlinePassengerFirstName, additionalDataAirline.airlinePassengerFirstName) &&
×
1059
        Objects.equals(this.airlinePassengerLastName, additionalDataAirline.airlinePassengerLastName) &&
×
1060
        Objects.equals(this.airlinePassengerTelephoneNumber, additionalDataAirline.airlinePassengerTelephoneNumber) &&
×
1061
        Objects.equals(this.airlinePassengerTravellerType, additionalDataAirline.airlinePassengerTravellerType) &&
×
1062
        Objects.equals(this.airlinePassengerName, additionalDataAirline.airlinePassengerName) &&
×
1063
        Objects.equals(this.airlineTicketIssueAddress, additionalDataAirline.airlineTicketIssueAddress) &&
×
1064
        Objects.equals(this.airlineTicketNumber, additionalDataAirline.airlineTicketNumber) &&
×
1065
        Objects.equals(this.airlineTravelAgencyCode, additionalDataAirline.airlineTravelAgencyCode) &&
×
1066
        Objects.equals(this.airlineTravelAgencyName, additionalDataAirline.airlineTravelAgencyName);
×
1067
  }
1068

1069
  @Override
1070
  public int hashCode() {
NEW
1071
    return Objects.hash(airlineAgencyInvoiceNumber, airlineAgencyPlanName, airlineAirlineCode, airlineAirlineDesignatorCode, airlineBoardingFee, airlineComputerizedReservationSystem, airlineCustomerReferenceNumber, airlineDocumentType, airlineFlightDate, airlineIssueDate, airlineLegCarrierCode, airlineLegClassOfTravel, airlineLegDateOfTravel, airlineLegDepartAirport, airlineLegDepartTax, airlineLegDestinationCode, airlineLegFareBaseCode, airlineLegFlightNumber, airlineLegStopOverCode, airlinePassengerDateOfBirth, airlinePassengerFirstName, airlinePassengerLastName, airlinePassengerTelephoneNumber, airlinePassengerTravellerType, airlinePassengerName, airlineTicketIssueAddress, airlineTicketNumber, airlineTravelAgencyCode, airlineTravelAgencyName);
×
1072
  }
1073

1074
  @Override
1075
  public String toString() {
1076
    StringBuilder sb = new StringBuilder();
×
1077
    sb.append("class AdditionalDataAirline {\n");
×
1078
    sb.append("    airlineAgencyInvoiceNumber: ").append(toIndentedString(airlineAgencyInvoiceNumber)).append("\n");
×
1079
    sb.append("    airlineAgencyPlanName: ").append(toIndentedString(airlineAgencyPlanName)).append("\n");
×
1080
    sb.append("    airlineAirlineCode: ").append(toIndentedString(airlineAirlineCode)).append("\n");
×
1081
    sb.append("    airlineAirlineDesignatorCode: ").append(toIndentedString(airlineAirlineDesignatorCode)).append("\n");
×
1082
    sb.append("    airlineBoardingFee: ").append(toIndentedString(airlineBoardingFee)).append("\n");
×
1083
    sb.append("    airlineComputerizedReservationSystem: ").append(toIndentedString(airlineComputerizedReservationSystem)).append("\n");
×
1084
    sb.append("    airlineCustomerReferenceNumber: ").append(toIndentedString(airlineCustomerReferenceNumber)).append("\n");
×
1085
    sb.append("    airlineDocumentType: ").append(toIndentedString(airlineDocumentType)).append("\n");
×
1086
    sb.append("    airlineFlightDate: ").append(toIndentedString(airlineFlightDate)).append("\n");
×
NEW
1087
    sb.append("    airlineIssueDate: ").append(toIndentedString(airlineIssueDate)).append("\n");
×
1088
    sb.append("    airlineLegCarrierCode: ").append(toIndentedString(airlineLegCarrierCode)).append("\n");
×
1089
    sb.append("    airlineLegClassOfTravel: ").append(toIndentedString(airlineLegClassOfTravel)).append("\n");
×
1090
    sb.append("    airlineLegDateOfTravel: ").append(toIndentedString(airlineLegDateOfTravel)).append("\n");
×
1091
    sb.append("    airlineLegDepartAirport: ").append(toIndentedString(airlineLegDepartAirport)).append("\n");
×
1092
    sb.append("    airlineLegDepartTax: ").append(toIndentedString(airlineLegDepartTax)).append("\n");
×
1093
    sb.append("    airlineLegDestinationCode: ").append(toIndentedString(airlineLegDestinationCode)).append("\n");
×
1094
    sb.append("    airlineLegFareBaseCode: ").append(toIndentedString(airlineLegFareBaseCode)).append("\n");
×
1095
    sb.append("    airlineLegFlightNumber: ").append(toIndentedString(airlineLegFlightNumber)).append("\n");
×
1096
    sb.append("    airlineLegStopOverCode: ").append(toIndentedString(airlineLegStopOverCode)).append("\n");
×
1097
    sb.append("    airlinePassengerDateOfBirth: ").append(toIndentedString(airlinePassengerDateOfBirth)).append("\n");
×
1098
    sb.append("    airlinePassengerFirstName: ").append(toIndentedString(airlinePassengerFirstName)).append("\n");
×
1099
    sb.append("    airlinePassengerLastName: ").append(toIndentedString(airlinePassengerLastName)).append("\n");
×
1100
    sb.append("    airlinePassengerTelephoneNumber: ").append(toIndentedString(airlinePassengerTelephoneNumber)).append("\n");
×
1101
    sb.append("    airlinePassengerTravellerType: ").append(toIndentedString(airlinePassengerTravellerType)).append("\n");
×
1102
    sb.append("    airlinePassengerName: ").append(toIndentedString(airlinePassengerName)).append("\n");
×
1103
    sb.append("    airlineTicketIssueAddress: ").append(toIndentedString(airlineTicketIssueAddress)).append("\n");
×
1104
    sb.append("    airlineTicketNumber: ").append(toIndentedString(airlineTicketNumber)).append("\n");
×
1105
    sb.append("    airlineTravelAgencyCode: ").append(toIndentedString(airlineTravelAgencyCode)).append("\n");
×
1106
    sb.append("    airlineTravelAgencyName: ").append(toIndentedString(airlineTravelAgencyName)).append("\n");
×
1107
    sb.append("}");
×
1108
    return sb.toString();
×
1109
  }
1110

1111
  /**
1112
   * Convert the given object to string with each line indented by 4 spaces
1113
   * (except the first line).
1114
   */
1115
  private String toIndentedString(Object o) {
1116
    if (o == null) {
×
1117
      return "null";
×
1118
    }
1119
    return o.toString().replace("\n", "\n    ");
×
1120
  }
1121

1122
/**
1123
   * Create an instance of AdditionalDataAirline given an JSON string
1124
   *
1125
   * @param jsonString JSON string
1126
   * @return An instance of AdditionalDataAirline
1127
   * @throws JsonProcessingException if the JSON string is invalid with respect to AdditionalDataAirline
1128
   */
1129
  public static AdditionalDataAirline fromJson(String jsonString) throws JsonProcessingException {
1130
    return JSON.getMapper().readValue(jsonString, AdditionalDataAirline.class);
×
1131
  }
1132
/**
1133
  * Convert an instance of AdditionalDataAirline to an JSON string
1134
  *
1135
  * @return JSON string
1136
  */
1137
  public String toJson() throws JsonProcessingException {
1138
    return JSON.getMapper().writeValueAsString(this);
×
1139
  }
1140
}
1141

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc