Class OfferItemType
java.lang.Object
de.hybris.platform.ndc182facades.messages.seatavailabilityresponse.OfferItemType
A priced grouping of one or more services within an Offer.
Java class for OfferItemType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="OfferItemType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="MandatoryInd" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_SeatAvailabilityRS}IndType" minOccurs="0"/>
<element name="ModificationProhibitedInd" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_SeatAvailabilityRS}IndType" minOccurs="0"/>
<element name="OfferItemID" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_SeatAvailabilityRS}ID_Type" minOccurs="0"/>
<element name="Price" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_SeatAvailabilityRS}PriceType"/>
<element name="Service" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_SeatAvailabilityRS}ServiceType" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the offerItemID property.getPrice()Gets the value of the price property.Gets the value of the service property.Gets the value of the mandatoryInd property.Gets the value of the modificationProhibitedInd property.voidsetMandatoryInd(Boolean value) Sets the value of the mandatoryInd property.voidSets the value of the modificationProhibitedInd property.voidsetOfferItemID(String value) Sets the value of the offerItemID property.voidSets the value of the price property.
-
Field Details
-
mandatoryInd
-
modificationProhibitedInd
-
offerItemID
-
price
-
service
-
-
Constructor Details
-
OfferItemType
public OfferItemType()
-
-
Method Details
-
isMandatoryInd
Gets the value of the mandatoryInd property.- Returns:
- possible object is
Boolean
-
setMandatoryInd
Sets the value of the mandatoryInd property.- Parameters:
value- allowed object isBoolean
-
isModificationProhibitedInd
Gets the value of the modificationProhibitedInd property.- Returns:
- possible object is
Boolean
-
setModificationProhibitedInd
Sets the value of the modificationProhibitedInd property.- Parameters:
value- allowed object isBoolean
-
getOfferItemID
Gets the value of the offerItemID property.- Returns:
- possible object is
String
-
setOfferItemID
Sets the value of the offerItemID property.- Parameters:
value- allowed object isString
-
getPrice
Gets the value of the price property.- Returns:
- possible object is
PriceType
-
setPrice
Sets the value of the price property.- Parameters:
value- allowed object isPriceType
-
getService
Gets the value of the service 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 service property.For example, to add a new item, do as follows:
getService().add(newItem);Objects of the following type(s) are allowed in the list
ServiceType
-