com.konakart.json.app
Class J_TierPrice

java.lang.Object
  extended by com.konakart.json.app.J_TierPrice
All Implemented Interfaces:
java.io.Serializable

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

Tier Price object that contains the price for different quantities

See Also:
Serialized Form

Constructor Summary
J_TierPrice()
           
 
Method Summary
 java.lang.String getCustom1()
          Custom1 field
 java.util.Calendar getDateAdded()
          The time when this record was created
 int getId()
          Unique object id
 java.util.Calendar getLastModified()
          The last time that this record was modified
 java.math.BigDecimal getPrice0()
          Price0
 java.math.BigDecimal getPrice1()
          Price1
 java.math.BigDecimal getPrice2()
          Price2
 java.math.BigDecimal getPrice3()
          Price3
 java.math.BigDecimal getPriceExTax()
          The discounted price
 java.math.BigDecimal getPriceIncTax()
          The price including tax
 int getProductId()
          Numeric id of the product to which this tier price applies
 int getQuantity()
          Quantity of product that needs to be ordered before this pricing kicks in
 boolean isUsePercentageDiscount()
          Consider the price fields to be percentage discount fields when set
 void setCustom1(java.lang.String _custom1)
           
 void setDateAdded(java.util.Calendar _dateAdded)
          The time when this record was created
 void setId(int _id)
          Unique object id
 void setLastModified(java.util.Calendar _lastModified)
          The last time that this record was modified
 void setPrice0(java.math.BigDecimal _price0)
          Price0
 void setPrice1(java.math.BigDecimal _price1)
          Price1
 void setPrice2(java.math.BigDecimal _price2)
          Price2
 void setPrice3(java.math.BigDecimal _price3)
          Price3
 void setPriceExTax(java.math.BigDecimal _priceExTax)
          The discounted price
 void setPriceIncTax(java.math.BigDecimal _priceIncTax)
          The price including tax
 void setProductId(int _productId)
          Numeric id of the product to which this tier price applies
 void setQuantity(int _quantity)
          Quantity of product that needs to be ordered before this pricing kicks in
 void setUsePercentageDiscount(boolean _usePercentageDiscount)
          Consider the price fields to be percentage discount fields when set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

J_TierPrice

public J_TierPrice()
Method Detail

getId

public int getId()
Unique object id

Returns:
the id

setId

public void setId(int _id)
Unique object id

Parameters:
_id - the id to set

getProductId

public int getProductId()
Numeric id of the product to which this tier price applies

Returns:
the productId

setProductId

public void setProductId(int _productId)
Numeric id of the product to which this tier price applies

Parameters:
_productId - the productId to set

getQuantity

public int getQuantity()
Quantity of product that needs to be ordered before this pricing kicks in

Returns:
the quantity

setQuantity

public void setQuantity(int _quantity)
Quantity of product that needs to be ordered before this pricing kicks in

Parameters:
_quantity - the quantity to set

getPriceExTax

public java.math.BigDecimal getPriceExTax()
The discounted price

Returns:
the priceExTax

setPriceExTax

public void setPriceExTax(java.math.BigDecimal _priceExTax)
The discounted price

Parameters:
_priceExTax - the priceExTax to set

getPrice0

public java.math.BigDecimal getPrice0()
Price0

Returns:
the price0

setPrice0

public void setPrice0(java.math.BigDecimal _price0)
Price0

Parameters:
_price0 - the price0 to set

getPrice1

public java.math.BigDecimal getPrice1()
Price1

Returns:
the price1

setPrice1

public void setPrice1(java.math.BigDecimal _price1)
Price1

Parameters:
_price1 - the price1 to set

getPrice2

public java.math.BigDecimal getPrice2()
Price2

Returns:
the price2

setPrice2

public void setPrice2(java.math.BigDecimal _price2)
Price2

Parameters:
_price2 - the price2 to set

getPrice3

public java.math.BigDecimal getPrice3()
Price3

Returns:
the price3

setPrice3

public void setPrice3(java.math.BigDecimal _price3)
Price3

Parameters:
_price3 - the price3 to set

isUsePercentageDiscount

public boolean isUsePercentageDiscount()
Consider the price fields to be percentage discount fields when set

Returns:
the usePercentageDiscount

setUsePercentageDiscount

public void setUsePercentageDiscount(boolean _usePercentageDiscount)
Consider the price fields to be percentage discount fields when set

Parameters:
_usePercentageDiscount - the usePercentageDiscount to set

getCustom1

public java.lang.String getCustom1()
Custom1 field

Returns:
the custom1

setCustom1

public void setCustom1(java.lang.String _custom1)
Parameters:
_custom1 - the custom1 to set

getLastModified

public java.util.Calendar getLastModified()
The last time that this record was modified

Returns:
the lastModified

setLastModified

public void setLastModified(java.util.Calendar _lastModified)
The last time that this record was modified

Parameters:
_lastModified - the lastModified to set

getDateAdded

public java.util.Calendar getDateAdded()
The time when this record was created

Returns:
the dateAdded

setDateAdded

public void setDateAdded(java.util.Calendar _dateAdded)
The time when this record was created

Parameters:
_dateAdded - the dateAdded to set

getPriceIncTax

public java.math.BigDecimal getPriceIncTax()
The price including tax

Returns:
the priceIncTax

setPriceIncTax

public void setPriceIncTax(java.math.BigDecimal _priceIncTax)
The price including tax

Parameters:
_priceIncTax - the priceIncTax to set


Copyright © 2011 DS Data Systems UK Ltd.