public class AddOrderItemWithPromotionCodeOrCouponCmdImpl extends OrderItemAddCmdImpl implements AddOrderItemWithPromotionCodeOrCouponCmd
Constructor and Description |
---|
AddOrderItemWithPromotionCodeOrCouponCmdImpl() |
Modifier and Type | Method and Description |
---|---|
boolean | isReadyToCallExecute()
Checks to see if this controller command is ready to be invoked
|
void | performExecute()
This method is responsible for adding a promotion code to an order.
|
protected void | redirect()
redirects the response
|
void | setGuestToken(java.lang.String aToken)
Sets the string identifier of a guest customer.
|
void | setPromotionCode(java.lang.String pCode)
Sets promotion code.
|
void | setPromotionName(java.lang.String pName)
Sets promotion name.
|
void | setPromotionVersion(java.lang.Integer version)
Sets promotion version.
|
void | setRequestProperties(TypedProperty aRequestProperties)
Sets the request properties of the controller command.
|
void | validateParameters()
This method verifies the input parameters.
|
public AddOrderItemWithPromotionCodeOrCouponCmdImpl()
public void setPromotionCode(java.lang.String pCode)
public void setPromotionName(java.lang.String pName)
public void setPromotionVersion(java.lang.Integer version)
public void setGuestToken(java.lang.String aToken)
public boolean isReadyToCallExecute()
public void performExecute() throws ECException
public void setRequestProperties(TypedProperty aRequestProperties) throws ECException
protected void redirect()
public void validateParameters() throws ECException