com.konakart.wsapp
Class PromotionOptions

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

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

See Also:
Serialized Form

Constructor Summary
PromotionOptions()
           
PromotionOptions(int promotionRule, boolean subtractValueFromPriceExTax, boolean subtractValueFromPriceIncTax)
           
 
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
 int getPromotionRule()
          Gets the promotionRule value for this PromotionOptions.
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()
           
 boolean isSubtractValueFromPriceExTax()
          Gets the subtractValueFromPriceExTax value for this PromotionOptions.
 boolean isSubtractValueFromPriceIncTax()
          Gets the subtractValueFromPriceIncTax value for this PromotionOptions.
 void setPromotionRule(int promotionRule)
          Sets the promotionRule value for this PromotionOptions.
 void setSubtractValueFromPriceExTax(boolean subtractValueFromPriceExTax)
          Sets the subtractValueFromPriceExTax value for this PromotionOptions.
 void setSubtractValueFromPriceIncTax(boolean subtractValueFromPriceIncTax)
          Sets the subtractValueFromPriceIncTax value for this PromotionOptions.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PromotionOptions

public PromotionOptions()

PromotionOptions

public PromotionOptions(int promotionRule,
                        boolean subtractValueFromPriceExTax,
                        boolean subtractValueFromPriceIncTax)
Method Detail

getPromotionRule

public int getPromotionRule()
Gets the promotionRule value for this PromotionOptions.

Returns:
promotionRule

setPromotionRule

public void setPromotionRule(int promotionRule)
Sets the promotionRule value for this PromotionOptions.

Parameters:
promotionRule -

isSubtractValueFromPriceExTax

public boolean isSubtractValueFromPriceExTax()
Gets the subtractValueFromPriceExTax value for this PromotionOptions.

Returns:
subtractValueFromPriceExTax

setSubtractValueFromPriceExTax

public void setSubtractValueFromPriceExTax(boolean subtractValueFromPriceExTax)
Sets the subtractValueFromPriceExTax value for this PromotionOptions.

Parameters:
subtractValueFromPriceExTax -

isSubtractValueFromPriceIncTax

public boolean isSubtractValueFromPriceIncTax()
Gets the subtractValueFromPriceIncTax value for this PromotionOptions.

Returns:
subtractValueFromPriceIncTax

setSubtractValueFromPriceIncTax

public void setSubtractValueFromPriceIncTax(boolean subtractValueFromPriceIncTax)
Sets the subtractValueFromPriceIncTax value for this PromotionOptions.

Parameters:
subtractValueFromPriceIncTax -

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.