Airline |
Airline.addLegsItem(Leg legsItem) |
|
Airline |
Airline.addPassengersItem(Passenger passengersItem) |
|
Airline |
Airline.agency(Agency agency) |
agency
|
Airline |
Airline.boardingFee(Long boardingFee) |
The amount charged for boarding the plane, in [minor
units](https://docs.adyen.com/development-resources/currency-codes). * Encoding: Numeric *
minLength: 1 character * maxLength: 11 characters
|
Airline |
Airline.code(String code) |
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 start with a space or be all
spaces. * Must not be all zeros.
|
Airline |
Airline.computerizedReservationSystem(String computerizedReservationSystem) |
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
|
Airline |
Airline.customerReferenceNumber(String customerReferenceNumber) |
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 start
with a space or be all spaces.
|
Airline |
Airline.designatorCode(String designatorCode) |
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 start with a space or be all spaces.
|
Airline |
Airline.documentType(String documentType) |
A code that identifies the type of item bought.
|
Airline |
Airline.flightDate(OffsetDateTime flightDate) |
The flight departure date.
|
static Airline |
Airline.fromJson(String jsonString) |
Create an instance of Airline given an JSON string
|
Airline |
EnhancedSchemeData.getAirline() |
Get airline
|
Airline |
Airline.includeNullValues(boolean includeNullValues) |
Configures whether null values are explicitly serialized in the JSON payload.
|
Airline |
Airline.legs(List<Leg> legs) |
legs
|
Airline |
Airline.passengerName(String passengerName) |
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 start with a space or be all
spaces. * Must not be all zeros.
|
Airline |
Airline.passengers(List<Passenger> passengers) |
passengers
|
Airline |
Airline.ticket(Ticket ticket) |
ticket
|
Airline |
Airline.travelAgency(TravelAgency travelAgency) |
travelAgency
|