public class AdminCatalogRule
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
catalogId
The alphanumeric catalog identifier
|
private int |
categoryId
The id of the category for which the rule will be applied.
|
private boolean |
exclude
exclude
|
private java.math.BigDecimal |
fixedPrice
fixedPrice
|
private java.math.BigDecimal |
priceAdjustment
priceAdjustment
|
Constructor and Description |
---|
AdminCatalogRule()
Constructor
|
AdminCatalogRule(com.workingdogs.village.Record vr,
com.konakart.db.KKCriteria c)
Instantiates the attributes of the Catalog rule object from a Record object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCatalogId()
The alphanumeric catalog identifier
|
int |
getCategoryId()
The id of the category for which the rule will be applied.
|
java.math.BigDecimal |
getFixedPrice() |
java.math.BigDecimal |
getPriceAdjustment() |
boolean |
isExclude() |
void |
setCatalogId(java.lang.String catalogId)
The alphanumeric catalog identifier
|
void |
setCategoryId(int categoryId)
The id of the category for which the rule will be applied.
|
void |
setExclude(boolean exclude) |
void |
setFixedPrice(java.math.BigDecimal fixedPrice) |
void |
setPriceAdjustment(java.math.BigDecimal priceAdjustment) |
java.lang.String |
toString() |
private int categoryId
private java.lang.String catalogId
private java.math.BigDecimal priceAdjustment
private java.math.BigDecimal fixedPrice
private boolean exclude
public AdminCatalogRule()
public AdminCatalogRule(com.workingdogs.village.Record vr, com.konakart.db.KKCriteria c) throws com.workingdogs.village.DataSetException
vr
- Record containing datac
- Criteria containing column namescom.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 getCategoryId()
public void setCategoryId(int categoryId)
categoryId
- the categoryId to setpublic java.math.BigDecimal getPriceAdjustment()
public void setPriceAdjustment(java.math.BigDecimal priceAdjustment)
priceAdjustment
- the priceAdjustment to setpublic java.math.BigDecimal getFixedPrice()
public void setFixedPrice(java.math.BigDecimal fixedPrice)
fixedPrice
- the fixedPrice to setpublic boolean isExclude()
public void setExclude(boolean exclude)
exclude
- the exclude to setpublic java.lang.String getCatalogId()
public void setCatalogId(java.lang.String catalogId)
catalogId
- the catalogId to setCopyright © 2018 DS Data Systems UK Ltd.