public class FloorPriceDataBean extends FormattedMonetaryAmountDataBean implements FloorPriceInputDataBean, FloorPriceSmartDataBean
Constructor and Description |
---|
FloorPriceDataBean()
Floor Price Data Bean's default constructor
|
FloorPriceDataBean(java.lang.Long aCatEntryID,
java.lang.Long aTsrID,
com.ibm.commerce.command.CommandContext cmdCtx)
Floor Price Data Bean's constructor
|
FloorPriceDataBean(MonetaryAmount aMonetaryAmount,
com.ibm.commerce.common.objects.StoreAccessBean aStoreAccessBean,
java.lang.Integer aLanguageId)
Floor Price data bean constructor.
|
FloorPriceDataBean(MonetaryAmount aMonetaryAmount,
com.ibm.commerce.common.objects.StoreAccessBean aStoreAccessBean,
java.lang.Integer aLanguageId,
java.lang.Long aCatEntryId,
com.ibm.commerce.command.CommandContext aCommandContext)
Floor Price data bean constructor.
|
FloorPriceDataBean(MonetaryAmount aMonetaryAmount,
com.ibm.commerce.common.objects.StoreAccessBean aStoreAccessBean,
java.lang.Integer aLanguageId,
java.lang.String aPartnumber,
com.ibm.commerce.command.CommandContext aCommandContext)
Floor Price data bean constructor.
|
FloorPriceDataBean(java.lang.String aPartnumber,
java.lang.Long aTsrID,
com.ibm.commerce.command.CommandContext cmdCtx)
Floor Price Data Bean's constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getCatEntryId()
Get the catalog entry id.
|
java.lang.String |
getCurrency()
Get the currency for the floor price.
|
java.lang.String |
getCustomPartnumber()
Gets the custom partnumber.
|
java.math.BigDecimal |
getFloorPriceValue()
Retrieve the floor price via
FloorPriceLookupCmd |
QuantityAmount |
getQuantity()
Gets a quantity object of the catalog entry.
|
java.lang.Integer |
getStoreId()
Get the store id.
|
void |
populate()
Populate the databean
|
void |
setCatEntryId(java.lang.Long aCatEntryId)
Sets the catalog entry ID
|
void |
setConfigurationId(java.lang.String aConfigID)
Sets the configuration ID, if this catalog entry is a DynamicKit.
|
void |
setCurrency(java.lang.String aCurrency)
Sets the currency
|
void |
setCustomPartnumber(java.lang.String aPartnumber)
Sets the custom partnumber.
|
void |
setQuantity(QuantityAmount aQuantityAmount)
Sets the quantity amount of the input catalog entry that is to be priced (Optional).
|
void |
setStoreId(java.lang.Integer aStoreId)
Sets the store ID
|
void |
setTSRId(java.lang.Long aTSRId)
Sets the TSR ID
|
getAmount, getCommandContext, getRequestProperties, setAmount, setCommandContext, setRequestProperties
getCounterValueListPrefix, getCounterValueListSeparator, getCounterValueListSuffix, getFormattedCounterValues, getPrimaryFormattedPrice, getPrimaryPrice, isShowCounterValues, setCounterValueListPrefix, setCounterValueListSeparator, setCounterValueListSuffix, setPrimaryPrice, setShowCounterValues, toString
getCustomizedString, getDescription, getLangId, getNumberUsage, getStoreAccessBean, getSymbol, setLangId, setNumberUsage, setStoreAccessBean
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
setAmount
getAmount
public FloorPriceDataBean()
public FloorPriceDataBean(java.lang.Long aCatEntryID, java.lang.Long aTsrID, com.ibm.commerce.command.CommandContext cmdCtx)
aCatEntryID
- a catalog entry IDaTsrID
- a TSR IDcmdctx
- an instance of CommandContextpublic FloorPriceDataBean(MonetaryAmount aMonetaryAmount, com.ibm.commerce.common.objects.StoreAccessBean aStoreAccessBean, java.lang.Integer aLanguageId)
aMonetaryAmount
- monetary amount of the price.aStoreAccessBean
- store under which the formatting is to occur.aLanguageId
- language Id under which the formatting is to occur.public FloorPriceDataBean(MonetaryAmount aMonetaryAmount, com.ibm.commerce.common.objects.StoreAccessBean aStoreAccessBean, java.lang.Integer aLanguageId, java.lang.Long aCatEntryId, com.ibm.commerce.command.CommandContext aCommandContext)
aMonetaryAmount
- monetary amount of the price.aStoreAccessBean
- store under which the formatting is to occur.aLanguageId
- language Id under which the formatting is to occur.aCatEntryId
- the catalog entry id for the price.aCommandContext
- the command context.public FloorPriceDataBean(MonetaryAmount aMonetaryAmount, com.ibm.commerce.common.objects.StoreAccessBean aStoreAccessBean, java.lang.Integer aLanguageId, java.lang.String aPartnumber, com.ibm.commerce.command.CommandContext aCommandContext)
aMonetaryAmount
- monetary amount of the price.aStoreAccessBean
- store under which the formatting is to occur.aLanguageId
- language Id under which the formatting is to occur.aPartnumber
- the custom partnumber.aCommandContext
- the command context.public FloorPriceDataBean(java.lang.String aPartnumber, java.lang.Long aTsrID, com.ibm.commerce.command.CommandContext cmdCtx)
aPartnumber
- the custom partnumber.aTsrID
- a TSR IDcmdctx
- an instance of CommandContextpublic java.lang.Long getCatEntryId()
getCatEntryId
in interface FloorPriceSmartDataBean
Long
containing the catalog entry id.public java.lang.String getCurrency()
FormattedMonetaryAmountDataBean will be returned
getCurrency
in interface FormattedMonetaryAmountSmartDataBean
getCurrency
in class FormattedMonetaryAmountDataBean
String
containing the currency.public java.lang.String getCustomPartnumber()
getCustomPartnumber
in interface FloorPriceSmartDataBean
String
containing the custom partnumber.public java.math.BigDecimal getFloorPriceValue()
FloorPriceLookupCmd
getFloorPriceValue
in interface FloorPriceSmartDataBean
public QuantityAmount getQuantity()
public java.lang.Integer getStoreId()
Integer
containing the store id.public void populate() throws java.lang.Exception
populate
in interface com.ibm.commerce.beans.SmartDataBean
populate
in class FormattedMonetaryAmountDataBean
EXception
java.lang.Exception
public void setCatEntryId(java.lang.Long aCatEntryId)
setCatEntryId
in interface FloorPriceInputDataBean
aCatEntryId
- Long a catalog entry IDpublic void setConfigurationId(java.lang.String aConfigID)
setConfigurationId
in interface FloorPriceInputDataBean
aConfigID
- A String of pre-configuration ID for a DynamicKitpublic void setCurrency(java.lang.String aCurrency)
setCurrency
in interface FormattedMonetaryAmountInputDataBean
setCurrency
in class FormattedMonetaryAmountDataBean
aCurrency
- String the currency for the floor pricepublic void setCustomPartnumber(java.lang.String aPartnumber)
setCustomPartnumber
in interface FloorPriceInputDataBean
aPartnumber
- String The custom partnumber.public void setQuantity(QuantityAmount aQuantityAmount)
setQuantity
in interface FloorPriceInputDataBean
aQuantityAmount
- The quantity amount of the catalog entry.public void setStoreId(java.lang.Integer aStoreId)
setStoreId
in interface FloorPriceInputDataBean
aStoreId
- Integer A stores IDpublic void setTSRId(java.lang.Long aTSRId)
setTSRId
in interface FloorPriceInputDataBean
aTSRId
- Long A TSR ID