java.lang.Object
de.hybris.platform.ndc182shoppingfacades.messages.orderviewresponse.DiscountType

public class DiscountType extends Object
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_OrderViewRS}TextType" minOccurs="0"/>
         <element name="DescText" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderViewRS}TextType" minOccurs="0"/>
         <element name="DiscountAmount" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderViewRS}AmountType" minOccurs="0"/>
         <element name="DiscountContext" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderViewRS}KeyValuePropertyType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="DiscountPercent" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderViewRS}PercentType" minOccurs="0"/>
         <element name="PreDiscountedAmount" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderViewRS}AmountType" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • DiscountType

      public DiscountType()
  • Method Details

    • getAppText

      public String getAppText()
      Gets the value of the appText property.
      Returns:
      possible object is String
    • setAppText

      public void setAppText(String value)
      Sets the value of the appText property.
      Parameters:
      value - allowed object is String
    • getDescText

      public String getDescText()
      Gets the value of the descText property.
      Returns:
      possible object is String
    • setDescText

      public void setDescText(String value)
      Sets the value of the descText property.
      Parameters:
      value - allowed object is String
    • getDiscountAmount

      public AmountType getDiscountAmount()
      Gets the value of the discountAmount property.
      Returns:
      possible object is AmountType
    • setDiscountAmount

      public void setDiscountAmount(AmountType value)
      Sets the value of the discountAmount property.
      Parameters:
      value - allowed object is AmountType
    • getDiscountContext

      public List<KeyValuePropertyType> getDiscountContext()
      Gets the value of the discountContext 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 discountContext property.

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

          getDiscountContext().add(newItem);
       

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

    • getDiscountPercent

      public BigDecimal getDiscountPercent()
      Gets the value of the discountPercent property.
      Returns:
      possible object is BigDecimal
    • setDiscountPercent

      public void setDiscountPercent(BigDecimal value)
      Sets the value of the discountPercent property.
      Parameters:
      value - allowed object is BigDecimal
    • getPreDiscountedAmount

      public AmountType getPreDiscountedAmount()
      Gets the value of the preDiscountedAmount property.
      Returns:
      possible object is AmountType
    • setPreDiscountedAmount

      public void setPreDiscountedAmount(AmountType value)
      Sets the value of the preDiscountedAmount property.
      Parameters:
      value - allowed object is AmountType