public class GetPromotionCodesByOrderIdCOTaskCmdImpl extends AbstractGetPromotionCodesByOrderIdTaskCmdImpl implements GetPromotionCodesByOrderIdTaskCmd
Constructor and Description |
---|
GetPromotionCodesByOrderIdCOTaskCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] | getPromotionCodes()
This is the method to get promotion codes.
|
protected java.lang.String[] | getUniquePromotionCodesByOrderId(java.lang.Long orderId)
This method is used to get unique promotion codes by order id.
|
void | performExecute()
This method executes the business logic of this command implementation.
|
void | reset()
This method is called after a command has been executed.
|
void | setOrderId(java.lang.Long orderId)
This is the method to set order id.
|
void | setPromotionCodeType(java.lang.Short promotionCodeType)
This method sets the implementation type that is used for promotion code.
|
public GetPromotionCodesByOrderIdCOTaskCmdImpl()
protected java.lang.String[] getUniquePromotionCodesByOrderId(java.lang.Long orderId) throws ECException
public void reset()
public void performExecute() throws ECException
public java.lang.String[] getPromotionCodes()
public void setOrderId(java.lang.Long orderId)
public void setPromotionCodeType(java.lang.Short promotionCodeType)