Project 4

com.amazon.soap.AWSECommerceService
Class PromotionBenefit

java.lang.Object
  extended by com.amazon.soap.AWSECommerceService.PromotionBenefit
All Implemented Interfaces:
java.io.Serializable

public class PromotionBenefit
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.String benefitType
           
private  Price ceiling
           
private  java.lang.String componentType
           
private  Price fixedAmount
           
private  java.lang.Double percentOff
           
private  java.lang.Integer quantity
           
private static org.apache.axis.description.TypeDesc typeDesc
           
 
Constructor Summary
PromotionBenefit()
           
PromotionBenefit(java.lang.String benefitType, java.lang.String componentType, java.lang.Integer quantity, java.lang.Double percentOff, Price fixedAmount, Price ceiling)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getBenefitType()
          Gets the benefitType value for this PromotionBenefit.
 Price getCeiling()
          Gets the ceiling value for this PromotionBenefit.
 java.lang.String getComponentType()
          Gets the componentType value for this PromotionBenefit.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 Price getFixedAmount()
          Gets the fixedAmount value for this PromotionBenefit.
 java.lang.Double getPercentOff()
          Gets the percentOff value for this PromotionBenefit.
 java.lang.Integer getQuantity()
          Gets the quantity value for this PromotionBenefit.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setBenefitType(java.lang.String benefitType)
          Sets the benefitType value for this PromotionBenefit.
 void setCeiling(Price ceiling)
          Sets the ceiling value for this PromotionBenefit.
 void setComponentType(java.lang.String componentType)
          Sets the componentType value for this PromotionBenefit.
 void setFixedAmount(Price fixedAmount)
          Sets the fixedAmount value for this PromotionBenefit.
 void setPercentOff(java.lang.Double percentOff)
          Sets the percentOff value for this PromotionBenefit.
 void setQuantity(java.lang.Integer quantity)
          Sets the quantity value for this PromotionBenefit.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__equalsCalc

private java.lang.Object __equalsCalc

__hashCodeCalc

private boolean __hashCodeCalc

benefitType

private java.lang.String benefitType

ceiling

private Price ceiling

componentType

private java.lang.String componentType

fixedAmount

private Price fixedAmount

percentOff

private java.lang.Double percentOff

quantity

private java.lang.Integer quantity

typeDesc

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

PromotionBenefit

public PromotionBenefit()

PromotionBenefit

public PromotionBenefit(java.lang.String benefitType,
                        java.lang.String componentType,
                        java.lang.Integer quantity,
                        java.lang.Double percentOff,
                        Price fixedAmount,
                        Price ceiling)
Method Detail

equals

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

getBenefitType

public java.lang.String getBenefitType()
Gets the benefitType value for this PromotionBenefit.

Returns:
benefitType

getCeiling

public Price getCeiling()
Gets the ceiling value for this PromotionBenefit.

Returns:
ceiling

getComponentType

public java.lang.String getComponentType()
Gets the componentType value for this PromotionBenefit.

Returns:
componentType

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


getFixedAmount

public Price getFixedAmount()
Gets the fixedAmount value for this PromotionBenefit.

Returns:
fixedAmount

getPercentOff

public java.lang.Double getPercentOff()
Gets the percentOff value for this PromotionBenefit.

Returns:
percentOff

getQuantity

public java.lang.Integer getQuantity()
Gets the quantity value for this PromotionBenefit.

Returns:
quantity

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


getTypeDesc

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


hashCode

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

setBenefitType

public void setBenefitType(java.lang.String benefitType)
Sets the benefitType value for this PromotionBenefit.

Parameters:
benefitType -

setCeiling

public void setCeiling(Price ceiling)
Sets the ceiling value for this PromotionBenefit.

Parameters:
ceiling -

setComponentType

public void setComponentType(java.lang.String componentType)
Sets the componentType value for this PromotionBenefit.

Parameters:
componentType -

setFixedAmount

public void setFixedAmount(Price fixedAmount)
Sets the fixedAmount value for this PromotionBenefit.

Parameters:
fixedAmount -

setPercentOff

public void setPercentOff(java.lang.Double percentOff)
Sets the percentOff value for this PromotionBenefit.

Parameters:
percentOff -

setQuantity

public void setQuantity(java.lang.Integer quantity)
Sets the quantity value for this PromotionBenefit.

Parameters:
quantity -

Project 4