public interface OrderTransferCheckCmd extends ControllerCommand
The redirect URL may be:
OKURL
: The redirection URL that is returned if transfer confirmation for specified oder have been received.TimeoutURL
: The redirection URL that is returned if transfer confirmation has not yet been received,
and a timeoutInterval+orderLastUpdateTime is bigger or equal to the current time.ErrorURL
: The redirection URL that is returned if transfer is failed.WaitURL
: The redirection URL that is returned if transfer confirmation has not yet been received,
and a timeoutInterval+orderLastUpdateTime is less than the current time.
The default implementation of this command is OrderTransferCheckCmdImpl
.
The OrderTransferCheck
URL is mapped to this command by default.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
static java.lang.String |
defaultCommandClassName
The default implementation of this command.
|
static java.lang.String |
NAME
The full name of this command.
|
Modifier and Type | Method and Description |
---|---|
void |
setErrorUrl(java.lang.String astrErrorUrl)
Sets the error URL.
|
void |
setOkUrl(java.lang.String url)
Sets the okURL property of the command.
|
void |
setOrderIds(java.lang.Long[] orderIds)
Sets the orderIds property of the command.
|
void |
setOutOkOrderIdNames(java.lang.String[] outOkOrderIdNames)
Sets the outOkOrderIdNames property of the command.
|
void |
setOutTimeoutOrderIdNames(java.lang.String[] outTimeoutOrderIdNames)
Sets the outTimeoutOrderIdNames property of the command.
|
void |
setOutWaitOrderIdNames(java.lang.String[] outWaitOrderIdNames)
Sets the outWaitOrderIdNames property of the command.
|
void |
setTimeoutUrl(java.lang.String url)
Sets the timeoutURL property of the command.
|
void |
setTransferMode(java.lang.String transferMode)
Sets the transferMode property of the command.
|
void |
setWaitUrl(java.lang.String url)
Sets the waitURL property of the command.
|
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
fulfills, getOwner
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
void setOrderIds(java.lang.Long[] orderIds)
orderIds
- the order reference number of the Order for which the
confirmation will be checked.void setTransferMode(java.lang.String transferMode)
transferMode
- - 0 - order has been transferred without the payment information (shopping cart transfer).
1 - order has been transferred with the payment information (purchase order transfer).void setOkUrl(java.lang.String url)
url
- - The redirection URL that is returned if transfer confirmation for specified oder have been received.void setTimeoutUrl(java.lang.String url)
url
- - The redirection URL that is returned if transfer confirmation has not yet been received,
and a timeoutInterval+orderLastUpdateTime is bigger or equal to the current time.void setWaitUrl(java.lang.String url)
url
- - The redirection URL that is returned if transfer confirmation has not yet been received,
and a timeoutInterval+orderLastUpdateTime is less than the current time.void setOutOkOrderIdNames(java.lang.String[] outOkOrderIdNames)
outOkOrderIdNames
- The names of name value pairs that should be added to the redirection URL.
The values of the added name value pairs are the identifiers of the checked orders that have
transfer confirmations.void setOutWaitOrderIdNames(java.lang.String[] outWaitOrderIdNames)
outWaitOrderIdNames
- The names of name value pairs that should be added to the redirection URL.
The values of the added name value pairs are the identifiers of the checked orders that do not yet have
transfer confirmations. But whose timeoutInterval+orderLastUpdateTime values are not less than the current time.void setOutTimeoutOrderIdNames(java.lang.String[] outTimeoutOrderIdNames)
outTimeoutOrderIdNames
- The names of name value pairs that should be added to the redirection URL.
The values of the added name value pairs are the identifiers of the checked orders that do not yet have
transfer confirmations. But whose timeoutInterval+orderLastUpdateTime values are less than the current time.void setErrorUrl(java.lang.String astrErrorUrl)
astrErrorUrl
- The error URL to set