java.lang.Object
de.hybris.platform.ndc182facades.messages.ordercreaterequest.FareRuleType

public class FareRuleType extends Object
Special purchasing rules and restrictions used to differentiate fare levels from one another.

Java class for FareRuleType complex type.

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

 <complexType name="FareRuleType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="InstantPurchaseTypeCode" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderCreateRQ}CodeType" minOccurs="0"/>
         <element name="Penalty" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderCreateRQ}PenaltyType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Remark" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderCreateRQ}RemarkType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="RuleCode" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderCreateRQ}CodeType" minOccurs="0"/>
         <element name="TicketlessInd" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderCreateRQ}IndType" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • instantPurchaseTypeCode

      protected String instantPurchaseTypeCode
    • penalty

      protected List<PenaltyType> penalty
    • remark

      protected List<RemarkType> remark
    • ruleCode

      protected String ruleCode
    • ticketlessInd

      protected Boolean ticketlessInd
  • Constructor Details

    • FareRuleType

      public FareRuleType()
  • Method Details

    • getInstantPurchaseTypeCode

      public String getInstantPurchaseTypeCode()
      Gets the value of the instantPurchaseTypeCode property.
      Returns:
      possible object is String
    • setInstantPurchaseTypeCode

      public void setInstantPurchaseTypeCode(String value)
      Sets the value of the instantPurchaseTypeCode property.
      Parameters:
      value - allowed object is String
    • getPenalty

      public List<PenaltyType> getPenalty()
      Gets the value of the penalty 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 penalty property.

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

          getPenalty().add(newItem);
       

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

    • getRemark

      public List<RemarkType> getRemark()
      Gets the value of the remark 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 remark property.

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

          getRemark().add(newItem);
       

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

    • getRuleCode

      public String getRuleCode()
      Gets the value of the ruleCode property.
      Returns:
      possible object is String
    • setRuleCode

      public void setRuleCode(String value)
      Sets the value of the ruleCode property.
      Parameters:
      value - allowed object is String
    • isTicketlessInd

      public Boolean isTicketlessInd()
      Gets the value of the ticketlessInd property.
      Returns:
      possible object is Boolean
    • setTicketlessInd

      public void setTicketlessInd(Boolean value)
      Sets the value of the ticketlessInd property.
      Parameters:
      value - allowed object is Boolean