Class PenaltyType
java.lang.Object
de.hybris.platform.oneorderfacades.oneorder.sdn.PenaltyType
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_ServiceDeliveryNotifRQ}PenaltyAppCodeType" minOccurs="0"/>
<element name="CancelFeeInd" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_ServiceDeliveryNotifRQ}IndType" minOccurs="0"/>
<element name="ChangeFeeInd" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_ServiceDeliveryNotifRQ}IndType" minOccurs="0"/>
<element name="DescText" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_ServiceDeliveryNotifRQ}TextType" maxOccurs="99" minOccurs="0"/>
<element name="PenaltyAmount" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_ServiceDeliveryNotifRQ}AmountType" minOccurs="0"/>
<element name="PenaltyPercent" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_ServiceDeliveryNotifRQ}PercentType" minOccurs="0"/>
<element name="TypeCode" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_ServiceDeliveryNotifRQ}PenaltyTypeCodeType" minOccurs="0"/>
<element name="UpgradeFeeInd" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_ServiceDeliveryNotifRQ}IndType" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Booleanprotected Booleanprotected AmountTypeprotected BigDecimalprotected PenaltyTypeCodeContentTypeprotected Boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the appCode property.Gets the value of the descText property.Gets the value of the penaltyAmount property.Gets the value of the penaltyPercent property.Gets the value of the typeCode property.Gets the value of the cancelFeeInd property.Gets the value of the changeFeeInd property.Gets the value of the upgradeFeeInd property.voidsetAppCode(String value) Sets the value of the appCode property.voidsetCancelFeeInd(Boolean value) Sets the value of the cancelFeeInd property.voidsetChangeFeeInd(Boolean value) Sets the value of the changeFeeInd property.voidsetPenaltyAmount(AmountType value) Sets the value of the penaltyAmount property.voidsetPenaltyPercent(BigDecimal value) Sets the value of the penaltyPercent property.voidSets the value of the typeCode property.voidsetUpgradeFeeInd(Boolean value) Sets the value of the upgradeFeeInd property.
-
Field Details
-
appCode
-
cancelFeeInd
-
changeFeeInd
-
descText
-
penaltyAmount
-
penaltyPercent
-
typeCode
-
upgradeFeeInd
-
-
Constructor Details
-
PenaltyType
public PenaltyType()
-
-
Method Details
-
getAppCode
Gets the value of the appCode property.- Returns:
- possible object is
String
-
setAppCode
Sets the value of the appCode property.- Parameters:
value- allowed object isString
-
isCancelFeeInd
Gets the value of the cancelFeeInd property.- Returns:
- possible object is
Boolean
-
setCancelFeeInd
Sets the value of the cancelFeeInd property.- Parameters:
value- allowed object isBoolean
-
isChangeFeeInd
Gets the value of the changeFeeInd property.- Returns:
- possible object is
Boolean
-
setChangeFeeInd
Sets the value of the changeFeeInd property.- Parameters:
value- allowed object isBoolean
-
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
setmethod 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
Gets the value of the penaltyAmount property.- Returns:
- possible object is
AmountType
-
setPenaltyAmount
Sets the value of the penaltyAmount property.- Parameters:
value- allowed object isAmountType
-
getPenaltyPercent
Gets the value of the penaltyPercent property.- Returns:
- possible object is
BigDecimal
-
setPenaltyPercent
Sets the value of the penaltyPercent property.- Parameters:
value- allowed object isBigDecimal
-
getTypeCode
Gets the value of the typeCode property.- Returns:
- possible object is
PenaltyTypeCodeContentType
-
setTypeCode
Sets the value of the typeCode property.- Parameters:
value- allowed object isPenaltyTypeCodeContentType
-
isUpgradeFeeInd
Gets the value of the upgradeFeeInd property.- Returns:
- possible object is
Boolean
-
setUpgradeFeeInd
Sets the value of the upgradeFeeInd property.- Parameters:
value- allowed object isBoolean
-