public interface CreateUniquePromotionCodeCmd extends TaskCommand
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
static java.lang.String |
defaultCommandClassName
default class name
|
static java.lang.String |
NAME
interface name string
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getPxCdpoolId()
Returns the newly created promotion code's ID.
|
java.util.Map |
getPxCdpoolIds()
Returns a map containing the Promotion Code to PX_CDPOOL_ID Mapping.
|
void |
setPromotionCode(java.lang.String promotionCode)
Sets the code for the promotion code.
|
void |
setPromotionCodes(java.util.List<java.lang.String> promotionCodes)
Sets the codes for the promotion codes.
|
void |
setPromotionId(java.lang.String promotionId)
Sets the promotion id that the promotion code is associated with.
|
void |
setStoreId(java.lang.String storeId)
Sets the store id that the promotion code belongs to.
|
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
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 defaultCommandClassName
static final java.lang.String NAME
void setPromotionId(java.lang.String promotionId)
promotionId
- Promotion ID of the promotion that the code is associated with.void setStoreId(java.lang.String storeId)
storeId
- The store id that the promotion code belongs to.void setPromotionCode(java.lang.String promotionCode)
promotionCode
- The code for the promotion code.void setPromotionCodes(java.util.List<java.lang.String> promotionCodes)
promotionCodes
- java.util.Map getPxCdpoolIds()
java.lang.Long getPxCdpoolId()