java.lang.Object
de.hybris.platform.ndc182shoppingfacades.messages.airshoppingrequest.StayPeriodType

public class StayPeriodType extends Object
Time constraints for an Affinity Shopping request including specific Dates, Seasons, Months, or Durations.

Java class for StayPeriodType complex type.

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

 <complexType name="StayPeriodType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="EndDate" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_AirShoppingRQ}DateType" minOccurs="0"/>
         <element name="MaximumStayNumber" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_AirShoppingRQ}NumberType" minOccurs="0"/>
         <element name="MinimumStayNumber" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_AirShoppingRQ}NumberType" minOccurs="0"/>
         <element name="StartDate" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_AirShoppingRQ}DateType" minOccurs="0"/>
         <element name="StayMonthName" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_AirShoppingRQ}NameType" maxOccurs="12" minOccurs="0"/>
         <element name="StayQuarterText" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_AirShoppingRQ}TextType" maxOccurs="4" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • StayPeriodType

      public StayPeriodType()
  • Method Details

    • getEndDate

      public XMLGregorianCalendar getEndDate()
      Gets the value of the endDate property.
      Returns:
      possible object is XMLGregorianCalendar
    • setEndDate

      public void setEndDate(XMLGregorianCalendar value)
      Sets the value of the endDate property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
    • getMaximumStayNumber

      public BigDecimal getMaximumStayNumber()
      Gets the value of the maximumStayNumber property.
      Returns:
      possible object is BigDecimal
    • setMaximumStayNumber

      public void setMaximumStayNumber(BigDecimal value)
      Sets the value of the maximumStayNumber property.
      Parameters:
      value - allowed object is BigDecimal
    • getMinimumStayNumber

      public BigDecimal getMinimumStayNumber()
      Gets the value of the minimumStayNumber property.
      Returns:
      possible object is BigDecimal
    • setMinimumStayNumber

      public void setMinimumStayNumber(BigDecimal value)
      Sets the value of the minimumStayNumber property.
      Parameters:
      value - allowed object is BigDecimal
    • getStartDate

      public XMLGregorianCalendar getStartDate()
      Gets the value of the startDate property.
      Returns:
      possible object is XMLGregorianCalendar
    • setStartDate

      public void setStartDate(XMLGregorianCalendar value)
      Sets the value of the startDate property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
    • getStayMonthName

      public List<String> getStayMonthName()
      Gets the value of the stayMonthName 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 stayMonthName property.

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

          getStayMonthName().add(newItem);
       

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

    • getStayQuarterText

      public List<String> getStayQuarterText()
      Gets the value of the stayQuarterText 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 stayQuarterText property.

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

          getStayQuarterText().add(newItem);
       

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