|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.konakart.app.TierPrice
public class TierPrice
Tier Price object that contains the price for different quantities
| Constructor Summary | |
|---|---|
TierPrice()
Constructor |
|
TierPrice(com.workingdogs.village.Record vr,
org.apache.torque.util.Criteria c)
|
|
| 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 |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TierPrice()
public TierPrice(com.workingdogs.village.Record vr,
org.apache.torque.util.Criteria c)
throws com.workingdogs.village.DataSetException
vr - c -
com.workingdogs.village.DataSetException| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic int getId()
TierPriceIf
getId in interface TierPriceIfpublic void setId(int id)
TierPriceIf
setId in interface TierPriceIfid - the id to setpublic int getProductId()
TierPriceIf
getProductId in interface TierPriceIfpublic void setProductId(int productId)
TierPriceIf
setProductId in interface TierPriceIfproductId - the productId to setpublic int getQuantity()
TierPriceIf
getQuantity in interface TierPriceIfpublic void setQuantity(int quantity)
TierPriceIf
setQuantity in interface TierPriceIfquantity - the quantity to setpublic java.math.BigDecimal getPriceExTax()
TierPriceIf
getPriceExTax in interface TierPriceIfpublic void setPriceExTax(java.math.BigDecimal priceExTax)
TierPriceIf
setPriceExTax in interface TierPriceIfpriceExTax - the priceExTax to setpublic java.math.BigDecimal getPrice0()
TierPriceIf
getPrice0 in interface TierPriceIfpublic void setPrice0(java.math.BigDecimal price0)
TierPriceIf
setPrice0 in interface TierPriceIfprice0 - the price0 to setpublic java.math.BigDecimal getPrice1()
TierPriceIf
getPrice1 in interface TierPriceIfpublic void setPrice1(java.math.BigDecimal price1)
TierPriceIf
setPrice1 in interface TierPriceIfprice1 - the price1 to setpublic java.math.BigDecimal getPrice2()
TierPriceIf
getPrice2 in interface TierPriceIfpublic void setPrice2(java.math.BigDecimal price2)
TierPriceIf
setPrice2 in interface TierPriceIfprice2 - the price2 to setpublic java.math.BigDecimal getPrice3()
TierPriceIf
getPrice3 in interface TierPriceIfpublic void setPrice3(java.math.BigDecimal price3)
TierPriceIf
setPrice3 in interface TierPriceIfprice3 - the price3 to setpublic java.lang.String getCustom1()
TierPriceIf
getCustom1 in interface TierPriceIfpublic void setCustom1(java.lang.String custom1)
setCustom1 in interface TierPriceIfcustom1 - the custom1 to setpublic java.util.Calendar getLastModified()
TierPriceIf
getLastModified in interface TierPriceIfpublic void setLastModified(java.util.Calendar lastModified)
TierPriceIf
setLastModified in interface TierPriceIflastModified - the lastModified to setpublic java.util.Calendar getDateAdded()
TierPriceIf
getDateAdded in interface TierPriceIfpublic void setDateAdded(java.util.Calendar dateAdded)
TierPriceIf
setDateAdded in interface TierPriceIfdateAdded - the dateAdded to setpublic boolean isUsePercentageDiscount()
TierPriceIf
isUsePercentageDiscount in interface TierPriceIfpublic void setUsePercentageDiscount(boolean usePercentageDiscount)
TierPriceIf
setUsePercentageDiscount in interface TierPriceIfusePercentageDiscount - the usePercentageDiscount to setpublic java.math.BigDecimal getPriceIncTax()
TierPriceIf
getPriceIncTax in interface TierPriceIfpublic void setPriceIncTax(java.math.BigDecimal priceIncTax)
TierPriceIf
setPriceIncTax in interface TierPriceIfpriceIncTax - the priceIncTax to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||