public class TierPrice extends java.lang.Object implements TierPriceIf
| Constructor and Description |
|---|
TierPrice()
Constructor
|
TierPrice(com.workingdogs.village.Record vr,
KKCriteria c) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCustom1()
Custom1 field
|
java.util.Calendar |
getDateAdded()
The time when this record was created
|
java.math.BigDecimal |
getExtPrice0() |
java.math.BigDecimal |
getExtPrice1() |
java.math.BigDecimal |
getExtPrice2() |
java.math.BigDecimal |
getExtPrice3() |
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 |
setExtPrice0(java.math.BigDecimal extPrice0) |
void |
setExtPrice1(java.math.BigDecimal extPrice1) |
void |
setExtPrice2(java.math.BigDecimal extPrice2) |
void |
setExtPrice3(java.math.BigDecimal extPrice3) |
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() |
public TierPrice()
public TierPrice(com.workingdogs.village.Record vr,
KKCriteria c)
throws com.workingdogs.village.DataSetException
vr - the vrc - the ccom.workingdogs.village.DataSetException - an unexpected exception due to data in Torque (the database layer)public java.lang.String toString()
toString in class java.lang.Objectpublic int getId()
TierPriceIfgetId in interface TierPriceIfpublic void setId(int id)
TierPriceIfsetId in interface TierPriceIfid - the id to setpublic int getProductId()
TierPriceIfgetProductId in interface TierPriceIfpublic void setProductId(int productId)
TierPriceIfsetProductId in interface TierPriceIfproductId - the productId to setpublic int getQuantity()
TierPriceIfgetQuantity in interface TierPriceIfpublic void setQuantity(int quantity)
TierPriceIfsetQuantity in interface TierPriceIfquantity - the quantity to setpublic java.math.BigDecimal getPriceExTax()
TierPriceIfgetPriceExTax in interface TierPriceIfpublic void setPriceExTax(java.math.BigDecimal priceExTax)
TierPriceIfsetPriceExTax in interface TierPriceIfpriceExTax - the priceExTax to setpublic java.math.BigDecimal getPrice0()
TierPriceIfgetPrice0 in interface TierPriceIfpublic void setPrice0(java.math.BigDecimal price0)
TierPriceIfsetPrice0 in interface TierPriceIfprice0 - the price0 to setpublic java.math.BigDecimal getPrice1()
TierPriceIfgetPrice1 in interface TierPriceIfpublic void setPrice1(java.math.BigDecimal price1)
TierPriceIfsetPrice1 in interface TierPriceIfprice1 - the price1 to setpublic java.math.BigDecimal getPrice2()
TierPriceIfgetPrice2 in interface TierPriceIfpublic void setPrice2(java.math.BigDecimal price2)
TierPriceIfsetPrice2 in interface TierPriceIfprice2 - the price2 to setpublic java.math.BigDecimal getPrice3()
TierPriceIfgetPrice3 in interface TierPriceIfpublic void setPrice3(java.math.BigDecimal price3)
TierPriceIfsetPrice3 in interface TierPriceIfprice3 - the price3 to setpublic java.lang.String getCustom1()
TierPriceIfgetCustom1 in interface TierPriceIfpublic void setCustom1(java.lang.String custom1)
setCustom1 in interface TierPriceIfcustom1 - the custom1 to setpublic java.util.Calendar getLastModified()
TierPriceIfgetLastModified in interface TierPriceIfpublic void setLastModified(java.util.Calendar lastModified)
TierPriceIfsetLastModified in interface TierPriceIflastModified - the lastModified to setpublic java.util.Calendar getDateAdded()
TierPriceIfgetDateAdded in interface TierPriceIfpublic void setDateAdded(java.util.Calendar dateAdded)
TierPriceIfsetDateAdded in interface TierPriceIfdateAdded - the dateAdded to setpublic boolean isUsePercentageDiscount()
TierPriceIfisUsePercentageDiscount in interface TierPriceIfpublic void setUsePercentageDiscount(boolean usePercentageDiscount)
TierPriceIfsetUsePercentageDiscount in interface TierPriceIfusePercentageDiscount - the usePercentageDiscount to setpublic java.math.BigDecimal getPriceIncTax()
TierPriceIfgetPriceIncTax in interface TierPriceIfpublic void setPriceIncTax(java.math.BigDecimal priceIncTax)
TierPriceIfsetPriceIncTax in interface TierPriceIfpriceIncTax - the priceIncTax to setpublic java.math.BigDecimal getExtPrice0()
getExtPrice0 in interface TierPriceIfpublic void setExtPrice0(java.math.BigDecimal extPrice0)
setExtPrice0 in interface TierPriceIfextPrice0 - the extPrice0 to setpublic java.math.BigDecimal getExtPrice1()
getExtPrice1 in interface TierPriceIfpublic void setExtPrice1(java.math.BigDecimal extPrice1)
setExtPrice1 in interface TierPriceIfextPrice1 - the extPrice1 to setpublic java.math.BigDecimal getExtPrice2()
getExtPrice2 in interface TierPriceIfpublic void setExtPrice2(java.math.BigDecimal extPrice2)
setExtPrice2 in interface TierPriceIfextPrice2 - the extPrice2 to setpublic java.math.BigDecimal getExtPrice3()
getExtPrice3 in interface TierPriceIfpublic void setExtPrice3(java.math.BigDecimal extPrice3)
setExtPrice3 in interface TierPriceIfextPrice3 - the extPrice3 to setCopyright © 2018 DS Data Systems UK Ltd.