public interface GetBaseUnitPriceCmd
extends com.ibm.commerce.command.TaskCommand
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
static java.lang.String |
defaultCommandClassName
The default name of this command.
|
static java.lang.String |
ERR_CODE_NO_PRICE
The no price error code of this command.
|
static java.lang.String |
ERRTASK_NAME
The error task name of this command.
|
static java.lang.String |
NAME
The name of this command.
|
| Modifier and Type | Method and Description |
|---|---|
MonetaryAmount |
getBasePrice()
Gets the base price of the catalog entry.
|
java.lang.Long[] |
getContractIds()
Get the contract IDs associated with the offer that supplied the price.
|
java.sql.Timestamp |
getExpiryDateForCache()
Gets an expiry date after which the price is no longer effective.
|
com.ibm.commerce.order.objects.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.
|
void |
setCatEntryId(java.lang.Long aCatEntryId)
Sets the primary key of the catalog entry whose price is to be retrieved.
|
void |
setContractIds(java.lang.Long[] aContractIdList)
(Optional) Sets the contract IDs to be used to determine which offers apply.
|
void |
setCurrency(java.lang.String aCurrency)
(Optional) Set the currency to be used for finding the price.
|
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.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParametersstatic final java.lang.String COPYRIGHT
static final java.lang.String defaultCommandClassName
static final java.lang.String ERR_CODE_NO_PRICE
static final java.lang.String ERRTASK_NAME
static final java.lang.String NAME
MonetaryAmount getBasePrice()
java.lang.Long[] getContractIds()
throws com.ibm.commerce.exception.ECSystemException
com.ibm.commerce.exception.ECSystemExceptionjava.sql.Timestamp getExpiryDateForCache()
throws com.ibm.commerce.exception.ECSystemException
com.ibm.commerce.exception.ECSystemExceptioncom.ibm.commerce.order.objects.OfferAccessBean getOffer()
java.lang.Long getOfferId()
MonetaryAmount getPrice()
void setCatEntryId(java.lang.Long aCatEntryId)
aCatEntryId - the reference number of a catalog entry.void setContractIds(java.lang.Long[] aContractIdList)
aContractIdList - the contract IDs to use.void setCurrency(java.lang.String aCurrency)
aCurrency - the currency.void setOfferIds(java.lang.Long[] anOfferIdList)
anOfferIdList - the offer IDs.void setQuantity(QuantityAmount aQuantityAmount)
aQuantityAmount - a quantity amount.void setStoreId(java.lang.Integer aStoreId)
aStoreId - the store Id.