public class QuantityAmountDataBeanImpl extends UnitAmountDataBeanImpl
| Constructor and Description |
|---|
QuantityAmountDataBeanImpl()
QuantityAmountDataBeanImpl default constructor.
|
QuantityAmountDataBeanImpl(QuantityAmount aQuantityAmount,
com.ibm.commerce.common.objects.StoreAccessBean aStoreAccessBean,
java.lang.Integer aLangId)
QuantityAmountDataBeanImpl constructor.
|
| Modifier and Type | Method and Description |
|---|---|
FormattedQuantityAmount |
getFormattedQuantity()
Get the formatted quantity.
|
QuantityAmount |
getQuantity()
Get the quantity (round customized).
|
void |
setQuantity(QuantityAmount newQuantity)
Set the quantity.
|
getCustomizedString, getDescription, getLangId, getNumberUsage, getStoreAccessBean, getSymbol, setLangId, setNumberUsage, setStoreAccessBean, toStringpublic QuantityAmountDataBeanImpl()
throws com.ibm.commerce.exception.ECSystemException
com.ibm.commerce.exception.ECSystemExceptionpublic QuantityAmountDataBeanImpl(QuantityAmount aQuantityAmount, com.ibm.commerce.common.objects.StoreAccessBean aStoreAccessBean, java.lang.Integer aLangId) throws com.ibm.commerce.exception.ECSystemException
aQuantityAmount - a quantity amount.aStoreAccessBean - the store under which the formatting is to occur.aLangId - the language Id under which the formatting is to occur.com.ibm.commerce.exception.ECSystemExceptionpublic FormattedQuantityAmount getFormattedQuantity() throws com.ibm.commerce.exception.ECException
com.ibm.commerce.exception.ECExceptionpublic QuantityAmount getQuantity() throws com.ibm.commerce.exception.ECSystemException
com.ibm.commerce.exception.ECSystemExceptionpublic void setQuantity(QuantityAmount newQuantity)
newQuantity - the quantity amount.