com.konakart.wsapp
Class TierPrice

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

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

See Also:
Serialized Form

Constructor Summary
TierPrice()
           
TierPrice(java.lang.String custom1, java.util.Calendar dateAdded, int id, java.util.Calendar lastModified, java.math.BigDecimal price0, java.math.BigDecimal price1, java.math.BigDecimal price2, java.math.BigDecimal price3, java.math.BigDecimal priceExTax, java.math.BigDecimal priceIncTax, int productId, int quantity, boolean usePercentageDiscount)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getCustom1()
          Gets the custom1 value for this TierPrice.
 java.util.Calendar getDateAdded()
          Gets the dateAdded value for this TierPrice.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 int getId()
          Gets the id value for this TierPrice.
 java.util.Calendar getLastModified()
          Gets the lastModified value for this TierPrice.
 java.math.BigDecimal getPrice0()
          Gets the price0 value for this TierPrice.
 java.math.BigDecimal getPrice1()
          Gets the price1 value for this TierPrice.
 java.math.BigDecimal getPrice2()
          Gets the price2 value for this TierPrice.
 java.math.BigDecimal getPrice3()
          Gets the price3 value for this TierPrice.
 java.math.BigDecimal getPriceExTax()
          Gets the priceExTax value for this TierPrice.
 java.math.BigDecimal getPriceIncTax()
          Gets the priceIncTax value for this TierPrice.
 int getProductId()
          Gets the productId value for this TierPrice.
 int getQuantity()
          Gets the quantity value for this TierPrice.
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 isUsePercentageDiscount()
          Gets the usePercentageDiscount value for this TierPrice.
 void setCustom1(java.lang.String custom1)
          Sets the custom1 value for this TierPrice.
 void setDateAdded(java.util.Calendar dateAdded)
          Sets the dateAdded value for this TierPrice.
 void setId(int id)
          Sets the id value for this TierPrice.
 void setLastModified(java.util.Calendar lastModified)
          Sets the lastModified value for this TierPrice.
 void setPrice0(java.math.BigDecimal price0)
          Sets the price0 value for this TierPrice.
 void setPrice1(java.math.BigDecimal price1)
          Sets the price1 value for this TierPrice.
 void setPrice2(java.math.BigDecimal price2)
          Sets the price2 value for this TierPrice.
 void setPrice3(java.math.BigDecimal price3)
          Sets the price3 value for this TierPrice.
 void setPriceExTax(java.math.BigDecimal priceExTax)
          Sets the priceExTax value for this TierPrice.
 void setPriceIncTax(java.math.BigDecimal priceIncTax)
          Sets the priceIncTax value for this TierPrice.
 void setProductId(int productId)
          Sets the productId value for this TierPrice.
 void setQuantity(int quantity)
          Sets the quantity value for this TierPrice.
 void setUsePercentageDiscount(boolean usePercentageDiscount)
          Sets the usePercentageDiscount value for this TierPrice.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TierPrice

public TierPrice()

TierPrice

public TierPrice(java.lang.String custom1,
                 java.util.Calendar dateAdded,
                 int id,
                 java.util.Calendar lastModified,
                 java.math.BigDecimal price0,
                 java.math.BigDecimal price1,
                 java.math.BigDecimal price2,
                 java.math.BigDecimal price3,
                 java.math.BigDecimal priceExTax,
                 java.math.BigDecimal priceIncTax,
                 int productId,
                 int quantity,
                 boolean usePercentageDiscount)
Method Detail

getCustom1

public java.lang.String getCustom1()
Gets the custom1 value for this TierPrice.

Returns:
custom1

setCustom1

public void setCustom1(java.lang.String custom1)
Sets the custom1 value for this TierPrice.

Parameters:
custom1 -

getDateAdded

public java.util.Calendar getDateAdded()
Gets the dateAdded value for this TierPrice.

Returns:
dateAdded

setDateAdded

public void setDateAdded(java.util.Calendar dateAdded)
Sets the dateAdded value for this TierPrice.

Parameters:
dateAdded -

getId

public int getId()
Gets the id value for this TierPrice.

Returns:
id

setId

public void setId(int id)
Sets the id value for this TierPrice.

Parameters:
id -

getLastModified

public java.util.Calendar getLastModified()
Gets the lastModified value for this TierPrice.

Returns:
lastModified

setLastModified

public void setLastModified(java.util.Calendar lastModified)
Sets the lastModified value for this TierPrice.

Parameters:
lastModified -

getPrice0

public java.math.BigDecimal getPrice0()
Gets the price0 value for this TierPrice.

Returns:
price0

setPrice0

public void setPrice0(java.math.BigDecimal price0)
Sets the price0 value for this TierPrice.

Parameters:
price0 -

getPrice1

public java.math.BigDecimal getPrice1()
Gets the price1 value for this TierPrice.

Returns:
price1

setPrice1

public void setPrice1(java.math.BigDecimal price1)
Sets the price1 value for this TierPrice.

Parameters:
price1 -

getPrice2

public java.math.BigDecimal getPrice2()
Gets the price2 value for this TierPrice.

Returns:
price2

setPrice2

public void setPrice2(java.math.BigDecimal price2)
Sets the price2 value for this TierPrice.

Parameters:
price2 -

getPrice3

public java.math.BigDecimal getPrice3()
Gets the price3 value for this TierPrice.

Returns:
price3

setPrice3

public void setPrice3(java.math.BigDecimal price3)
Sets the price3 value for this TierPrice.

Parameters:
price3 -

getPriceExTax

public java.math.BigDecimal getPriceExTax()
Gets the priceExTax value for this TierPrice.

Returns:
priceExTax

setPriceExTax

public void setPriceExTax(java.math.BigDecimal priceExTax)
Sets the priceExTax value for this TierPrice.

Parameters:
priceExTax -

getPriceIncTax

public java.math.BigDecimal getPriceIncTax()
Gets the priceIncTax value for this TierPrice.

Returns:
priceIncTax

setPriceIncTax

public void setPriceIncTax(java.math.BigDecimal priceIncTax)
Sets the priceIncTax value for this TierPrice.

Parameters:
priceIncTax -

getProductId

public int getProductId()
Gets the productId value for this TierPrice.

Returns:
productId

setProductId

public void setProductId(int productId)
Sets the productId value for this TierPrice.

Parameters:
productId -

getQuantity

public int getQuantity()
Gets the quantity value for this TierPrice.

Returns:
quantity

setQuantity

public void setQuantity(int quantity)
Sets the quantity value for this TierPrice.

Parameters:
quantity -

isUsePercentageDiscount

public boolean isUsePercentageDiscount()
Gets the usePercentageDiscount value for this TierPrice.

Returns:
usePercentageDiscount

setUsePercentageDiscount

public void setUsePercentageDiscount(boolean usePercentageDiscount)
Sets the usePercentageDiscount value for this TierPrice.

Parameters:
usePercentageDiscount -

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.