public interface RedeemPromotionCodeToOrderTaskCmd extends TaskCommand
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
The copyright information.
|
static java.lang.String |
defaultCommandClassName
The default implementation class.
|
static java.lang.String |
NAME
The name of the Command Interface class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setOrderId(java.lang.Long orderId)
This is the method declaration to Set Order Id.
|
void |
setPromotionCode(java.lang.String promotionCode)
This is the method declaration to Set Promotion Code.
|
void |
setPromotionCodeType(java.lang.Short promotionCodeType)
This method sets the implementation type that is used for promotion code.
|
void |
setPromotionId(java.lang.Integer promotionId)
This is the method to set promotion id.
|
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, 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 NAME
static final java.lang.String defaultCommandClassName
void setOrderId(java.lang.Long orderId)
orderId - A Long representing the order id to be used in the command.void setPromotionId(java.lang.Integer promotionId)
promotionId - An Integer representing the promotion id to be used in the command.void setPromotionCode(java.lang.String promotionCode)
promotionCode - A String representing the promotion code to be used in the
command.void setPromotionCodeType(java.lang.Short promotionCodeType)
promotionCodeType - A Short representing the promotion code implementation type to
be used in the command.