Class AirlineFlightLeg

java.lang.Object
com.onlinepayments.domain.AirlineFlightLeg

public class AirlineFlightLeg extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Reservation Booking Designator This field is used by the following payment products: cards
    Arrival airport/city code This field is used by the following payment products: 840
    The arrival time in the local time zone Format: HH:MM This field is used by the following payment products: 840
    IATA carrier code This field is used by the following payment products: cards, 840
    Identifying number of a ticket issued to a passenger in conjunction with this ticket and that constitutes a single contract of carriage This field is used by the following payment products: 840
    The coupon number associated with this leg of the trip.
    Date of the leg Format: YYYYMMDD This field is used by the following payment products: cards, 840
    The departure time in the local time at the departure airport Format: HH:MM This field is used by the following payment products: 840
    An endorsement can be an agency-added notation or a mandatory government required notation, such as value-added tax.
    New ticket number that is issued when a ticket is exchanged This field is used by the following payment products: 840
    Deprecated.
    Use legFare instead.
    Fare Basis/Ticket Designator This field is used by the following payment products: 840
    Fee for this leg of the trip This field is used by the following payment products: 840
    The flight number assigned by the airline carrier with no leading spaces Should be a numeric string This field is used by the following payment products: cards, 840
    Fee for this leg of the trip This field is used by the following payment products: 840
    Deprecated.
    This field is not used by any payment product Sequence number of the flight leg
    Origin airport/city code This field is used by the following payment products: cards, 840
    PassengerClass if this leg This field is used by the following payment products: 840
    Possible values are: permitted = Stopover permitted non-permitted = Stopover not permitted This field is used by the following payment products: cards, 840
    Taxes for this leg of the trip This field is used by the following payment products: 840
    void
    Reservation Booking Designator This field is used by the following payment products: cards
    void
    Arrival airport/city code This field is used by the following payment products: 840
    void
    The arrival time in the local time zone Format: HH:MM This field is used by the following payment products: 840
    void
    IATA carrier code This field is used by the following payment products: cards, 840
    void
    Identifying number of a ticket issued to a passenger in conjunction with this ticket and that constitutes a single contract of carriage This field is used by the following payment products: 840
    void
    The coupon number associated with this leg of the trip.
    void
    setDate(String value)
    Date of the leg Format: YYYYMMDD This field is used by the following payment products: cards, 840
    void
    The departure time in the local time at the departure airport Format: HH:MM This field is used by the following payment products: 840
    void
    An endorsement can be an agency-added notation or a mandatory government required notation, such as value-added tax.
    void
    New ticket number that is issued when a ticket is exchanged This field is used by the following payment products: 840
    void
    setFare(String value)
    Deprecated.
    Use legFare instead.
    void
    Fare Basis/Ticket Designator This field is used by the following payment products: 840
    void
    setFee(Integer value)
    Fee for this leg of the trip This field is used by the following payment products: 840
    void
    The flight number assigned by the airline carrier with no leading spaces Should be a numeric string This field is used by the following payment products: cards, 840
    void
    Fee for this leg of the trip This field is used by the following payment products: 840
    void
    Deprecated.
    This field is not used by any payment product Sequence number of the flight leg
    void
    Origin airport/city code This field is used by the following payment products: cards, 840
    void
    PassengerClass if this leg This field is used by the following payment products: 840
    void
    Possible values are: permitted = Stopover permitted non-permitted = Stopover not permitted This field is used by the following payment products: cards, 840
    void
    Taxes for this leg of the trip This field is used by the following payment products: 840
    Reservation Booking Designator This field is used by the following payment products: cards
    Arrival airport/city code This field is used by the following payment products: 840
    The arrival time in the local time zone Format: HH:MM This field is used by the following payment products: 840
    IATA carrier code This field is used by the following payment products: cards, 840
    Identifying number of a ticket issued to a passenger in conjunction with this ticket and that constitutes a single contract of carriage This field is used by the following payment products: 840
    The coupon number associated with this leg of the trip.
    Date of the leg Format: YYYYMMDD This field is used by the following payment products: cards, 840
    The departure time in the local time at the departure airport Format: HH:MM This field is used by the following payment products: 840
    An endorsement can be an agency-added notation or a mandatory government required notation, such as value-added tax.
    New ticket number that is issued when a ticket is exchanged This field is used by the following payment products: 840
    Deprecated.
    Use legFare instead.
    Fare Basis/Ticket Designator This field is used by the following payment products: 840
    Fee for this leg of the trip This field is used by the following payment products: 840
    The flight number assigned by the airline carrier with no leading spaces Should be a numeric string This field is used by the following payment products: cards, 840
    Fee for this leg of the trip This field is used by the following payment products: 840
    Deprecated.
    This field is not used by any payment product Sequence number of the flight leg
    Origin airport/city code This field is used by the following payment products: cards, 840
    PassengerClass if this leg This field is used by the following payment products: 840
    Possible values are: permitted = Stopover permitted non-permitted = Stopover not permitted This field is used by the following payment products: cards, 840
    Taxes for this leg of the trip This field is used by the following payment products: 840

    Methods inherited from class java.lang.Object

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

    • AirlineFlightLeg

      public AirlineFlightLeg()
  • Method Details

    • getAirlineClass

      public String getAirlineClass()
      Reservation Booking Designator This field is used by the following payment products: cards
    • setAirlineClass

      public void setAirlineClass(String value)
      Reservation Booking Designator This field is used by the following payment products: cards
    • withAirlineClass

      public AirlineFlightLeg withAirlineClass(String value)
      Reservation Booking Designator This field is used by the following payment products: cards
    • getArrivalAirport

      public String getArrivalAirport()
      Arrival airport/city code This field is used by the following payment products: 840
    • setArrivalAirport

      public void setArrivalAirport(String value)
      Arrival airport/city code This field is used by the following payment products: 840
    • withArrivalAirport

      public AirlineFlightLeg withArrivalAirport(String value)
      Arrival airport/city code This field is used by the following payment products: 840
    • getArrivalTime

      public String getArrivalTime()
      The arrival time in the local time zone Format: HH:MM This field is used by the following payment products: 840
    • setArrivalTime

      public void setArrivalTime(String value)
      The arrival time in the local time zone Format: HH:MM This field is used by the following payment products: 840
    • withArrivalTime

      public AirlineFlightLeg withArrivalTime(String value)
      The arrival time in the local time zone Format: HH:MM This field is used by the following payment products: 840
    • getCarrierCode

      public String getCarrierCode()
      IATA carrier code This field is used by the following payment products: cards, 840
    • setCarrierCode

      public void setCarrierCode(String value)
      IATA carrier code This field is used by the following payment products: cards, 840
    • withCarrierCode

      public AirlineFlightLeg withCarrierCode(String value)
      IATA carrier code This field is used by the following payment products: cards, 840
    • getConjunctionTicket

      public String getConjunctionTicket()
      Identifying number of a ticket issued to a passenger in conjunction with this ticket and that constitutes a single contract of carriage This field is used by the following payment products: 840
    • setConjunctionTicket

      public void setConjunctionTicket(String value)
      Identifying number of a ticket issued to a passenger in conjunction with this ticket and that constitutes a single contract of carriage This field is used by the following payment products: 840
    • withConjunctionTicket

      public AirlineFlightLeg withConjunctionTicket(String value)
      Identifying number of a ticket issued to a passenger in conjunction with this ticket and that constitutes a single contract of carriage This field is used by the following payment products: 840
    • getCouponNumber

      public String getCouponNumber()
      The coupon number associated with this leg of the trip. A ticket can contain several legs of travel, and each leg of travel requires a separate coupon This field is used by the following payment products: 840
    • setCouponNumber

      public void setCouponNumber(String value)
      The coupon number associated with this leg of the trip. A ticket can contain several legs of travel, and each leg of travel requires a separate coupon This field is used by the following payment products: 840
    • withCouponNumber

      public AirlineFlightLeg withCouponNumber(String value)
      The coupon number associated with this leg of the trip. A ticket can contain several legs of travel, and each leg of travel requires a separate coupon This field is used by the following payment products: 840
    • getDate

      public String getDate()
      Date of the leg Format: YYYYMMDD This field is used by the following payment products: cards, 840
    • setDate

      public void setDate(String value)
      Date of the leg Format: YYYYMMDD This field is used by the following payment products: cards, 840
    • withDate

      public AirlineFlightLeg withDate(String value)
      Date of the leg Format: YYYYMMDD This field is used by the following payment products: cards, 840
    • getDepartureTime

      public String getDepartureTime()
      The departure time in the local time at the departure airport Format: HH:MM This field is used by the following payment products: 840
    • setDepartureTime

      public void setDepartureTime(String value)
      The departure time in the local time at the departure airport Format: HH:MM This field is used by the following payment products: 840
    • withDepartureTime

      public AirlineFlightLeg withDepartureTime(String value)
      The departure time in the local time at the departure airport Format: HH:MM This field is used by the following payment products: 840
    • getEndorsementOrRestriction

      public String getEndorsementOrRestriction()
      An endorsement can be an agency-added notation or a mandatory government required notation, such as value-added tax. A restriction is a limitation based on the type of fare, such as a ticket with a 3-day minimum stay This field is used by the following payment products: 840
    • setEndorsementOrRestriction

      public void setEndorsementOrRestriction(String value)
      An endorsement can be an agency-added notation or a mandatory government required notation, such as value-added tax. A restriction is a limitation based on the type of fare, such as a ticket with a 3-day minimum stay This field is used by the following payment products: 840
    • withEndorsementOrRestriction

      public AirlineFlightLeg withEndorsementOrRestriction(String value)
      An endorsement can be an agency-added notation or a mandatory government required notation, such as value-added tax. A restriction is a limitation based on the type of fare, such as a ticket with a 3-day minimum stay This field is used by the following payment products: 840
    • getExchangeTicket

      public String getExchangeTicket()
      New ticket number that is issued when a ticket is exchanged This field is used by the following payment products: 840
    • setExchangeTicket

      public void setExchangeTicket(String value)
      New ticket number that is issued when a ticket is exchanged This field is used by the following payment products: 840
    • withExchangeTicket

      public AirlineFlightLeg withExchangeTicket(String value)
      New ticket number that is issued when a ticket is exchanged This field is used by the following payment products: 840
    • getFare

      @Deprecated public String getFare()
      Deprecated.
      Use legFare instead. Fare of this leg
      Deprecated: Use legFare instead. Fare of this leg
    • setFare

      @Deprecated public void setFare(String value)
      Deprecated.
      Use legFare instead. Fare of this leg
      Deprecated: Use legFare instead. Fare of this leg
    • withFare

      @Deprecated public AirlineFlightLeg withFare(String value)
      Deprecated.
      Use legFare instead. Fare of this leg
      Deprecated: Use legFare instead. Fare of this leg
    • getFareBasis

      public String getFareBasis()
      Fare Basis/Ticket Designator This field is used by the following payment products: 840
    • setFareBasis

      public void setFareBasis(String value)
      Fare Basis/Ticket Designator This field is used by the following payment products: 840
    • withFareBasis

      public AirlineFlightLeg withFareBasis(String value)
      Fare Basis/Ticket Designator This field is used by the following payment products: 840
    • getFee

      public Integer getFee()
      Fee for this leg of the trip This field is used by the following payment products: 840
    • setFee

      public void setFee(Integer value)
      Fee for this leg of the trip This field is used by the following payment products: 840
    • withFee

      public AirlineFlightLeg withFee(Integer value)
      Fee for this leg of the trip This field is used by the following payment products: 840
    • getFlightNumber

      public String getFlightNumber()
      The flight number assigned by the airline carrier with no leading spaces Should be a numeric string This field is used by the following payment products: cards, 840
    • setFlightNumber

      public void setFlightNumber(String value)
      The flight number assigned by the airline carrier with no leading spaces Should be a numeric string This field is used by the following payment products: cards, 840
    • withFlightNumber

      public AirlineFlightLeg withFlightNumber(String value)
      The flight number assigned by the airline carrier with no leading spaces Should be a numeric string This field is used by the following payment products: cards, 840
    • getLegFare

      public Integer getLegFare()
      Fee for this leg of the trip This field is used by the following payment products: 840
    • setLegFare

      public void setLegFare(Integer value)
      Fee for this leg of the trip This field is used by the following payment products: 840
    • withLegFare

      public AirlineFlightLeg withLegFare(Integer value)
      Fee for this leg of the trip This field is used by the following payment products: 840
    • getNumber

      @Deprecated public Integer getNumber()
      Deprecated.
      This field is not used by any payment product Sequence number of the flight leg
      Deprecated: This field is not used by any payment product Sequence number of the flight leg
    • setNumber

      @Deprecated public void setNumber(Integer value)
      Deprecated.
      This field is not used by any payment product Sequence number of the flight leg
      Deprecated: This field is not used by any payment product Sequence number of the flight leg
    • withNumber

      @Deprecated public AirlineFlightLeg withNumber(Integer value)
      Deprecated.
      This field is not used by any payment product Sequence number of the flight leg
      Deprecated: This field is not used by any payment product Sequence number of the flight leg
    • getOriginAirport

      public String getOriginAirport()
      Origin airport/city code This field is used by the following payment products: cards, 840
    • setOriginAirport

      public void setOriginAirport(String value)
      Origin airport/city code This field is used by the following payment products: cards, 840
    • withOriginAirport

      public AirlineFlightLeg withOriginAirport(String value)
      Origin airport/city code This field is used by the following payment products: cards, 840
    • getPassengerClass

      public String getPassengerClass()
      PassengerClass if this leg This field is used by the following payment products: 840
    • setPassengerClass

      public void setPassengerClass(String value)
      PassengerClass if this leg This field is used by the following payment products: 840
    • withPassengerClass

      public AirlineFlightLeg withPassengerClass(String value)
      PassengerClass if this leg This field is used by the following payment products: 840
    • getStopoverCode

      public String getStopoverCode()
      Possible values are:
      • permitted = Stopover permitted
      • non-permitted = Stopover not permitted This field is used by the following payment products: cards, 840
    • setStopoverCode

      public void setStopoverCode(String value)
      Possible values are:
      • permitted = Stopover permitted
      • non-permitted = Stopover not permitted This field is used by the following payment products: cards, 840
    • withStopoverCode

      public AirlineFlightLeg withStopoverCode(String value)
      Possible values are:
      • permitted = Stopover permitted
      • non-permitted = Stopover not permitted This field is used by the following payment products: cards, 840
    • getTaxes

      public Integer getTaxes()
      Taxes for this leg of the trip This field is used by the following payment products: 840
    • setTaxes

      public void setTaxes(Integer value)
      Taxes for this leg of the trip This field is used by the following payment products: 840
    • withTaxes

      public AirlineFlightLeg withTaxes(Integer value)
      Taxes for this leg of the trip This field is used by the following payment products: 840