public class RestoreUnusedPromotionCodeCOTaskCmdImpl extends AbstractRestoreUnusedPromotionCodeTaskCmdImpl implements RestoreUnusedPromotionCodeTaskCmd
Constructor and Description |
---|
RestoreUnusedPromotionCodeCOTaskCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void | performExecute()
This method executes the business logic of this command implementation.
The business logic of this command implementation is responsible for restoring promotion codes from an order. |
void | reset()
This method is called after a command has been executed.
|
protected void | restoreUnusedUniquePromotionCode(java.lang.Long orderId)
This method restores an unused promotion code from an order with unique promotion code implementation.
|
void | setOrderId(java.lang.Long orderId)
This is the method declaration to Set Order Id.
|
void | setPromotionCodeType(java.lang.Short promotionCodeType)
This method sets the implementation type that is used for promotion code.
|
public RestoreUnusedPromotionCodeCOTaskCmdImpl()
protected void restoreUnusedUniquePromotionCode(java.lang.Long orderId) throws ECException
public void setOrderId(java.lang.Long orderId)
public void setPromotionCodeType(java.lang.Short promotionCodeType)
public void performExecute() throws ECException
public void reset()