com.konakart.wsapp
Class PromotionResult

java.lang.Object
  extended by com.konakart.wsapp.PromotionResult
All Implemented Interfaces:
java.io.Serializable

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

See Also:
Serialized Form

Constructor Summary
PromotionResult()
           
PromotionResult(boolean applyBeforeTax, java.lang.String orderTotalCode, boolean percentageDiscount, int promotionId, java.math.BigDecimal value)
           
 
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.String getOrderTotalCode()
          Gets the orderTotalCode value for this PromotionResult.
 int getPromotionId()
          Gets the promotionId value for this PromotionResult.
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
 java.math.BigDecimal getValue()
          Gets the value value for this PromotionResult.
 int hashCode()
           
 boolean isApplyBeforeTax()
          Gets the applyBeforeTax value for this PromotionResult.
 boolean isPercentageDiscount()
          Gets the percentageDiscount value for this PromotionResult.
 void setApplyBeforeTax(boolean applyBeforeTax)
          Sets the applyBeforeTax value for this PromotionResult.
 void setOrderTotalCode(java.lang.String orderTotalCode)
          Sets the orderTotalCode value for this PromotionResult.
 void setPercentageDiscount(boolean percentageDiscount)
          Sets the percentageDiscount value for this PromotionResult.
 void setPromotionId(int promotionId)
          Sets the promotionId value for this PromotionResult.
 void setValue(java.math.BigDecimal value)
          Sets the value value for this PromotionResult.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PromotionResult

public PromotionResult()

PromotionResult

public PromotionResult(boolean applyBeforeTax,
                       java.lang.String orderTotalCode,
                       boolean percentageDiscount,
                       int promotionId,
                       java.math.BigDecimal value)
Method Detail

isApplyBeforeTax

public boolean isApplyBeforeTax()
Gets the applyBeforeTax value for this PromotionResult.

Returns:
applyBeforeTax

setApplyBeforeTax

public void setApplyBeforeTax(boolean applyBeforeTax)
Sets the applyBeforeTax value for this PromotionResult.

Parameters:
applyBeforeTax -

getOrderTotalCode

public java.lang.String getOrderTotalCode()
Gets the orderTotalCode value for this PromotionResult.

Returns:
orderTotalCode

setOrderTotalCode

public void setOrderTotalCode(java.lang.String orderTotalCode)
Sets the orderTotalCode value for this PromotionResult.

Parameters:
orderTotalCode -

isPercentageDiscount

public boolean isPercentageDiscount()
Gets the percentageDiscount value for this PromotionResult.

Returns:
percentageDiscount

setPercentageDiscount

public void setPercentageDiscount(boolean percentageDiscount)
Sets the percentageDiscount value for this PromotionResult.

Parameters:
percentageDiscount -

getPromotionId

public int getPromotionId()
Gets the promotionId value for this PromotionResult.

Returns:
promotionId

setPromotionId

public void setPromotionId(int promotionId)
Sets the promotionId value for this PromotionResult.

Parameters:
promotionId -

getValue

public java.math.BigDecimal getValue()
Gets the value value for this PromotionResult.

Returns:
value

setValue

public void setValue(java.math.BigDecimal value)
Sets the value value for this PromotionResult.

Parameters:
value -

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



Copyright © 2011 DS Data Systems UK Ltd.