Class SelectedOfferType
java.lang.Object
de.hybris.platform.ndc182facades.messages.ordercreaterequest.SelectedOfferType
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 Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected List<SelectedOfferItemType>protected Stringprotected AmountType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the offerRefID property.Gets the value of the ownerCode property.Gets the value of the selectedOfferItem property.Gets the value of the shoppingResponseRefID property.Gets the value of the totalOfferPriceAmount property.voidsetOfferRefID(String value) Sets the value of the offerRefID property.voidsetOwnerCode(String value) Sets the value of the ownerCode property.voidsetShoppingResponseRefID(String value) Sets the value of the shoppingResponseRefID property.voidSets the value of the totalOfferPriceAmount property.
-
Field Details
-
offerRefID
-
ownerCode
-
selectedOfferItem
-
shoppingResponseRefID
-
totalOfferPriceAmount
-
-
Constructor Details
-
SelectedOfferType
public SelectedOfferType()
-
-
Method Details
-
getOfferRefID
Gets the value of the offerRefID property.- Returns:
- possible object is
String
-
setOfferRefID
Sets the value of the offerRefID property.- Parameters:
value- allowed object isString
-
getOwnerCode
Gets the value of the ownerCode property.- Returns:
- possible object is
String
-
setOwnerCode
Sets the value of the ownerCode property.- Parameters:
value- allowed object isString
-
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
setmethod 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
Gets the value of the shoppingResponseRefID property.- Returns:
- possible object is
String
-
setShoppingResponseRefID
Sets the value of the shoppingResponseRefID property.- Parameters:
value- allowed object isString
-
getTotalOfferPriceAmount
Gets the value of the totalOfferPriceAmount property.- Returns:
- possible object is
AmountType
-
setTotalOfferPriceAmount
Sets the value of the totalOfferPriceAmount property.- Parameters:
value- allowed object isAmountType
-