java.lang.Object
de.hybris.platform.ndc182facades.messages.airshoppingrequest.AffinityRequestType

public class AffinityRequestType extends Object
Affinity search includes a wide range of criteria including generic origin/destination information, trip time periods, as well as travel budget.

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 Details

  • Constructor Details

    • AffinityRequestType

      public AffinityRequestType()
  • Method Details

    • getAffinityOriginDest

      public List<AffinityOriginDestType> 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 set method 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

      public AmountType getBudgetAmount()
      Gets the value of the budgetAmount property.
      Returns:
      possible object is AmountType
    • setBudgetAmount

      public void setBudgetAmount(AmountType value)
      Sets the value of the budgetAmount property.
      Parameters:
      value - allowed object is AmountType
    • getJourneyDistanceCriteria

      public JourneyDistanceCriteriaType getJourneyDistanceCriteria()
      Gets the value of the journeyDistanceCriteria property.
      Returns:
      possible object is JourneyDistanceCriteriaType
    • setJourneyDistanceCriteria

      public void setJourneyDistanceCriteria(JourneyDistanceCriteriaType value)
      Sets the value of the journeyDistanceCriteria property.
      Parameters:
      value - allowed object is JourneyDistanceCriteriaType
    • getJourneyDurationCriteria

      public JourneyDurationCriteriaType getJourneyDurationCriteria()
      Gets the value of the journeyDurationCriteria property.
      Returns:
      possible object is JourneyDurationCriteriaType
    • setJourneyDurationCriteria

      public void setJourneyDurationCriteria(JourneyDurationCriteriaType value)
      Sets the value of the journeyDurationCriteria property.
      Parameters:
      value - allowed object is JourneyDurationCriteriaType
    • getKeywordPref

      public List<KeyValuePropertyType> 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 set method 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

      public ShoppingResponseType getShoppingResponse()
      Gets the value of the shoppingResponse property.
      Returns:
      possible object is ShoppingResponseType
    • setShoppingResponse

      public void setShoppingResponse(ShoppingResponseType value)
      Sets the value of the shoppingResponse property.
      Parameters:
      value - allowed object is ShoppingResponseType
    • getStayPeriod

      public StayPeriodType getStayPeriod()
      Gets the value of the stayPeriod property.
      Returns:
      possible object is StayPeriodType
    • setStayPeriod

      public void setStayPeriod(StayPeriodType value)
      Sets the value of the stayPeriod property.
      Parameters:
      value - allowed object is StayPeriodType