com.yahoo.marketing.apt
Class Discount

java.lang.Object
  extended by com.yahoo.marketing.apt.Discount
All Implemented Interfaces:
java.io.Serializable

public class Discount
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
private  java.lang.Object __equalsCalc
           
private  boolean __hashCodeCalc
           
private  java.lang.Double discount
           
private  DiscountFormat format
           
private  DiscountType type
           
private static org.apache.axis.description.TypeDesc typeDesc
           
 
Constructor Summary
Discount()
           
Discount(java.lang.Double discount, DiscountFormat format, DiscountType type)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 java.lang.Double getDiscount()
          Gets the discount value for this Discount.
 DiscountFormat getFormat()
          Gets the format value for this Discount.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
 DiscountType getType()
          Gets the type value for this Discount.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setDiscount(java.lang.Double discount)
          Sets the discount value for this Discount.
 void setFormat(DiscountFormat format)
          Sets the format value for this Discount.
 void setType(DiscountType type)
          Sets the type value for this Discount.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

discount

private java.lang.Double discount

format

private DiscountFormat format

type

private DiscountType type

__equalsCalc

private java.lang.Object __equalsCalc

__hashCodeCalc

private boolean __hashCodeCalc

typeDesc

private static org.apache.axis.description.TypeDesc typeDesc
Constructor Detail

Discount

public Discount()

Discount

public Discount(java.lang.Double discount,
                DiscountFormat format,
                DiscountType type)
Method Detail

getDiscount

public java.lang.Double getDiscount()
Gets the discount value for this Discount.

Returns:
discount

setDiscount

public void setDiscount(java.lang.Double discount)
Sets the discount value for this Discount.

Parameters:
discount -

getFormat

public DiscountFormat getFormat()
Gets the format value for this Discount.

Returns:
format

setFormat

public void setFormat(DiscountFormat format)
Sets the format value for this Discount.

Parameters:
format -

getType

public DiscountType getType()
Gets the type value for this Discount.

Returns:
type

setType

public void setType(DiscountType type)
Sets the type value for this Discount.

Parameters:
type -

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer