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.Object
public int getId()
TierPriceIf
getId
in interface TierPriceIf
public void setId(int id)
TierPriceIf
setId
in interface TierPriceIf
id
- the id to setpublic int getProductId()
TierPriceIf
getProductId
in interface TierPriceIf
public void setProductId(int productId)
TierPriceIf
setProductId
in interface TierPriceIf
productId
- the productId to setpublic int getQuantity()
TierPriceIf
getQuantity
in interface TierPriceIf
public void setQuantity(int quantity)
TierPriceIf
setQuantity
in interface TierPriceIf
quantity
- the quantity to setpublic java.math.BigDecimal getPriceExTax()
TierPriceIf
getPriceExTax
in interface TierPriceIf
public void setPriceExTax(java.math.BigDecimal priceExTax)
TierPriceIf
setPriceExTax
in interface TierPriceIf
priceExTax
- the priceExTax to setpublic java.math.BigDecimal getPrice0()
TierPriceIf
getPrice0
in interface TierPriceIf
public void setPrice0(java.math.BigDecimal price0)
TierPriceIf
setPrice0
in interface TierPriceIf
price0
- the price0 to setpublic java.math.BigDecimal getPrice1()
TierPriceIf
getPrice1
in interface TierPriceIf
public void setPrice1(java.math.BigDecimal price1)
TierPriceIf
setPrice1
in interface TierPriceIf
price1
- the price1 to setpublic java.math.BigDecimal getPrice2()
TierPriceIf
getPrice2
in interface TierPriceIf
public void setPrice2(java.math.BigDecimal price2)
TierPriceIf
setPrice2
in interface TierPriceIf
price2
- the price2 to setpublic java.math.BigDecimal getPrice3()
TierPriceIf
getPrice3
in interface TierPriceIf
public void setPrice3(java.math.BigDecimal price3)
TierPriceIf
setPrice3
in interface TierPriceIf
price3
- the price3 to setpublic java.lang.String getCustom1()
TierPriceIf
getCustom1
in interface TierPriceIf
public void setCustom1(java.lang.String custom1)
setCustom1
in interface TierPriceIf
custom1
- the custom1 to setpublic java.util.Calendar getLastModified()
TierPriceIf
getLastModified
in interface TierPriceIf
public void setLastModified(java.util.Calendar lastModified)
TierPriceIf
setLastModified
in interface TierPriceIf
lastModified
- the lastModified to setpublic java.util.Calendar getDateAdded()
TierPriceIf
getDateAdded
in interface TierPriceIf
public void setDateAdded(java.util.Calendar dateAdded)
TierPriceIf
setDateAdded
in interface TierPriceIf
dateAdded
- the dateAdded to setpublic boolean isUsePercentageDiscount()
TierPriceIf
isUsePercentageDiscount
in interface TierPriceIf
public void setUsePercentageDiscount(boolean usePercentageDiscount)
TierPriceIf
setUsePercentageDiscount
in interface TierPriceIf
usePercentageDiscount
- the usePercentageDiscount to setpublic java.math.BigDecimal getPriceIncTax()
TierPriceIf
getPriceIncTax
in interface TierPriceIf
public void setPriceIncTax(java.math.BigDecimal priceIncTax)
TierPriceIf
setPriceIncTax
in interface TierPriceIf
priceIncTax
- the priceIncTax to setpublic java.math.BigDecimal getExtPrice0()
getExtPrice0
in interface TierPriceIf
public void setExtPrice0(java.math.BigDecimal extPrice0)
setExtPrice0
in interface TierPriceIf
extPrice0
- the extPrice0 to setpublic java.math.BigDecimal getExtPrice1()
getExtPrice1
in interface TierPriceIf
public void setExtPrice1(java.math.BigDecimal extPrice1)
setExtPrice1
in interface TierPriceIf
extPrice1
- the extPrice1 to setpublic java.math.BigDecimal getExtPrice2()
getExtPrice2
in interface TierPriceIf
public void setExtPrice2(java.math.BigDecimal extPrice2)
setExtPrice2
in interface TierPriceIf
extPrice2
- the extPrice2 to setpublic java.math.BigDecimal getExtPrice3()
getExtPrice3
in interface TierPriceIf
public void setExtPrice3(java.math.BigDecimal extPrice3)
setExtPrice3
in interface TierPriceIf
extPrice3
- the extPrice3 to setCopyright © 2018 DS Data Systems UK Ltd.