java.lang.Object
de.hybris.platform.ndc182facades.messages.ordercreaterequest.SelectedOfferType

public class SelectedOfferType extends Object
Offer selected by the Passenger for requesting an Order to be created. Multiple Offers can be requested at the same time, each of which could originate from different shopping responses (each with their own ResponseIDs). Each Offer selected could ref

Java class for SelectedOfferType complex type.

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

 <complexType name="SelectedOfferType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="OfferRefID" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderCreateRQ}ID_Type"/>
         <element name="OwnerCode" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderCreateRQ}AirlineDesigCodeType"/>
         <element name="SelectedOfferItem" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderCreateRQ}SelectedOfferItemType" maxOccurs="unbounded"/>
         <element name="ShoppingResponseRefID" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderCreateRQ}ID_Type"/>
         <element name="TotalOfferPriceAmount" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderCreateRQ}AmountType" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • offerRefID

      protected String offerRefID
    • ownerCode

      protected String ownerCode
    • selectedOfferItem

      protected List<SelectedOfferItemType> selectedOfferItem
    • shoppingResponseRefID

      protected String shoppingResponseRefID
    • totalOfferPriceAmount

      protected AmountType totalOfferPriceAmount
  • Constructor Details

    • SelectedOfferType

      public SelectedOfferType()
  • Method Details

    • getOfferRefID

      public String getOfferRefID()
      Gets the value of the offerRefID property.
      Returns:
      possible object is String
    • setOfferRefID

      public void setOfferRefID(String value)
      Sets the value of the offerRefID property.
      Parameters:
      value - allowed object is String
    • getOwnerCode

      public String getOwnerCode()
      Gets the value of the ownerCode property.
      Returns:
      possible object is String
    • setOwnerCode

      public void setOwnerCode(String value)
      Sets the value of the ownerCode property.
      Parameters:
      value - allowed object is String
    • getSelectedOfferItem

      public List<SelectedOfferItemType> getSelectedOfferItem()
      Gets the value of the selectedOfferItem 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 selectedOfferItem property.

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

          getSelectedOfferItem().add(newItem);
       

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

    • getShoppingResponseRefID

      public String getShoppingResponseRefID()
      Gets the value of the shoppingResponseRefID property.
      Returns:
      possible object is String
    • setShoppingResponseRefID

      public void setShoppingResponseRefID(String value)
      Sets the value of the shoppingResponseRefID property.
      Parameters:
      value - allowed object is String
    • getTotalOfferPriceAmount

      public AmountType getTotalOfferPriceAmount()
      Gets the value of the totalOfferPriceAmount property.
      Returns:
      possible object is AmountType
    • setTotalOfferPriceAmount

      public void setTotalOfferPriceAmount(AmountType value)
      Sets the value of the totalOfferPriceAmount property.
      Parameters:
      value - allowed object is AmountType