Class DiscountType
java.lang.Object
de.hybris.platform.oneorderfacades.oneorder.osin.DiscountType
Deduction from the price amount, made in advance of its payment.
Java class for DiscountType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DiscountType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="AppText" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderSalesInformationNotifRQ}TextType" minOccurs="0"/>
<element name="DescText" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderSalesInformationNotifRQ}TextType" minOccurs="0"/>
<element name="DiscountAmount" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderSalesInformationNotifRQ}AmountType" minOccurs="0"/>
<element name="DiscountPercent" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderSalesInformationNotifRQ}PercentType" minOccurs="0"/>
<element name="KeyValueProperty" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderSalesInformationNotifRQ}KeyValuePropertyType" maxOccurs="unbounded" minOccurs="0"/>
<element name="PreDiscountedAmount" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderSalesInformationNotifRQ}AmountType" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected AmountTypeprotected BigDecimalprotected List<KeyValuePropertyType>protected AmountType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the appText property.Gets the value of the descText property.Gets the value of the discountAmount property.Gets the value of the discountPercent property.Gets the value of the keyValueProperty property.Gets the value of the preDiscountedAmount property.voidsetAppText(String value) Sets the value of the appText property.voidsetDescText(String value) Sets the value of the descText property.voidsetDiscountAmount(AmountType value) Sets the value of the discountAmount property.voidsetDiscountPercent(BigDecimal value) Sets the value of the discountPercent property.voidsetPreDiscountedAmount(AmountType value) Sets the value of the preDiscountedAmount property.
-
Field Details
-
appText
-
descText
-
discountAmount
-
discountPercent
-
keyValueProperty
-
preDiscountedAmount
-
-
Constructor Details
-
DiscountType
public DiscountType()
-
-
Method Details
-
getAppText
Gets the value of the appText property.- Returns:
- possible object is
String
-
setAppText
Sets the value of the appText property.- Parameters:
value- allowed object isString
-
getDescText
Gets the value of the descText property.- Returns:
- possible object is
String
-
setDescText
Sets the value of the descText property.- Parameters:
value- allowed object isString
-
getDiscountAmount
Gets the value of the discountAmount property.- Returns:
- possible object is
AmountType
-
setDiscountAmount
Sets the value of the discountAmount property.- Parameters:
value- allowed object isAmountType
-
getDiscountPercent
Gets the value of the discountPercent property.- Returns:
- possible object is
BigDecimal
-
setDiscountPercent
Sets the value of the discountPercent property.- Parameters:
value- allowed object isBigDecimal
-
getKeyValueProperty
Gets the value of the keyValueProperty 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 keyValueProperty property.For example, to add a new item, do as follows:
getKeyValueProperty().add(newItem);Objects of the following type(s) are allowed in the list
KeyValuePropertyType -
getPreDiscountedAmount
Gets the value of the preDiscountedAmount property.- Returns:
- possible object is
AmountType
-
setPreDiscountedAmount
Sets the value of the preDiscountedAmount property.- Parameters:
value- allowed object isAmountType
-