Class AirlineData

java.lang.Object
com.onlinepayments.domain.AirlineData

public class AirlineData extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Numeric code identifying the agent This field is used by the following payment products: 840
    Airline numeric code This field is used by the following payment products: 840
    Deprecated.
    This field is not used by any payment product Date of the Flight Format: YYYYMMDD
    Indicator representing the type of flight on the itinerary.
    Object that holds the data on the individual legs of the flight ticket
    Airline tracing number This field is used by the following payment products: cards
    Deprecated.
    Deprecated
    Indicates 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 holder
    Your ID of the customer in the context of the airline data This field is used by the following payment products: 840
    Deprecated.
    This field is not used by any payment product Name of the airline
    Deprecated.
    Use passengers instead Name of passenger
    Object that holds the data on the individual passengers This field is used by the following payment products: cards, 840
    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.
    IATA point of sale name This field is used by the following payment products: 840
    Deprecated.
    This field is not used by any payment product City code of the point of sale
    Three-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 ticket
    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
    Total 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.
    void
    Numeric code identifying the agent This field is used by the following payment products: 840
    void
    setCode(String value)
    Airline numeric code This field is used by the following payment products: 840
    void
    Deprecated.
    This field is not used by any payment product Date of the Flight Format: YYYYMMDD
    void
    Indicator representing the type of flight on the itinerary.
    void
    Object that holds the data on the individual legs of the flight ticket
    void
    Airline tracing number This field is used by the following payment products: cards
    void
    Deprecated.
    Deprecated
    void
    Indicates if the ticket is refundable or not.
    void
    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.
    void
    Deprecated.
    This field is not used by any payment product * true - The payer is the ticket holder * false - The payer is not the ticket holder
    void
    Your ID of the customer in the context of the airline data This field is used by the following payment products: 840
    void
    setName(String value)
    Deprecated.
    This field is not used by any payment product Name of the airline
    void
    Deprecated.
    Use passengers instead Name of passenger
    void
    Object that holds the data on the individual passengers This field is used by the following payment products: cards, 840
    void
    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.
    void
    setPnr(String value)
    Deprecated.
    Use passengers instead.
    void
    IATA point of sale name This field is used by the following payment products: 840
    void
    Deprecated.
    This field is not used by any payment product City code of the point of sale
    void
    Three-letter ISO currency code representing the currency in which ticket purchase amount is expressed.
    void
    Deprecated.
    This field is not used by any payment product Delivery method of the ticket
    void
    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
    void
    Total fare for all legs on the ticket, excluding taxes and fees.
    void
    Total fee for all legs on the ticket.
    void
    Total taxes for all legs on the ticket.
    void
    Name of the travel agency issuing the ticket.
    Numeric code identifying the agent This field is used by the following payment products: 840
    Airline numeric code This field is used by the following payment products: 840
    Deprecated.
    This field is not used by any payment product Date of the Flight Format: YYYYMMDD
    Indicator representing the type of flight on the itinerary.
    Object that holds the data on the individual legs of the flight ticket
    Airline tracing number This field is used by the following payment products: cards
    Deprecated.
    Deprecated
    Indicates 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 holder
    Your ID of the customer in the context of the airline data This field is used by the following payment products: 840
    Deprecated.
    This field is not used by any payment product Name of the airline
    Deprecated.
    Use passengers instead Name of passenger
    Object that holds the data on the individual passengers This field is used by the following payment products: cards, 840
    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.
    withPnr(String value)
    Deprecated.
    Use passengers instead.
    IATA point of sale name This field is used by the following payment products: 840
    Deprecated.
    This field is not used by any payment product City code of the point of sale
    Three-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 ticket
    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
    Total 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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AirlineData

      public AirlineData()
  • Method Details

    • getAgentNumericCode

      public String getAgentNumericCode()
      Numeric code identifying the agent This field is used by the following payment products: 840
    • setAgentNumericCode

      public void setAgentNumericCode(String value)
      Numeric code identifying the agent This field is used by the following payment products: 840
    • withAgentNumericCode

      public AirlineData withAgentNumericCode(String value)
      Numeric code identifying the agent This field is used by the following payment products: 840
    • getCode

      public String getCode()
      Airline numeric code This field is used by the following payment products: 840
    • setCode

      public void setCode(String value)
      Airline numeric code This field is used by the following payment products: 840
    • withCode

      public AirlineData withCode(String value)
      Airline numeric code This field is used by the following payment products: 840
    • getFlightDate

      @Deprecated public String getFlightDate()
      Deprecated.
      This field is not used by any payment product Date of the Flight Format: YYYYMMDD
      Deprecated: This field is not used by any payment product Date of the Flight Format: YYYYMMDD
    • setFlightDate

      @Deprecated public void setFlightDate(String value)
      Deprecated.
      This field is not used by any payment product Date of the Flight Format: YYYYMMDD
      Deprecated: This field is not used by any payment product Date of the Flight Format: YYYYMMDD
    • withFlightDate

      @Deprecated public AirlineData withFlightDate(String value)
      Deprecated.
      This field is not used by any payment product Date of the Flight Format: YYYYMMDD
      Deprecated: This field is not used by any payment product Date of the Flight Format: YYYYMMDD
    • getFlightIndicator

      public String getFlightIndicator()
      Indicator representing the type of flight on the itinerary.
    • setFlightIndicator

      public void setFlightIndicator(String value)
      Indicator representing the type of flight on the itinerary.
    • withFlightIndicator

      public AirlineData withFlightIndicator(String value)
      Indicator representing the type of flight on the itinerary.
    • getFlightLegs

      public List<AirlineFlightLeg> getFlightLegs()
      Object that holds the data on the individual legs of the flight ticket
    • setFlightLegs

      public void setFlightLegs(List<AirlineFlightLeg> value)
      Object that holds the data on the individual legs of the flight ticket
    • withFlightLegs

      public AirlineData withFlightLegs(List<AirlineFlightLeg> value)
      Object that holds the data on the individual legs of the flight ticket
    • getInvoiceNumber

      public String getInvoiceNumber()
      Airline tracing number This field is used by the following payment products: cards
    • setInvoiceNumber

      public void setInvoiceNumber(String value)
      Airline tracing number This field is used by the following payment products: cards
    • withInvoiceNumber

      public AirlineData withInvoiceNumber(String value)
      Airline tracing number This field is used by the following payment products: cards
    • getIsETicket

      @Deprecated public Boolean getIsETicket()
      Deprecated.
      Deprecated
      Deprecated: 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 public void setIsETicket(Boolean value)
      Deprecated.
      Deprecated
      Deprecated: 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 public AirlineData withIsETicket(Boolean value)
      Deprecated.
      Deprecated
      Deprecated: 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

      public Boolean 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

      public void setIsRestrictedTicket(Boolean value)
      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

      public AirlineData withIsRestrictedTicket(Boolean value)
      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 public Boolean 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 holder
      Deprecated: 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 public void setIsThirdParty(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 holder
      Deprecated: 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 public AirlineData 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 holder
      Deprecated: 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

      public String 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

      public void setIssueDate(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. Format: YYYYMMDD This field is used by the following payment products: cards, 840
    • withIssueDate

      public AirlineData 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. Format: YYYYMMDD This field is used by the following payment products: cards, 840
    • getMerchantCustomerId

      public String getMerchantCustomerId()
      Your ID of the customer in the context of the airline data This field is used by the following payment products: 840
    • setMerchantCustomerId

      public void setMerchantCustomerId(String value)
      Your ID of the customer in the context of the airline data This field is used by the following payment products: 840
    • withMerchantCustomerId

      public AirlineData withMerchantCustomerId(String value)
      Your ID of the customer in the context of the airline data This field is used by the following payment products: 840
    • getName

      @Deprecated public String getName()
      Deprecated.
      This field is not used by any payment product Name of the airline
      Deprecated: This field is not used by any payment product Name of the airline
    • setName

      @Deprecated public void setName(String value)
      Deprecated.
      This field is not used by any payment product Name of the airline
      Deprecated: This field is not used by any payment product Name of the airline
    • withName

      @Deprecated public AirlineData withName(String value)
      Deprecated.
      This field is not used by any payment product Name of the airline
      Deprecated: This field is not used by any payment product Name of the airline
    • getPassengerName

      @Deprecated public String getPassengerName()
      Deprecated.
      Use passengers instead Name of passenger
      Deprecated: Use passengers instead Name of passenger
    • setPassengerName

      @Deprecated public void setPassengerName(String value)
      Deprecated.
      Use passengers instead Name of passenger
      Deprecated: Use passengers instead Name of passenger
    • withPassengerName

      @Deprecated public AirlineData withPassengerName(String value)
      Deprecated.
      Use passengers instead Name of passenger
      Deprecated: Use passengers instead Name of passenger
    • getPassengers

      public List<AirlinePassenger> getPassengers()
      Object that holds the data on the individual passengers This field is used by the following payment products: cards, 840
    • setPassengers

      public void setPassengers(List<AirlinePassenger> value)
      Object that holds the data on the individual passengers This field is used by the following payment products: cards, 840
    • withPassengers

      public AirlineData withPassengers(List<AirlinePassenger> value)
      Object that holds the data on the individual passengers This field is used by the following payment products: cards, 840
    • getPlaceOfIssue

      @Deprecated public String 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 public void setPlaceOfIssue(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: 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 public AirlineData withPlaceOfIssue(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: 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 public String getPnr()
      Deprecated.
      Use passengers instead.
      Deprecated. Use passengers instead.
    • setPnr

      @Deprecated public void setPnr(String value)
      Deprecated.
      Use passengers instead.
      Deprecated. Use passengers instead.
    • withPnr

      @Deprecated public AirlineData withPnr(String value)
      Deprecated.
      Use passengers instead.
      Deprecated. Use passengers instead.
    • getPointOfSale

      public String getPointOfSale()
      IATA point of sale name This field is used by the following payment products: 840
    • setPointOfSale

      public void setPointOfSale(String value)
      IATA point of sale name This field is used by the following payment products: 840
    • withPointOfSale

      public AirlineData withPointOfSale(String value)
      IATA point of sale name This field is used by the following payment products: 840
    • getPosCityCode

      @Deprecated public String getPosCityCode()
      Deprecated.
      This field is not used by any payment product City code of the point of sale
      Deprecated: This field is not used by any payment product City code of the point of sale
    • setPosCityCode

      @Deprecated public void setPosCityCode(String value)
      Deprecated.
      This field is not used by any payment product City code of the point of sale
      Deprecated: This field is not used by any payment product City code of the point of sale
    • withPosCityCode

      @Deprecated public AirlineData withPosCityCode(String value)
      Deprecated.
      This field is not used by any payment product City code of the point of sale
      Deprecated: This field is not used by any payment product City code of the point of sale
    • getTicketCurrency

      public String getTicketCurrency()
      Three-letter ISO currency code representing the currency in which ticket purchase amount is expressed.
    • setTicketCurrency

      public void setTicketCurrency(String value)
      Three-letter ISO currency code representing the currency in which ticket purchase amount is expressed.
    • withTicketCurrency

      public AirlineData withTicketCurrency(String value)
      Three-letter ISO currency code representing the currency in which ticket purchase amount is expressed.
    • getTicketDeliveryMethod

      @Deprecated public String getTicketDeliveryMethod()
      Deprecated.
      This field is not used by any payment product Delivery method of the ticket
      Deprecated: This field is not used by any payment product Delivery method of the ticket
    • setTicketDeliveryMethod

      @Deprecated public void setTicketDeliveryMethod(String value)
      Deprecated.
      This field is not used by any payment product Delivery method of the ticket
      Deprecated: This field is not used by any payment product Delivery method of the ticket
    • withTicketDeliveryMethod

      @Deprecated public AirlineData withTicketDeliveryMethod(String value)
      Deprecated.
      This field is not used by any payment product Delivery method of the ticket
      Deprecated: This field is not used by any payment product Delivery method of the ticket
    • getTicketNumber

      public String 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

      public void setTicketNumber(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, 840
    • withTicketNumber

      public AirlineData withTicketNumber(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, 840
    • getTotalFare

      public Integer 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

      public void setTotalFare(Integer value)
      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

      public AirlineData withTotalFare(Integer value)
      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

      public Integer 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

      public void setTotalFee(Integer value)
      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

      public AirlineData withTotalFee(Integer value)
      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

      public Integer 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

      public void setTotalTaxes(Integer value)
      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

      public AirlineData withTotalTaxes(Integer value)
      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

      public String 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

      public void setTravelAgencyName(String value)
      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

      public AirlineData withTravelAgencyName(String value)
      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