Interface for the command used for retrieving the product base unit price of a product.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
static java.lang.String |
defaultCommandClassName The default name of this command. |
static java.lang.String |
NAME The name of this command. |
Method Summary | |
---|---|
java.lang.Long[] |
getApplicableTradingIds() Returns the ids of the trading agreements that are used to determine the prices. |
MonetaryAmount[] |
getApplicableTradingUnitPrices() Returns the unit prices of a catentry that were determined for each of the applied trading agreements. |
MonetaryAmount |
getBasePrice() Gets the base price of the catalog entry. |
CatEntryPrices[] |
getCatEntryPrices() Returns the price related information of the input catalog entries. |
OfferAccessBean |
getOffer() Get the offer access bean that was used to determine the price. |
java.lang.Long |
getOfferId() Get the offer Id that was used to determine the price. |
MonetaryAmount |
getPrice() Gets the actual price of the catalog entry. |
java.lang.Long |
getTcId() Get the Tc Id that was used to determine the price. |
java.lang.Long |
getTradingId() Get the trading IDs associated with the offer that supplied the price. |
void |
setCatEntryId(java.lang.Long aCatEntryId) Sets the primary key of the catalog entry whose price is to be retrieved. |
void |
setCurrency(java.lang.String aCurrency) (Optional) Set the currency to be used for finding the price. |
void |
setErrorMode(boolean aErrorMode) Set error mode |
void |
setOfferIds(java.lang.Long[] anOfferIdList) (Optional) Sets the offer IDs to use for the price. |
void |
setQuantity(QuantityAmount aQuantityAmount) (Optional) Set the quantity amount of the catalog entry that is to be priced. |
void |
setStoreId(java.lang.Integer aStoreId) (Optional) Set the store Id to use for calculating the price. |
void |
setTradingIds(java.lang.Long[] aTradingIds)
(Optional) Sets the trading IDs to be used to determine which offers
apply. |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String defaultCommandClassName
public static final java.lang.String NAME
Method Detail |
---|
public MonetaryAmount getBasePrice()
public CatEntryPrices[] getCatEntryPrices()
public OfferAccessBean getOffer()
public java.lang.Long getOfferId()
public MonetaryAmount getPrice()
public java.lang.Long getTcId()
public java.lang.Long getTradingId() throws ECSystemException
ECSystemException
public void setCatEntryId(java.lang.Long aCatEntryId)
aCatEntryId
- the reference number of a catalog
entry.public void setCurrency(java.lang.String aCurrency)
aCurrency
- the currency.public void setOfferIds(java.lang.Long[] anOfferIdList)
anOfferIdList
- the offer IDs.public void setQuantity(QuantityAmount aQuantityAmount)
aQuantityAmount
- a quantity amount.public void setStoreId(java.lang.Integer aStoreId)
aStoreId
- the store Id.public java.lang.Long[] getApplicableTradingIds()
public MonetaryAmount[] getApplicableTradingUnitPrices()
public void setErrorMode(boolean aErrorMode)
aErrorMode
- a boolean for setting error
modepublic void setTradingIds(java.lang.Long[] aTradingIds)
aTradingIds
- the trading IDs to use.