public interface SimulatedPromotionEvaluationTaskCmd extends TaskCommand
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
static java.lang.String | defaultCommandClassName
Default implementation class for this command.
|
static long | GENERIC_USER_ID
The generic user ID -1002.
|
static java.math.BigDecimal | ONE
The constant - ONE.
|
static java.lang.Long | SIMULATED_GENERIC_USER_ID
The generic user ID to use.
|
static long | SIMULATED_ID
The ID constant uses for simulated order and order item.
|
static java.lang.Long | SIMULATED_ORDER_ID
The simulated order ID.
|
static java.math.BigDecimal | ZERO
The constant - ZERO.
|
Modifier and Type | Method and Description |
---|---|
PromotionArgument | getEvaluationResult()
Gets the promotion evaluation result.
|
void | setOrder(Order aOrder)
Sets simulated order.
|
void | setPromotionIDs(java.util.List<java.lang.String> aPromotionIDs)
Sets a list of promotion IDs that will be evaluated.
|
void | setPromotionTemplateName(java.lang.String aTemplateName)
Sets the promotion template name.
|
void | setSimulatedConfiguration(java.util.Map<java.lang.String,java.lang.String> aSimulatedConfiguration)
Sets the optional simulated configurations.
|
static final java.lang.String COPYRIGHT
static final java.lang.String defaultCommandClassName
static final long SIMULATED_ID
static final java.lang.Long SIMULATED_ORDER_ID
static final long GENERIC_USER_ID
static final java.lang.Long SIMULATED_GENERIC_USER_ID
static final java.math.BigDecimal ZERO
static final java.math.BigDecimal ONE
void setPromotionTemplateName(java.lang.String aTemplateName)
void setPromotionIDs(java.util.List<java.lang.String> aPromotionIDs)
void setOrder(Order aOrder)
void setSimulatedConfiguration(java.util.Map<java.lang.String,java.lang.String> aSimulatedConfiguration)
PromotionArgument getEvaluationResult()