public class PriceDataBean extends FormattedMonetaryAmountDataBean implements PriceInputDataBean, PriceSmartDataBean
Constructor and Description |
---|
PriceDataBean(MonetaryAmount aMonetaryAmount, StoreAccessBean aStoreAccessBean, java.lang.Integer aLanguageId)
Price data bean constructor.
|
PriceDataBean(MonetaryAmount aMonetaryAmount, StoreAccessBean aStoreAccessBean, java.lang.Integer aLanguageId, java.lang.Long aCatEntryId, CommandContext aCommandContext)
Price data bean constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long | getCatEntryId()
Gets the catalog entry id.
|
java.math.BigDecimal | getPriceVAT()
Gets total of the price with VAT.
|
CategorizedMonetaryAmountsDataBean | getTaxes()
Invokes GetDisplayTaxes command to calculate the taxes for those tax categories that are displayable at product display time.
|
void | setCatEntryId(java.lang.Long aCatEntryId)
Sets the catalog entry id
|
void | setStoreId(java.lang.Integer anStoreId)
sets store id (optional).
|
public PriceDataBean(MonetaryAmount aMonetaryAmount, StoreAccessBean aStoreAccessBean, java.lang.Integer aLanguageId)
public PriceDataBean(MonetaryAmount aMonetaryAmount, StoreAccessBean aStoreAccessBean, java.lang.Integer aLanguageId, java.lang.Long aCatEntryId, CommandContext aCommandContext)
public java.lang.Long getCatEntryId()
public java.math.BigDecimal getPriceVAT() throws javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException, ECSystemException
public CategorizedMonetaryAmountsDataBean getTaxes() throws javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException, ECSystemException
public void setCatEntryId(java.lang.Long aCatEntryId)
public void setStoreId(java.lang.Integer anStoreId)