Package com.onlinepayments.domain
Class AirlineData
java.lang.Object
com.onlinepayments.domain.AirlineData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionNumeric code identifying the agent This field is used by the following payment products: 840getCode()Airline numeric code This field is used by the following payment products: 840Deprecated.This field is not used by any payment product Date of the Flight Format: YYYYMMDDIndicator representing the type of flight on the itinerary.Object that holds the data on the individual legs of the flight ticketAirline tracing number This field is used by the following payment products: cardsDeprecated.DeprecatedIndicates if the ticket is refundable or not.This is the date of issue recorded in the airline system In a case of multiple issuances of the same ticket to a cardholder, you should use the last ticket date.Deprecated.This field is not used by any payment product * true - The payer is the ticket holder * false - The payer is not the ticket holderYour ID of the customer in the context of the airline data This field is used by the following payment products: 840getName()Deprecated.This field is not used by any payment product Name of the airlineDeprecated.Use passengers instead Name of passengerObject that holds the data on the individual passengers This field is used by the following payment products: cards, 840Deprecated.This field is not used by any payment product Place of issue For sales in the US the last two characters (pos 14-15) must be the US state code.getPnr()Deprecated.Use passengers instead.IATA point of sale name This field is used by the following payment products: 840Deprecated.This field is not used by any payment product City code of the point of saleThree-letter ISO currency code representing the currency in which ticket purchase amount is expressed.Deprecated.This field is not used by any payment product Delivery method of the ticketThe ticket or document number contains: Airline code: 3-digit airline code number Form code: A maximum of 3 digits indicating the type of document, the source of issue and the number of coupons it contains Serial number: A maximum of 8 digits allocated on a sequential basis, provided that the total number of digits allocated to the form code and serial number shall not exceed ten TICKETNUMBER can be replaced with PNR if the ticket number is unavailable This field is used by the following payment products: cards, 840Total fare for all legs on the ticket, excluding taxes and fees.Total fee for all legs on the ticket.Total taxes for all legs on the ticket.Name of the travel agency issuing the ticket.voidsetAgentNumericCode(String value) Numeric code identifying the agent This field is used by the following payment products: 840voidAirline numeric code This field is used by the following payment products: 840voidsetFlightDate(String value) Deprecated.This field is not used by any payment product Date of the Flight Format: YYYYMMDDvoidsetFlightIndicator(String value) Indicator representing the type of flight on the itinerary.voidsetFlightLegs(List<AirlineFlightLeg> value) Object that holds the data on the individual legs of the flight ticketvoidsetInvoiceNumber(String value) Airline tracing number This field is used by the following payment products: cardsvoidsetIsETicket(Boolean value) Deprecated.DeprecatedvoidsetIsRestrictedTicket(Boolean value) Indicates if the ticket is refundable or not.voidsetIssueDate(String value) This is the date of issue recorded in the airline system In a case of multiple issuances of the same ticket to a cardholder, you should use the last ticket date.voidsetIsThirdParty(Boolean value) Deprecated.This field is not used by any payment product * true - The payer is the ticket holder * false - The payer is not the ticket holdervoidsetMerchantCustomerId(String value) Your ID of the customer in the context of the airline data This field is used by the following payment products: 840voidDeprecated.This field is not used by any payment product Name of the airlinevoidsetPassengerName(String value) Deprecated.Use passengers instead Name of passengervoidsetPassengers(List<AirlinePassenger> value) Object that holds the data on the individual passengers This field is used by the following payment products: cards, 840voidsetPlaceOfIssue(String value) Deprecated.This field is not used by any payment product Place of issue For sales in the US the last two characters (pos 14-15) must be the US state code.voidDeprecated.Use passengers instead.voidsetPointOfSale(String value) IATA point of sale name This field is used by the following payment products: 840voidsetPosCityCode(String value) Deprecated.This field is not used by any payment product City code of the point of salevoidsetTicketCurrency(String value) Three-letter ISO currency code representing the currency in which ticket purchase amount is expressed.voidsetTicketDeliveryMethod(String value) Deprecated.This field is not used by any payment product Delivery method of the ticketvoidsetTicketNumber(String value) The ticket or document number contains: Airline code: 3-digit airline code number Form code: A maximum of 3 digits indicating the type of document, the source of issue and the number of coupons it contains Serial number: A maximum of 8 digits allocated on a sequential basis, provided that the total number of digits allocated to the form code and serial number shall not exceed ten TICKETNUMBER can be replaced with PNR if the ticket number is unavailable This field is used by the following payment products: cards, 840voidsetTotalFare(Integer value) Total fare for all legs on the ticket, excluding taxes and fees.voidsetTotalFee(Integer value) Total fee for all legs on the ticket.voidsetTotalTaxes(Integer value) Total taxes for all legs on the ticket.voidsetTravelAgencyName(String value) Name of the travel agency issuing the ticket.withAgentNumericCode(String value) Numeric code identifying the agent This field is used by the following payment products: 840Airline numeric code This field is used by the following payment products: 840withFlightDate(String value) Deprecated.This field is not used by any payment product Date of the Flight Format: YYYYMMDDwithFlightIndicator(String value) Indicator representing the type of flight on the itinerary.withFlightLegs(List<AirlineFlightLeg> value) Object that holds the data on the individual legs of the flight ticketwithInvoiceNumber(String value) Airline tracing number This field is used by the following payment products: cardswithIsETicket(Boolean value) Deprecated.DeprecatedwithIsRestrictedTicket(Boolean value) Indicates if the ticket is refundable or not.withIssueDate(String value) This is the date of issue recorded in the airline system In a case of multiple issuances of the same ticket to a cardholder, you should use the last ticket date.withIsThirdParty(Boolean value) Deprecated.This field is not used by any payment product * true - The payer is the ticket holder * false - The payer is not the ticket holderwithMerchantCustomerId(String value) Your ID of the customer in the context of the airline data This field is used by the following payment products: 840Deprecated.This field is not used by any payment product Name of the airlinewithPassengerName(String value) Deprecated.Use passengers instead Name of passengerwithPassengers(List<AirlinePassenger> value) Object that holds the data on the individual passengers This field is used by the following payment products: cards, 840withPlaceOfIssue(String value) Deprecated.This field is not used by any payment product Place of issue For sales in the US the last two characters (pos 14-15) must be the US state code.Deprecated.Use passengers instead.withPointOfSale(String value) IATA point of sale name This field is used by the following payment products: 840withPosCityCode(String value) Deprecated.This field is not used by any payment product City code of the point of salewithTicketCurrency(String value) Three-letter ISO currency code representing the currency in which ticket purchase amount is expressed.withTicketDeliveryMethod(String value) Deprecated.This field is not used by any payment product Delivery method of the ticketwithTicketNumber(String value) The ticket or document number contains: Airline code: 3-digit airline code number Form code: A maximum of 3 digits indicating the type of document, the source of issue and the number of coupons it contains Serial number: A maximum of 8 digits allocated on a sequential basis, provided that the total number of digits allocated to the form code and serial number shall not exceed ten TICKETNUMBER can be replaced with PNR if the ticket number is unavailable This field is used by the following payment products: cards, 840withTotalFare(Integer value) Total fare for all legs on the ticket, excluding taxes and fees.withTotalFee(Integer value) Total fee for all legs on the ticket.withTotalTaxes(Integer value) Total taxes for all legs on the ticket.withTravelAgencyName(String value) Name of the travel agency issuing the ticket.
-
Constructor Details
-
AirlineData
public AirlineData()
-
-
Method Details
-
getAgentNumericCode
Numeric code identifying the agent This field is used by the following payment products: 840 -
setAgentNumericCode
Numeric code identifying the agent This field is used by the following payment products: 840 -
withAgentNumericCode
Numeric code identifying the agent This field is used by the following payment products: 840 -
getCode
Airline numeric code This field is used by the following payment products: 840 -
setCode
Airline numeric code This field is used by the following payment products: 840 -
withCode
Airline numeric code This field is used by the following payment products: 840 -
getFlightDate
Deprecated.This field is not used by any payment product Date of the Flight Format: YYYYMMDDDeprecated: This field is not used by any payment product Date of the Flight Format: YYYYMMDD -
setFlightDate
Deprecated.This field is not used by any payment product Date of the Flight Format: YYYYMMDDDeprecated: This field is not used by any payment product Date of the Flight Format: YYYYMMDD -
withFlightDate
Deprecated.This field is not used by any payment product Date of the Flight Format: YYYYMMDDDeprecated: This field is not used by any payment product Date of the Flight Format: YYYYMMDD -
getFlightIndicator
Indicator representing the type of flight on the itinerary. -
setFlightIndicator
Indicator representing the type of flight on the itinerary. -
withFlightIndicator
Indicator representing the type of flight on the itinerary. -
getFlightLegs
Object that holds the data on the individual legs of the flight ticket -
setFlightLegs
Object that holds the data on the individual legs of the flight ticket -
withFlightLegs
Object that holds the data on the individual legs of the flight ticket -
getInvoiceNumber
Airline tracing number This field is used by the following payment products: cards -
setInvoiceNumber
Airline tracing number This field is used by the following payment products: cards -
withInvoiceNumber
Airline tracing number This field is used by the following payment products: cards -
getIsETicket
Deprecated.DeprecatedDeprecated: This field is not used by any payment product- true = The ticket is an E-Ticket
- false = the ticket is not an E-Ticket'
-
setIsETicket
Deprecated.DeprecatedDeprecated: This field is not used by any payment product- true = The ticket is an E-Ticket
- false = the ticket is not an E-Ticket'
-
withIsETicket
Deprecated.DeprecatedDeprecated: This field is not used by any payment product- true = The ticket is an E-Ticket
- false = the ticket is not an E-Ticket'
-
getIsRestrictedTicket
Indicates if the ticket is refundable or not.- true - Restricted, the ticket is non-refundable
- false - No restrictions, the ticket is (partially) refundable This field is used by the following payment products: 840
-
setIsRestrictedTicket
Indicates if the ticket is refundable or not.- true - Restricted, the ticket is non-refundable
- false - No restrictions, the ticket is (partially) refundable This field is used by the following payment products: 840
-
withIsRestrictedTicket
Indicates if the ticket is refundable or not.- true - Restricted, the ticket is non-refundable
- false - No restrictions, the ticket is (partially) refundable This field is used by the following payment products: 840
-
getIsThirdParty
Deprecated.This field is not used by any payment product * true - The payer is the ticket holder * false - The payer is not the ticket holderDeprecated: This field is not used by any payment product- true - The payer is the ticket holder
- false - The payer is not the ticket holder
-
setIsThirdParty
Deprecated.This field is not used by any payment product * true - The payer is the ticket holder * false - The payer is not the ticket holderDeprecated: This field is not used by any payment product- true - The payer is the ticket holder
- false - The payer is not the ticket holder
-
withIsThirdParty
Deprecated.This field is not used by any payment product * true - The payer is the ticket holder * false - The payer is not the ticket holderDeprecated: This field is not used by any payment product- true - The payer is the ticket holder
- false - The payer is not the ticket holder
-
getIssueDate
This is the date of issue recorded in the airline system In a case of multiple issuances of the same ticket to a cardholder, you should use the last ticket date. Format: YYYYMMDD This field is used by the following payment products: cards, 840 -
setIssueDate
This is the date of issue recorded in the airline system In a case of multiple issuances of the same ticket to a cardholder, you should use the last ticket date. Format: YYYYMMDD This field is used by the following payment products: cards, 840 -
withIssueDate
This is the date of issue recorded in the airline system In a case of multiple issuances of the same ticket to a cardholder, you should use the last ticket date. Format: YYYYMMDD This field is used by the following payment products: cards, 840 -
getMerchantCustomerId
Your ID of the customer in the context of the airline data This field is used by the following payment products: 840 -
setMerchantCustomerId
Your ID of the customer in the context of the airline data This field is used by the following payment products: 840 -
withMerchantCustomerId
Your ID of the customer in the context of the airline data This field is used by the following payment products: 840 -
getName
Deprecated.This field is not used by any payment product Name of the airlineDeprecated: This field is not used by any payment product Name of the airline -
setName
Deprecated.This field is not used by any payment product Name of the airlineDeprecated: This field is not used by any payment product Name of the airline -
withName
Deprecated.This field is not used by any payment product Name of the airlineDeprecated: This field is not used by any payment product Name of the airline -
getPassengerName
Deprecated.Use passengers instead Name of passengerDeprecated: Use passengers instead Name of passenger -
setPassengerName
Deprecated.Use passengers instead Name of passengerDeprecated: Use passengers instead Name of passenger -
withPassengerName
Deprecated.Use passengers instead Name of passengerDeprecated: Use passengers instead Name of passenger -
getPassengers
Object that holds the data on the individual passengers This field is used by the following payment products: cards, 840 -
setPassengers
Object that holds the data on the individual passengers This field is used by the following payment products: cards, 840 -
withPassengers
Object that holds the data on the individual passengers This field is used by the following payment products: cards, 840 -
getPlaceOfIssue
Deprecated.This field is not used by any payment product Place of issue For sales in the US the last two characters (pos 14-15) must be the US state code.Deprecated: This field is not used by any payment product Place of issue For sales in the US the last two characters (pos 14-15) must be the US state code. -
setPlaceOfIssue
Deprecated.This field is not used by any payment product Place of issue For sales in the US the last two characters (pos 14-15) must be the US state code.Deprecated: This field is not used by any payment product Place of issue For sales in the US the last two characters (pos 14-15) must be the US state code. -
withPlaceOfIssue
Deprecated.This field is not used by any payment product Place of issue For sales in the US the last two characters (pos 14-15) must be the US state code.Deprecated: This field is not used by any payment product Place of issue For sales in the US the last two characters (pos 14-15) must be the US state code. -
getPnr
Deprecated.Use passengers instead.Deprecated. Use passengers instead. -
setPnr
Deprecated.Use passengers instead.Deprecated. Use passengers instead. -
withPnr
Deprecated.Use passengers instead.Deprecated. Use passengers instead. -
getPointOfSale
IATA point of sale name This field is used by the following payment products: 840 -
setPointOfSale
IATA point of sale name This field is used by the following payment products: 840 -
withPointOfSale
IATA point of sale name This field is used by the following payment products: 840 -
getPosCityCode
Deprecated.This field is not used by any payment product City code of the point of saleDeprecated: This field is not used by any payment product City code of the point of sale -
setPosCityCode
Deprecated.This field is not used by any payment product City code of the point of saleDeprecated: This field is not used by any payment product City code of the point of sale -
withPosCityCode
Deprecated.This field is not used by any payment product City code of the point of saleDeprecated: This field is not used by any payment product City code of the point of sale -
getTicketCurrency
Three-letter ISO currency code representing the currency in which ticket purchase amount is expressed. -
setTicketCurrency
Three-letter ISO currency code representing the currency in which ticket purchase amount is expressed. -
withTicketCurrency
Three-letter ISO currency code representing the currency in which ticket purchase amount is expressed. -
getTicketDeliveryMethod
Deprecated.This field is not used by any payment product Delivery method of the ticketDeprecated: This field is not used by any payment product Delivery method of the ticket -
setTicketDeliveryMethod
Deprecated.This field is not used by any payment product Delivery method of the ticketDeprecated: This field is not used by any payment product Delivery method of the ticket -
withTicketDeliveryMethod
Deprecated.This field is not used by any payment product Delivery method of the ticketDeprecated: This field is not used by any payment product Delivery method of the ticket -
getTicketNumber
The ticket or document number contains:- Airline code: 3-digit airline code number
- Form code: A maximum of 3 digits indicating the type of document, the source of issue and the number of coupons it contains
- Serial number: A maximum of 8 digits allocated on a sequential basis, provided that the total number of digits allocated to the form code and serial number shall not exceed ten
- TICKETNUMBER can be replaced with PNR if the ticket number is unavailable This field is used by the following payment products: cards, 840
-
setTicketNumber
The ticket or document number contains:- Airline code: 3-digit airline code number
- Form code: A maximum of 3 digits indicating the type of document, the source of issue and the number of coupons it contains
- Serial number: A maximum of 8 digits allocated on a sequential basis, provided that the total number of digits allocated to the form code and serial number shall not exceed ten
- TICKETNUMBER can be replaced with PNR if the ticket number is unavailable This field is used by the following payment products: cards, 840
-
withTicketNumber
The ticket or document number contains:- Airline code: 3-digit airline code number
- Form code: A maximum of 3 digits indicating the type of document, the source of issue and the number of coupons it contains
- Serial number: A maximum of 8 digits allocated on a sequential basis, provided that the total number of digits allocated to the form code and serial number shall not exceed ten
- TICKETNUMBER can be replaced with PNR if the ticket number is unavailable This field is used by the following payment products: cards, 840
-
getTotalFare
Total fare for all legs on the ticket, excluding taxes and fees. If multiple tickets are purchased, this is the total fare for all tickets This field is used by the following payment products: 840 -
setTotalFare
Total fare for all legs on the ticket, excluding taxes and fees. If multiple tickets are purchased, this is the total fare for all tickets This field is used by the following payment products: 840 -
withTotalFare
Total fare for all legs on the ticket, excluding taxes and fees. If multiple tickets are purchased, this is the total fare for all tickets This field is used by the following payment products: 840 -
getTotalFee
Total fee for all legs on the ticket. If multiple tickets are purchased, this is the total fee for all tickets This field is used by the following payment products: 840 -
setTotalFee
Total fee for all legs on the ticket. If multiple tickets are purchased, this is the total fee for all tickets This field is used by the following payment products: 840 -
withTotalFee
Total fee for all legs on the ticket. If multiple tickets are purchased, this is the total fee for all tickets This field is used by the following payment products: 840 -
getTotalTaxes
Total taxes for all legs on the ticket. If multiple tickets are purchased, this is the total taxes for all tickets This field is used by the following payment products: 840 -
setTotalTaxes
Total taxes for all legs on the ticket. If multiple tickets are purchased, this is the total taxes for all tickets This field is used by the following payment products: 840 -
withTotalTaxes
Total taxes for all legs on the ticket. If multiple tickets are purchased, this is the total taxes for all tickets This field is used by the following payment products: 840 -
getTravelAgencyName
Name of the travel agency issuing the ticket. For direct airline integration, leave this property blank This field is used by the following payment products: 840 -
setTravelAgencyName
Name of the travel agency issuing the ticket. For direct airline integration, leave this property blank This field is used by the following payment products: 840 -
withTravelAgencyName
Name of the travel agency issuing the ticket. For direct airline integration, leave this property blank This field is used by the following payment products: 840
-