|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Create a new return reason.
This command requires to have the store entity id and language id set in the command context.
Parameters
Example xml_string for return reason:
Return reason code1
Response Parameters
Exceptions
When the required fields are missing or not in the right data type, this command will throw exception to indicate which field is missing or bad.
Field Summary | |
static java.lang.String |
COPYRIGHT
|
static java.lang.String |
defaultCommandClassName
The default implementation class name. |
static java.lang.String |
NAME
|
Method Summary | |
void |
setReturnReasonCode(java.lang.String newReturnReasonCode)
Set the return reason code. |
void |
setReturnReasonDescription(java.lang.String newReturnReasonDescription)
Set the description of the reason for the return. |
void |
setReturnReasonType(java.lang.String newReturnReasonType)
Set the type of return reason code. |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.AccCommand |
accessControlCheck, getAccCheck, getForUserId, setAccCheck, setForUserId, setOwner |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
Field Detail |
public static final java.lang.String COPYRIGHT
public static final java.lang.String defaultCommandClassName
public static final java.lang.String NAME
Method Detail |
public void setReturnReasonCode(java.lang.String newReturnReasonCode)
newReturnReasonCode
- java.lang.Stringpublic void setReturnReasonDescription(java.lang.String newReturnReasonDescription)
newReturnReasonDescription
- java.lang.Stringpublic void setReturnReasonType(java.lang.String newReturnReasonType)
newReturnReasonType
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |