java.lang.Object
de.hybris.platform.ndc182facades.messages.offerpriceresponse.FareComponentType

public class FareComponentType extends Object
A portion of an itinerary between two consecutive fare construction points. If the journey has only one fare component, the points of origin and destination are the only fare construction points

Java class for FareComponentType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="FareComponentType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="CabinType" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OfferPriceRS}CabinTypeType" minOccurs="0"/>
         <element name="FareBasisAppCode" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OfferPriceRS}CodeType" minOccurs="0"/>
         <element name="FareBasisCityPairText" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OfferPriceRS}TextType" minOccurs="0"/>
         <element name="FareBasisCode" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OfferPriceRS}CodeType" minOccurs="0"/>
         <element name="FareRule" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OfferPriceRS}FareRuleType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="FareTypeCode" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OfferPriceRS}CodeType" minOccurs="0"/>
         <element name="PaxSegmentRefID" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OfferPriceRS}ID_Type" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Price" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OfferPriceRS}PriceType" minOccurs="0"/>
         <element name="PriceClassRefID" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OfferPriceRS}ID_Type" minOccurs="0"/>
         <element name="RBD" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OfferPriceRS}RBDType" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • cabinType

      protected CabinTypeType cabinType
    • fareBasisAppCode

      protected String fareBasisAppCode
    • fareBasisCityPairText

      protected String fareBasisCityPairText
    • fareBasisCode

      protected String fareBasisCode
    • fareRule

      protected List<FareRuleType> fareRule
    • fareTypeCode

      protected String fareTypeCode
    • paxSegmentRefID

      protected List<String> paxSegmentRefID
    • price

      protected PriceType price
    • priceClassRefID

      protected String priceClassRefID
    • rbd

      protected RBDType rbd
  • Constructor Details

    • FareComponentType

      public FareComponentType()
  • Method Details

    • getCabinType

      public CabinTypeType getCabinType()
      Gets the value of the cabinType property.
      Returns:
      possible object is CabinTypeType
    • setCabinType

      public void setCabinType(CabinTypeType value)
      Sets the value of the cabinType property.
      Parameters:
      value - allowed object is CabinTypeType
    • getFareBasisAppCode

      public String getFareBasisAppCode()
      Gets the value of the fareBasisAppCode property.
      Returns:
      possible object is String
    • setFareBasisAppCode

      public void setFareBasisAppCode(String value)
      Sets the value of the fareBasisAppCode property.
      Parameters:
      value - allowed object is String
    • getFareBasisCityPairText

      public String getFareBasisCityPairText()
      Gets the value of the fareBasisCityPairText property.
      Returns:
      possible object is String
    • setFareBasisCityPairText

      public void setFareBasisCityPairText(String value)
      Sets the value of the fareBasisCityPairText property.
      Parameters:
      value - allowed object is String
    • getFareBasisCode

      public String getFareBasisCode()
      Gets the value of the fareBasisCode property.
      Returns:
      possible object is String
    • setFareBasisCode

      public void setFareBasisCode(String value)
      Sets the value of the fareBasisCode property.
      Parameters:
      value - allowed object is String
    • getFareRule

      public List<FareRuleType> getFareRule()
      Gets the value of the fareRule property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the fareRule property.

      For example, to add a new item, do as follows:

          getFareRule().add(newItem);
       

      Objects of the following type(s) are allowed in the list FareRuleType

    • getFareTypeCode

      public String getFareTypeCode()
      Gets the value of the fareTypeCode property.
      Returns:
      possible object is String
    • setFareTypeCode

      public void setFareTypeCode(String value)
      Sets the value of the fareTypeCode property.
      Parameters:
      value - allowed object is String
    • getPaxSegmentRefID

      public List<String> getPaxSegmentRefID()
      Gets the value of the paxSegmentRefID property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the paxSegmentRefID property.

      For example, to add a new item, do as follows:

          getPaxSegmentRefID().add(newItem);
       

      Objects of the following type(s) are allowed in the list String

    • getPrice

      public PriceType getPrice()
      Gets the value of the price property.
      Returns:
      possible object is PriceType
    • setPrice

      public void setPrice(PriceType value)
      Sets the value of the price property.
      Parameters:
      value - allowed object is PriceType
    • getPriceClassRefID

      public String getPriceClassRefID()
      Gets the value of the priceClassRefID property.
      Returns:
      possible object is String
    • setPriceClassRefID

      public void setPriceClassRefID(String value)
      Sets the value of the priceClassRefID property.
      Parameters:
      value - allowed object is String
    • getRBD

      public RBDType getRBD()
      Gets the value of the rbd property.
      Returns:
      possible object is RBDType
    • setRBD

      public void setRBD(RBDType value)
      Sets the value of the rbd property.
      Parameters:
      value - allowed object is RBDType