public class QuantityPriceBreak extends JDBCObject<QuantityPriceBreak>
A quantity price break object contains information retrieved from the ERP system. The information has a short life span (typically the life of a product list) and is therefore not persisted to a database table.
Each product object stores its own set of quantity breaks. See the
Product
class' methods for getQtyBreakPricing
and setQtyBreakPricing
.
When multiple units of measure processing is not active, the values for order unit of measure and price unit of measure will always be the same.
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
The class' serialization version id.
|
LOWVAL_RPG_DATE, LOWVAL_RPG_TIME, STATUS_ACTIVE, STATUS_BLANK, STATUS_CANCELED, STATUS_DELETED, STATUS_INACTIVE, STATUS_PENDING
ivHashCode, ivHashFlds, ivObjAttrs
Constructor and Description |
---|
QuantityPriceBreak()
Constructs a
QuantityPriceBreak object with all field values set
to null . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Returns the description.
|
java.lang.String |
getOrderUomCode()
Returns the order unit of measure code.
|
java.math.BigDecimal |
getOrderUomPrice()
Returns the order unit of measure price.
|
int |
getOrderUomQty()
Returns the order unit of measure quantity.
|
java.lang.String |
getPriceUomCode()
Returns the price unit of measure code.
|
boolean |
getPriceUomDefault()
Returns the price unit of measure default flag.
|
java.math.BigDecimal |
getPriceUomPrice()
Returns the price unit of measure price.
|
void |
setDescription(java.lang.String value)
Sets the description.
|
void |
setOrderUomCode(java.lang.String value)
Sets the order unit of measure code.
|
void |
setOrderUomPrice(java.math.BigDecimal value)
Sets the order unit of measure price.
|
void |
setOrderUomQty(int value)
Sets the order unit of measure quantity.
|
void |
setPriceUomCode(java.lang.String value)
Sets the price unit of measure code.
|
void |
setPriceUomDefault(boolean value)
Sets the price unit of measure default flag.
|
void |
setPriceUomPrice(java.math.BigDecimal value)
Sets the price unit of measure price.
|
after, before, compareTo, equals, fmtStatus, fmtStatus, getObjectStatus, hashKey, setObjectStatus
cloneMapAttributes, formatValue, formatValue, getHashFields, getMapArrayList, getMapAttributes, getMapBigDecimal, getMapBoolean, getMapDate, getMapDouble, getMapInteger, getMapLong, getMapMapped, getMapObject, getMapShort, getMapString, getMapString, getMapStringBuffer, getMapStringBuilder, getMapTime, getMapTimestamp, getMapVector, hashCode, setHashFields, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMapAttributes, setMapObject, setMapTime, setMapTimestamp, toStringArray
private static final long serialVersionUID
public QuantityPriceBreak()
QuantityPriceBreak
object with all field values set
to null
.public java.lang.String getOrderUomCode()
public void setOrderUomCode(java.lang.String value)
value
- (String) The order unit of measure code.public int getOrderUomQty()
public void setOrderUomQty(int value)
value
- (int) The order unit of measure quantity.public java.math.BigDecimal getOrderUomPrice()
public void setOrderUomPrice(java.math.BigDecimal value)
value
- (BigDecimal) The order unit of measure price.public java.lang.String getPriceUomCode()
public void setPriceUomCode(java.lang.String value)
value
- (String) The price unit of measure code.public java.math.BigDecimal getPriceUomPrice()
public void setPriceUomPrice(java.math.BigDecimal value)
value
- (BigDecimal) The price unit of measure price.public boolean getPriceUomDefault()
public void setPriceUomDefault(boolean value)
value
- (boolean) The price unit of measure default flag.public java.lang.String getDescription()
UnitMeasureHandler
.public void setDescription(java.lang.String value)
UnitMeasureHandler
.value
- (String) The description.