public class AdminTierPrice
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
custom1
Custom1
|
private java.util.Date |
dateAdded
The value for the dateAdded field
|
private java.math.BigDecimal |
extPrice0
External prices
|
private java.math.BigDecimal |
extPrice1 |
private java.math.BigDecimal |
extPrice2 |
private java.math.BigDecimal |
extPrice3 |
private int |
id
id
|
private java.util.Date |
lastModified
The value for the lastModified field
|
private java.math.BigDecimal |
price0
Price fields
|
private java.math.BigDecimal |
price1 |
private java.math.BigDecimal |
price2 |
private java.math.BigDecimal |
price3 |
private java.math.BigDecimal |
priceExTax
priceExTax
|
private int |
productId
productId
|
private int |
quantity
quantity
|
private boolean |
usePercentageDiscount
Consider the price fields to be percentage discount fields when set
|
Constructor and Description |
---|
AdminTierPrice()
Constructor
|
AdminTierPrice(com.workingdogs.village.Record vr,
com.konakart.db.KKCriteria c) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCustom1() |
java.util.Date |
getDateAdded() |
java.math.BigDecimal |
getExtPrice0() |
java.math.BigDecimal |
getExtPrice1() |
java.math.BigDecimal |
getExtPrice2() |
java.math.BigDecimal |
getExtPrice3() |
int |
getId() |
java.util.Date |
getLastModified() |
java.math.BigDecimal |
getPrice0() |
java.math.BigDecimal |
getPrice1() |
java.math.BigDecimal |
getPrice2() |
java.math.BigDecimal |
getPrice3() |
java.math.BigDecimal |
getPriceExTax() |
int |
getProductId() |
int |
getQuantity() |
boolean |
isUsePercentageDiscount() |
void |
setCustom1(java.lang.String custom1) |
void |
setDateAdded(java.util.Date dateAdded) |
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) |
void |
setLastModified(java.util.Date lastModified) |
void |
setPrice0(java.math.BigDecimal price0) |
void |
setPrice1(java.math.BigDecimal price1) |
void |
setPrice2(java.math.BigDecimal price2) |
void |
setPrice3(java.math.BigDecimal price3) |
void |
setPriceExTax(java.math.BigDecimal priceExTax) |
void |
setProductId(int productId) |
void |
setQuantity(int quantity) |
void |
setUsePercentageDiscount(boolean usePercentageDiscount) |
java.lang.String |
toString() |
private int id
private int productId
private int quantity
private java.math.BigDecimal priceExTax
private java.math.BigDecimal price0
private java.math.BigDecimal price1
private java.math.BigDecimal price2
private java.math.BigDecimal price3
private boolean usePercentageDiscount
private java.lang.String custom1
private java.util.Date lastModified
private java.util.Date dateAdded
private java.math.BigDecimal extPrice0
private java.math.BigDecimal extPrice1
private java.math.BigDecimal extPrice2
private java.math.BigDecimal extPrice3
public AdminTierPrice()
public AdminTierPrice(com.workingdogs.village.Record vr, com.konakart.db.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()
public void setId(int id)
id
- the id to setpublic int getProductId()
public void setProductId(int productId)
productId
- the productId to setpublic int getQuantity()
public void setQuantity(int quantity)
quantity
- the quantity to setpublic java.math.BigDecimal getPriceExTax()
public void setPriceExTax(java.math.BigDecimal priceExTax)
priceExTax
- the priceExTax to setpublic java.math.BigDecimal getPrice0()
public void setPrice0(java.math.BigDecimal price0)
price0
- the price0 to setpublic java.math.BigDecimal getPrice1()
public void setPrice1(java.math.BigDecimal price1)
price1
- the price1 to setpublic java.math.BigDecimal getPrice2()
public void setPrice2(java.math.BigDecimal price2)
price2
- the price2 to setpublic java.math.BigDecimal getPrice3()
public void setPrice3(java.math.BigDecimal price3)
price3
- the price3 to setpublic java.lang.String getCustom1()
public void setCustom1(java.lang.String custom1)
custom1
- the custom1 to setpublic boolean isUsePercentageDiscount()
public void setUsePercentageDiscount(boolean usePercentageDiscount)
usePercentageDiscount
- the usePercentageDiscount to setpublic java.util.Date getLastModified()
public void setLastModified(java.util.Date lastModified)
lastModified
- the lastModified to setpublic java.util.Date getDateAdded()
public void setDateAdded(java.util.Date dateAdded)
dateAdded
- the dateAdded to setpublic java.math.BigDecimal getExtPrice0()
public void setExtPrice0(java.math.BigDecimal extPrice0)
extPrice0
- the extPrice0 to setpublic java.math.BigDecimal getExtPrice1()
public void setExtPrice1(java.math.BigDecimal extPrice1)
extPrice1
- the extPrice1 to setpublic java.math.BigDecimal getExtPrice2()
public void setExtPrice2(java.math.BigDecimal extPrice2)
extPrice2
- the extPrice2 to setpublic java.math.BigDecimal getExtPrice3()
public void setExtPrice3(java.math.BigDecimal extPrice3)
extPrice3
- the extPrice3 to setCopyright © 2018 DS Data Systems UK Ltd.