java.lang.Object
de.hybris.platform.ndc182facades.messages.seatavailabilityresponse.PenaltyType

public class PenaltyType extends Object
Information related to a punishment imposed for breaking a law, rule, or contract.

Java class for PenaltyType complex type.

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

 <complexType name="PenaltyType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="AppCode" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_SeatAvailabilityRS}PenaltyAppCodeType" minOccurs="0"/>
         <element name="CancelFeeInd" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_SeatAvailabilityRS}IndType" minOccurs="0"/>
         <element name="ChangeFeeInd" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_SeatAvailabilityRS}IndType" minOccurs="0"/>
         <element name="DescText" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_SeatAvailabilityRS}TextType" maxOccurs="99" minOccurs="0"/>
         <element name="PenaltyAmount" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_SeatAvailabilityRS}AmountType" minOccurs="0"/>
         <element name="PenaltyPercent" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_SeatAvailabilityRS}PercentType" minOccurs="0"/>
         <element name="TypeCode" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_SeatAvailabilityRS}PenaltyTypeCodeType" minOccurs="0"/>
         <element name="UpgradeFeeInd" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_SeatAvailabilityRS}IndType" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • PenaltyType

      public PenaltyType()
  • Method Details

    • getAppCode

      public String getAppCode()
      Gets the value of the appCode property.
      Returns:
      possible object is String
    • setAppCode

      public void setAppCode(String value)
      Sets the value of the appCode property.
      Parameters:
      value - allowed object is String
    • isCancelFeeInd

      public Boolean isCancelFeeInd()
      Gets the value of the cancelFeeInd property.
      Returns:
      possible object is Boolean
    • setCancelFeeInd

      public void setCancelFeeInd(Boolean value)
      Sets the value of the cancelFeeInd property.
      Parameters:
      value - allowed object is Boolean
    • isChangeFeeInd

      public Boolean isChangeFeeInd()
      Gets the value of the changeFeeInd property.
      Returns:
      possible object is Boolean
    • setChangeFeeInd

      public void setChangeFeeInd(Boolean value)
      Sets the value of the changeFeeInd property.
      Parameters:
      value - allowed object is Boolean
    • getDescText

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

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

          getDescText().add(newItem);
       

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

    • getPenaltyAmount

      public AmountType getPenaltyAmount()
      Gets the value of the penaltyAmount property.
      Returns:
      possible object is AmountType
    • setPenaltyAmount

      public void setPenaltyAmount(AmountType value)
      Sets the value of the penaltyAmount property.
      Parameters:
      value - allowed object is AmountType
    • getPenaltyPercent

      public BigDecimal getPenaltyPercent()
      Gets the value of the penaltyPercent property.
      Returns:
      possible object is BigDecimal
    • setPenaltyPercent

      public void setPenaltyPercent(BigDecimal value)
      Sets the value of the penaltyPercent property.
      Parameters:
      value - allowed object is BigDecimal
    • getTypeCode

      public PenaltyTypeCodeContentType getTypeCode()
      Gets the value of the typeCode property.
      Returns:
      possible object is PenaltyTypeCodeContentType
    • setTypeCode

      public void setTypeCode(PenaltyTypeCodeContentType value)
      Sets the value of the typeCode property.
      Parameters:
      value - allowed object is PenaltyTypeCodeContentType
    • isUpgradeFeeInd

      public Boolean isUpgradeFeeInd()
      Gets the value of the upgradeFeeInd property.
      Returns:
      possible object is Boolean
    • setUpgradeFeeInd

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