public interface GetContractPriceListCmd
extends com.ibm.commerce.command.TaskCommand
GetContractPriceListCmd
Task Command to calculate
the contract price for a catalog entry given a trading agreements id.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
static java.lang.String |
NAME
The name of this command.
|
Modifier and Type | Method and Description |
---|---|
MonetaryAmount |
getApplicableTradingUnitPrice()
Returns the unit price of a catentry that were determined for each of the
applied trading agreements.
|
java.lang.Long |
getTcId()
Returns the id of the output T&C id which was associated with the offer
that supplied the price.
|
java.lang.Long |
getTradingId()
Returns the trading id that used to calculate the contract price.
|
void |
setCatEntryId(java.lang.Long catEntryId)
Sets the catEntry id for command calculation
|
void |
setContractIds(java.lang.Long[] contractIds)
Sets the contracts ids for basecommand calculation
|
void |
setCurrency(java.lang.String astrCurrency)
Sets the currency to be used for finding the price (Optional).
|
void |
setOrderItemComponentAccessBean(com.ibm.commerce.order.objects.OrderItemComponentAccessBean oICAB)
Sets order item access bean which passed in.
|
void |
setQuantity(QuantityAmount quantity)
Sets the quantity for command calculation
|
void |
setTradingIds(java.lang.Long[] aTradingIds)
Sets the ids of the input trading agreements (Optional).
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
MonetaryAmount getApplicableTradingUnitPrice()
java.lang.Long getTcId()
java.lang.Long getTradingId()
void setCatEntryId(java.lang.Long catEntryId)
catEntryIds
- The reference numbers of a catEntry to be used
to determine the offers that will supply the prices and the adjustments to be applied
to the prices.void setContractIds(java.lang.Long[] contractIds)
contractIds
- The reference numbers of a list of trading agreements to be used
to determine the offers that will supply the prices and the adjustments to be applied
to the prices.void setCurrency(java.lang.String astrCurrency)
astrCurrency
- The currency to look up the price.
If the currency is not specified then the "negotiated" currency is used for
the store Id and shopper's preferred currency. (The negotiated currency is
the currency returned from the getCurrency() method of the currency manager).void setOrderItemComponentAccessBean(com.ibm.commerce.order.objects.OrderItemComponentAccessBean oICAB)
oICAB
- the order item access bean contains components in this dynamickit.void setQuantity(QuantityAmount quantity)
quantity
- The reference numbers of a quantity to be used
to determine the offers that will supply the prices and the adjustments to be applied
to the prices.void setTradingIds(java.lang.Long[] aTradingIds)
aTradingIds
- The reference numbers of a list of trading agreements to be used
to determine the offers that will supply the prices and the adjustments to be applied
to the prices.