java.lang.Objectcom.ibm.commerce.price.utils.UnitAmountDataBeanImpl
com.ibm.commerce.price.utils.MonetaryAmountDataBean
Monetary amount data bean service class.
Field Summary | |
protected java.lang.String | iCounterValueListPrefix |
protected java.lang.String | iCounterValueListSeparator |
protected java.lang.String | iCounterValueListSuffix |
Constructor Summary | |
MonetaryAmountDataBean() MonetaryAmountDataBean default constructor. |
|
MonetaryAmountDataBean(MonetaryAmount aMonetaryAmount, StoreAccessBean aStoreAccessBean, java.lang.Integer aLangId) MonetaryAmountDataBean constructor. |
Method Summary | |
java.lang.String | getCounterValueListPrefix() Get the prefix used to start the list of counter values. |
java.lang.String | getCounterValueListSeparator() Get the separator used to separate the list of counter values. |
java.lang.String | getCounterValueListSuffix() Get the suffix used to end the list of counter values. |
FormattedMonetaryAmount[] | getFormattedCounterValues() Get a vector of the formatted counter values |
FormattedMonetaryAmount | getPrimaryFormattedPrice() Get the formatted primary price. |
MonetaryAmount | getPrimaryPrice() Get the primary price (round customized). |
boolean | isShowCounterValues() Return a flag that indicates whether counter values are to be shown in the formatted amount. |
void | setCounterValueListPrefix(java.lang.String newCounterValueListPrefix) Set the prefix used for the counter value list. |
void | setCounterValueListSeparator(java.lang.String newCounterValueListSeparator) Set the separator used for the counter value list. |
void | setCounterValueListSuffix(java.lang.String newCounterValueListSuffix) Set the suffix used for the counter value list. |
void | setPrimaryPrice(MonetaryAmount newPrimaryPrice) Set the primary price. |
void | setShowCounterValues(boolean newShowCounterValues) Set the flag that indicates whether counter values should be shown in the formatted amount. |
java.lang.String | toString() Returns a String that represents the value of this object. |
Methods inherited from class com.ibm.commerce.price.utils.UnitAmountDataBeanImpl |
formatAmount, getCustomizedString, getDescription, getLangId, getNumberUsage, getPrimaryAmount, getPrimaryFormattedAmount, getStoreAccessBean, getSymbol, roundAmount, setLangId, setNumberUsage, setPrimaryAmount, setStoreAccessBean, setUnitManager |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.lang.String iCounterValueListPrefix
protected java.lang.String iCounterValueListSeparator
protected java.lang.String iCounterValueListSuffix
Constructor Detail |
public MonetaryAmountDataBean()
public MonetaryAmountDataBean(MonetaryAmount aMonetaryAmount, StoreAccessBean aStoreAccessBean, java.lang.Integer aLangId)
Method Detail |
public java.lang.String getCounterValueListPrefix()
public java.lang.String getCounterValueListSeparator()
public java.lang.String getCounterValueListSuffix()
public FormattedMonetaryAmount[] getFormattedCounterValues() throws ECException
public FormattedMonetaryAmount getPrimaryFormattedPrice() throws ECException
public MonetaryAmount getPrimaryPrice() throws ECSystemException
public boolean isShowCounterValues()
public void setCounterValueListPrefix(java.lang.String newCounterValueListPrefix)
public void setCounterValueListSeparator(java.lang.String newCounterValueListSeparator)
public void setCounterValueListSuffix(java.lang.String newCounterValueListSuffix)
public void setPrimaryPrice(MonetaryAmount newPrimaryPrice)
public void setShowCounterValues(boolean newShowCounterValues)
public java.lang.String toString()
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.