public class GetCachedEntitledPriceCmdImpl extends AbstractGetEntitledPriceCmdImpl
If the command is successfully getting the price, it will return the best price.
If unsuccessful with any exceptions, the command throws the ECApplicationException specifying an Error Message (ERR_RETRIEVE_PRICE).
If failed to retrieve price from price memory cache, it returns null value price.
Behaviour
A catalog entry ID is required, and also the c could provide quantity or currency.
Exception Conditions
If ErrorMode is false, these errors will be ignored and a null value price will be passed back to the caller.
Constructor and Description |
---|
GetCachedEntitledPriceCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected GetType | buildGetPriceListType(CatEntryPrices[] aCatEntryPricesArr)
This method builds a GetType using a CatEntryPrices array.
|
protected GetType buildGetPriceListType(CatEntryPrices[] aCatEntryPricesArr) throws ECException