Class AffinityRequestType
Java class for AffinityRequestType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AffinityRequestType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="AffinityOriginDest" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_AirShoppingRQ}AffinityOriginDestType" maxOccurs="unbounded"/>
<element name="BudgetAmount" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_AirShoppingRQ}AmountType" minOccurs="0"/>
<element name="JourneyDistanceCriteria" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_AirShoppingRQ}JourneyDistanceCriteriaType" minOccurs="0"/>
<element name="JourneyDurationCriteria" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_AirShoppingRQ}JourneyDurationCriteriaType" minOccurs="0"/>
<element name="KeywordPref" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_AirShoppingRQ}KeyValuePropertyType" maxOccurs="unbounded" minOccurs="0"/>
<element name="ShoppingResponse" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_AirShoppingRQ}ShoppingResponseType" minOccurs="0"/>
<element name="StayPeriod" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_AirShoppingRQ}StayPeriodType" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<AffinityOriginDestType>protected AmountTypeprotected JourneyDistanceCriteriaTypeprotected JourneyDurationCriteriaTypeprotected List<KeyValuePropertyType>protected ShoppingResponseTypeprotected StayPeriodType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the affinityOriginDest property.Gets the value of the budgetAmount property.Gets the value of the journeyDistanceCriteria property.Gets the value of the journeyDurationCriteria property.Gets the value of the keywordPref property.Gets the value of the shoppingResponse property.Gets the value of the stayPeriod property.voidsetBudgetAmount(AmountType value) Sets the value of the budgetAmount property.voidSets the value of the journeyDistanceCriteria property.voidSets the value of the journeyDurationCriteria property.voidSets the value of the shoppingResponse property.voidsetStayPeriod(StayPeriodType value) Sets the value of the stayPeriod property.
-
Field Details
-
affinityOriginDest
-
budgetAmount
-
journeyDistanceCriteria
-
journeyDurationCriteria
-
keywordPref
-
shoppingResponse
-
stayPeriod
-
-
Constructor Details
-
AffinityRequestType
public AffinityRequestType()
-
-
Method Details
-
getAffinityOriginDest
Gets the value of the affinityOriginDest 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 affinityOriginDest property.For example, to add a new item, do as follows:
getAffinityOriginDest().add(newItem);Objects of the following type(s) are allowed in the list
AffinityOriginDestType -
getBudgetAmount
Gets the value of the budgetAmount property.- Returns:
- possible object is
AmountType
-
setBudgetAmount
Sets the value of the budgetAmount property.- Parameters:
value- allowed object isAmountType
-
getJourneyDistanceCriteria
Gets the value of the journeyDistanceCriteria property.- Returns:
- possible object is
JourneyDistanceCriteriaType
-
setJourneyDistanceCriteria
Sets the value of the journeyDistanceCriteria property.- Parameters:
value- allowed object isJourneyDistanceCriteriaType
-
getJourneyDurationCriteria
Gets the value of the journeyDurationCriteria property.- Returns:
- possible object is
JourneyDurationCriteriaType
-
setJourneyDurationCriteria
Sets the value of the journeyDurationCriteria property.- Parameters:
value- allowed object isJourneyDurationCriteriaType
-
getKeywordPref
Gets the value of the keywordPref 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 keywordPref property.For example, to add a new item, do as follows:
getKeywordPref().add(newItem);Objects of the following type(s) are allowed in the list
KeyValuePropertyType -
getShoppingResponse
Gets the value of the shoppingResponse property.- Returns:
- possible object is
ShoppingResponseType
-
setShoppingResponse
Sets the value of the shoppingResponse property.- Parameters:
value- allowed object isShoppingResponseType
-
getStayPeriod
Gets the value of the stayPeriod property.- Returns:
- possible object is
StayPeriodType
-
setStayPeriod
Sets the value of the stayPeriod property.- Parameters:
value- allowed object isStayPeriodType
-