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, toString
public QuantityAmountDataBeanImpl() throws com.ibm.commerce.exception.ECSystemException
com.ibm.commerce.exception.ECSystemException
public 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.ECSystemException
public FormattedQuantityAmount getFormattedQuantity() throws com.ibm.commerce.exception.ECException
com.ibm.commerce.exception.ECException
public QuantityAmount getQuantity() throws com.ibm.commerce.exception.ECSystemException
com.ibm.commerce.exception.ECSystemException
public void setQuantity(QuantityAmount newQuantity)
newQuantity
- the quantity amount.