public class CartConfirmationLine extends JDBCObject<CartConfirmationLine>
A confirmation line contains extra cart lines for the cart. The backend inteface may send informational lines which are stored in a collection and displayed on the confirm order page.
Confirmation lines are created when a request for quotation is submitted to the ERP system. If a request for quotation is submitted for a cart that already has confirmation lines, the existing confirmation lines are deleted and new lines are created.
| 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_PENDINGivHashCode, ivHashFlds, ivObjAttrs| Constructor and Description |
|---|
CartConfirmationLine()
Constructs a
CartConfirmationLine object with all field values set
to null. |
| Modifier and Type | Method and Description |
|---|---|
private java.math.BigDecimal |
calcExtendedAmount(int qty,
java.math.BigDecimal price)
Calculates extended amount based on decimal math and sets precision
and rounding mode based on installation properties.
|
java.lang.String |
getContractNumber()
Returns the contract number.
|
java.lang.String |
getCustomerPartNumber()
(not persisted) Returns the customer part number.
|
java.lang.String |
getDescription()
Returns the description.
|
java.math.BigDecimal |
getExtendedAmount()
(not persisted) Returns the extended amount for this line.
|
int |
getOrderQuantity()
Returns the line item quantity.
|
UnitMeasure |
getOrderUom()
Returns the order unit of measure object.
|
java.lang.String |
getOrderUomCode()
Returns the order unit of measure code.
|
UnitMeasure |
getPriceUom()
Returns the price unit of measure object.
|
java.lang.String |
getPriceUomCode()
Returns the price unit of measure code.
|
java.lang.String |
getProductCode()
Returns the product code.
|
java.util.Date |
getReqShipDate()
Returns the requested ship date.
|
java.math.BigDecimal |
getUnitPrice()
(not persisted) Returns the unit price for this line.
|
void |
setContractNumber(java.lang.String value)
Sets the contract number.
|
void |
setCustomerPartNumber(java.lang.String value)
(not persisted) Sets the customer part number.
|
void |
setDescription(java.lang.String value)
Sets the description.
|
void |
setOrderQuantity(int value)
Sets the line item quantity.
|
void |
setOrderUom(UnitMeasure value)
Sets the order unit of measure object.
|
private void |
setOrderUomCode(java.lang.String value)
Sets the order unit of measure code.
|
void |
setPriceUom(UnitMeasure value)
Sets the price unit of measure object.
|
private void |
setPriceUomCode(java.lang.String value)
Sets the price unit of measure code.
|
void |
setProductCode(java.lang.String value)
Sets the product code.
|
void |
setReqShipDate(java.util.Date value)
Sets the requested ship date.
|
void |
setUnitPrice(java.math.BigDecimal value)
(not persisted) Sets the unit price for this line.
|
after, before, compareTo, equals, fmtStatus, fmtStatus, getObjectStatus, hashKey, setObjectStatuscloneMapAttributes, 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, toStringArrayprivate static final long serialVersionUID
public CartConfirmationLine()
CartConfirmationLine object with all field values set
to null.public java.lang.String getProductCode()
public void setProductCode(java.lang.String value)
value - (String) The product code.public java.lang.String getDescription()
public void setDescription(java.lang.String value)
value - (String) The description.public int getOrderQuantity()
public void setOrderQuantity(int value)
value - (int) The line item quantity.public UnitMeasure getOrderUom()
public void setOrderUom(UnitMeasure value)
value - (UnitMeasure) The order unit of measure object.public java.lang.String getOrderUomCode()
private void setOrderUomCode(java.lang.String value)
value - (String) The order unit of measure code.public UnitMeasure getPriceUom()
public void setPriceUom(UnitMeasure value)
value - (UnitMeasure) The price unit of measure object.public java.lang.String getPriceUomCode()
private void setPriceUomCode(java.lang.String value)
value - (String) The price unit of measure code.public java.util.Date getReqShipDate()
public void setReqShipDate(java.util.Date value)
value - (java.util.Date) The requested ship date.public java.lang.String getContractNumber()
public void setContractNumber(java.lang.String value)
value - (String) The contract number.public java.lang.String getCustomerPartNumber()
public void setCustomerPartNumber(java.lang.String value)
value - (String) The customer part number.public java.math.BigDecimal getUnitPrice()
public void setUnitPrice(java.math.BigDecimal value)
value - (BigDecimal) - The unit price.public java.math.BigDecimal getExtendedAmount()
private java.math.BigDecimal calcExtendedAmount(int qty,
java.math.BigDecimal price)
qty - (int) The quantity.price - (BigDecimal) The price.