fr.etai.xat2v2.obj
Class Discount

java.lang.Object
  extended by fr.etai.xat2v2.obj.Discount
All Implemented Interfaces:
Serializable

public class Discount
extends Object
implements Serializable

Discount describes the amount of discount and to what it's applicated.

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="breakdown-list" type="{http://xat2.etai.fr}ClassificationListType" minOccurs="0"/>
         <element name="value" type="{http://xat2.etai.fr}ValueType" minOccurs="0"/>
         <element name="label" type="{http://xat2.etai.fr}LabelType" minOccurs="0"/>
         <element name="classification-list" type="{http://xat2.etai.fr}ClassificationListType" minOccurs="0"/>
       </sequence>
       <attribute name="internal-id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
       <attribute name="source" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Constructor Summary
Discount()
           
 
Method Summary
 void addBreakdown(Classification cl)
           
 void addClassification(Classification cl)
           
 List<Classification> getBreakdownList()
          Gets the value of the breakdownList property.
 List<Classification> getClassificationList()
          Gets the value of the classificationList property.
 String getInternalId()
          Gets the value of the internalId property.
 Label getLabel()
          Gets the value of the label property.
 String getSource()
          Gets the value of the source property.
 Value getValue()
          Gets the value of the value property.
 void setBreakdownList(List<Classification> value)
          Sets the value of the breakdownList property.
 void setClassificationList(List<Classification> value)
          Sets the value of the classificationList property.
 void setInternalId(String value)
          Sets the value of the internalId property.
 void setLabel(Label value)
          Sets the value of the label property.
 void setSource(String value)
          Sets the value of the source property.
 void setValue(Value value)
          Sets the value of the value property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Discount

public Discount()
Method Detail

getBreakdownList

public List<Classification> getBreakdownList()
Gets the value of the breakdownList property.

Returns:
possible object is ClassificationListType

setBreakdownList

public void setBreakdownList(List<Classification> value)
Sets the value of the breakdownList property.

Parameters:
value - allowed object is ClassificationListType

addBreakdown

public void addBreakdown(Classification cl)

getValue

public Value getValue()
Gets the value of the value property.

Returns:
possible object is Value

setValue

public void setValue(Value value)
Sets the value of the value property.

Parameters:
value - allowed object is Value

getLabel

public Label getLabel()
Gets the value of the label property.

Returns:
possible object is Label

setLabel

public void setLabel(Label value)
Sets the value of the label property.

Parameters:
value - allowed object is Label

getClassificationList

public List<Classification> getClassificationList()
Gets the value of the classificationList property.

Returns:
possible object is ClassificationListType

setClassificationList

public void setClassificationList(List<Classification> value)
Sets the value of the classificationList property.

Parameters:
value - allowed object is ClassificationListType

addClassification

public void addClassification(Classification cl)

getInternalId

public String getInternalId()
Gets the value of the internalId property.

Returns:
possible object is String

setInternalId

public void setInternalId(String value)
Sets the value of the internalId property.

Parameters:
value - allowed object is String

getSource

public String getSource()
Gets the value of the source property.

Returns:
possible object is String

setSource

public void setSource(String value)
Sets the value of the source property.

Parameters:
value - allowed object is String


Copyright © 2012. All Rights Reserved.