UNPKG

@paciolan/cybersource-sdk

Version:
139 lines (138 loc) 8.42 kB
/** * CyberSource Merged Spec * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html * * OpenAPI spec version: 0.0.1 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ /** * * @export * @interface Ptsv2paymentsTravelInformationTransitAirlineLegs */ export interface Ptsv2paymentsTravelInformationTransitAirlineLegs { /** * IATA code for the carrier for this leg of the trip. Format: English characters only. Restricted string data type that indicates a sequence of letters, numbers, and spaces; special characters are not included. Optional request field for travel legs. * @type {string} * @memberof Ptsv2paymentsTravelInformationTransitAirlineLegs */ carrierCode?: string; /** * Flight number for this leg of the trip. Restrictions are limitations for the ticket based on the type of fare, such as a nonrefundable ticket or a 3-day minimum stay. Format: English characters only. Optional request field for travel legs. * @type {string} * @memberof Ptsv2paymentsTravelInformationTransitAirlineLegs */ flightNumber?: string; /** * IATA code for the originating airport for this leg of the trip. Format: English characters only. Restricted string data type that indicates a sequence of letters, numbers, and spaces; special characters are not included. Optional request field for travel legs. * @type {string} * @memberof Ptsv2paymentsTravelInformationTransitAirlineLegs */ originatingAirportCode?: string; /** * IATA code for the class of service for this leg of the trip. Format: English characters only. Restricted string data type that indicates a sequence of letters, numbers, and spaces; special characters are not included. Optional request field for travel legs. * @type {string} * @memberof Ptsv2paymentsTravelInformationTransitAirlineLegs */ _class?: string; /** * Code that indicates whether a stopover is allowed on this leg of the trip. Possible values: - `O` (capital letter \"O\") (default): Stopover allowed - `X` (capital letter \"X\"): Stopover not allowed Format: English characters only. Restricted string data type that indicates a sequence of letters, numbers, and spaces; special characters are not included. Optional request field for travel legs. * @type {number} * @memberof Ptsv2paymentsTravelInformationTransitAirlineLegs */ stopoverIndicator?: number; /** * Departure date for the first leg of the trip. Format: `YYYYMMDD`. Format: English characters only. Optional request field for travel legs. * @type {number} * @memberof Ptsv2paymentsTravelInformationTransitAirlineLegs */ departureDate?: number; /** * IATA code for the destination airport for this leg of the trip. Format: English characters only. Restricted string data type that indicates a sequence of letters, numbers, and spaces; special characters are not included. Optional request field for travel legs. * @type {string} * @memberof Ptsv2paymentsTravelInformationTransitAirlineLegs */ destinationAirportCode?: string; /** * Code for the fare basis for this leg of the trip. The fare basis is assigned by the carriers and indicates a particular ticket type, such as business class or discounted/nonrefundable. Restricted string data type that indicates a sequence of letters, numbers, and spaces; special characters are not included. Format: English characters only. Optional request field for travel legs.auto_rental_regular_mileage_cost * @type {string} * @memberof Ptsv2paymentsTravelInformationTransitAirlineLegs */ fareBasis?: string; /** * Amount of departure tax for this leg of the trip. * @type {string} * @memberof Ptsv2paymentsTravelInformationTransitAirlineLegs */ departTaxAmount?: string; /** * Ticket that contains additional coupons for this leg of the trip on an itinerary that has more than four segments. Format: English characters only. Restricted string data type that indicates a sequence of letters, numbers, and spaces; special characters are not included. Optional request field for travel legs. * @type {string} * @memberof Ptsv2paymentsTravelInformationTransitAirlineLegs */ conjunctionTicket?: string; /** * New ticket number that is issued when the ticket is exchanged for this leg of the trip. Restrictions are limitations for the ticket based on the type of fare, such as a nonrefundable ticket or a 3-day minimum stay. Format: English characters only. Optional request field for travel legs. * @type {string} * @memberof Ptsv2paymentsTravelInformationTransitAirlineLegs */ exchangeTicketNumber?: string; /** * Coupon number. Each leg on the ticket requires a separate coupon, and each coupon is identified by the coupon number. Format: English characters only. Restricted string data type that indicates a sequence of letters, numbers, and spaces; special characters are not included. Optional request field for travel legs. * @type {string} * @memberof Ptsv2paymentsTravelInformationTransitAirlineLegs */ couponNumber?: string; /** * Time of departure for this leg of the trip. The format is military time and HHMM: If not all zeros, then the hours must be `00-23` and the minutes must be `00-59`. Format: English characters only. Optional request field for travel legs. * @type {number} * @memberof Ptsv2paymentsTravelInformationTransitAirlineLegs */ departureTime?: number; /** * AM or PM for the departure time. Possible values: - A: 12:00 midnight to 11:59 a.m. - P: 12:00 noon to 11:59 p.m Format: English characters only. Restricted string data type that indicates a sequence of letters, numbers, and spaces; special characters are not included. Optional request field for travel legs. * @type {string} * @memberof Ptsv2paymentsTravelInformationTransitAirlineLegs */ departureTimeMeridian?: string; /** * Time of arrival for this leg of the trip. The format is military time and HHMM: If not all zeros, then the hours must be `00-23` and the minutes must be `00-59` Format: English characters only. Optional request field for travel legs. * @type {number} * @memberof Ptsv2paymentsTravelInformationTransitAirlineLegs */ arrivalTime?: number; /** * AM or PM for the arrival time for this leg of the trip. Possible values: - `A`: 12:00 midnight to 11:59 a.m. - `P`: 12:00 noon to 11:59 p.m. Format: English characters only. Restricted string data type that indicates a sequence of letters, numbers, and spaces; special characters are not included. Optional request field for travel legs. * @type {string} * @memberof Ptsv2paymentsTravelInformationTransitAirlineLegs */ arrivalTimeMeridian?: string; /** * Notes or notations about endorsements and restrictions for this leg of the trip. Endorsements can be notations added by the travel agency, including mandatory government-required notations such as value added tax. Restrictions are limitations for the ticket based on the type of fare, such as a nonrefundable ticket or a 3-day minimum stay. Format: English characters only. Optional request field for travel legs. * @type {string} * @memberof Ptsv2paymentsTravelInformationTransitAirlineLegs */ endorsementsRestrictions?: string; /** * Total fare for this leg of the trip. Format: English characters only. Optional request field for travel legs. * @type {string} * @memberof Ptsv2paymentsTravelInformationTransitAirlineLegs */ totalFareAmount?: string; /** * Fee for this leg of the trip, such as an airport fee or country fee. Format: English characters only. Optional request field for travel legs. * @type {string} * @memberof Ptsv2paymentsTravelInformationTransitAirlineLegs */ feeAmount?: string; /** * Tax for this leg of the trip. Format: English characters only. Optional request field for travel legs. * @type {string} * @memberof Ptsv2paymentsTravelInformationTransitAirlineLegs */ taxAmount?: string; }