public class FormattedMonetaryAmountDataBean extends MonetaryAmountDataBean implements FormattedMonetaryAmountInputDataBean, FormattedMonetaryAmountSmartDataBean
Constructor and Description |
---|
FormattedMonetaryAmountDataBean()
Formatted monetary amount data bean default constructor.
|
FormattedMonetaryAmountDataBean(MonetaryAmount aMonetaryAmount, StoreAccessBean aStoreAccessBean, java.lang.Integer aLangId)
Formatted monetary amount data bean constructor.
|
Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal | getAmount()
Gets the amount to be formatted.
|
CommandContext | getCommandContext()
Gets the command context.
|
java.lang.String | getCurrency()
Gets the currency of the monetary amount.
|
TypedProperty | getRequestProperties()
Gets request properties.
|
void | populate()
This method is used to create the formatted monetary amount.
|
void | setAmount(java.math.BigDecimal newAmount)
Sets the value of the monetary amount.
|
void | setCommandContext(CommandContext commandContext)
Sets the command context.
|
void | setCurrency(java.lang.String newCurrency)
Sets the monetary currency.
|
void | setRequestProperties(TypedProperty param)
Sets request properties (not implemented).
|
public FormattedMonetaryAmountDataBean()
public FormattedMonetaryAmountDataBean(MonetaryAmount aMonetaryAmount, StoreAccessBean aStoreAccessBean, java.lang.Integer aLangId)
public java.math.BigDecimal getAmount()
public CommandContext getCommandContext()
public java.lang.String getCurrency()
public TypedProperty getRequestProperties()
public void populate() throws java.lang.Exception
public void setAmount(java.math.BigDecimal newAmount)
public void setCommandContext(CommandContext commandContext)
public void setCurrency(java.lang.String newCurrency)
public void setRequestProperties(TypedProperty param) throws java.lang.Exception