|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TierPriceIf
Tier Price object that contains the price for different quantities
| 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 |
| Method Detail |
|---|
int getId()
void setId(int id)
id - the id to setint getProductId()
void setProductId(int productId)
productId - the productId to setint getQuantity()
void setQuantity(int quantity)
quantity - the quantity to setjava.math.BigDecimal getPriceExTax()
void setPriceExTax(java.math.BigDecimal priceExTax)
priceExTax - the priceExTax to setjava.math.BigDecimal getPrice0()
void setPrice0(java.math.BigDecimal price0)
price0 - the price0 to setjava.math.BigDecimal getPrice1()
void setPrice1(java.math.BigDecimal price1)
price1 - the price1 to setjava.math.BigDecimal getPrice2()
void setPrice2(java.math.BigDecimal price2)
price2 - the price2 to setjava.math.BigDecimal getPrice3()
void setPrice3(java.math.BigDecimal price3)
price3 - the price3 to setboolean isUsePercentageDiscount()
void setUsePercentageDiscount(boolean usePercentageDiscount)
usePercentageDiscount - the usePercentageDiscount to setjava.lang.String getCustom1()
void setCustom1(java.lang.String custom1)
custom1 - the custom1 to setjava.util.Calendar getLastModified()
void setLastModified(java.util.Calendar lastModified)
lastModified - the lastModified to setjava.util.Calendar getDateAdded()
void setDateAdded(java.util.Calendar dateAdded)
dateAdded - the dateAdded to setjava.math.BigDecimal getPriceIncTax()
void setPriceIncTax(java.math.BigDecimal priceIncTax)
priceIncTax - the priceIncTax to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||