QueryPaymentsInfoPolicyCmdImpl.public class GetPaymentInfoCmdImpl extends ControllerCommandImpl implements GetPaymentInfoCmd
GetPaymentInfoCmd controller command.
| Name | Description |
|---|---|
langId |
Sets or resets the preferred language for the duration of the session; the supported languages for a store are found in the STORELANG table storeId. |
storeId |
The reference number of the store associated with this command. |
orderId |
(Required) The reference number of the order about which payment information is being requested . |
URL |
(Required) The URL to be called when the command completes successfully. |
defaultCommandClassName, NAME| Constructor and Description |
|---|
GetPaymentInfoCmdImpl()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
AccessVector |
getResources()
Deprecated.
This method returns the resources accessed by this command.
|
boolean |
isReadyToCallExecute()
Deprecated.
This method is called by the Command Framework to check if all basic mandatory
parameters have been set for this command.
|
void |
performExecute()
Deprecated.
This method executes the business logic of this command implementation.
|
void |
reset()
Deprecated.
This method resets the instance variables of the command.
|
void |
setOrderId(java.lang.Long orderId)
Deprecated.
This method sets the orderId property of the command.
|
void |
setUrl(java.lang.String astrUrl)
Deprecated.
This method sets the URL property of the command.
|
void |
validateParameters()
Deprecated.
This method extracts and validates the input parameters of this command implementation.
|
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setRequestProperties, setResponseProperties, setRetriable, setViewInputPropertiesaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiesaccessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwnercheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesfulfills, getOwnerpublic AccessVector getResources() throws ECException
getResources in interface ECCommandgetResources in class AbstractECTargetableCommandECExceptionpublic boolean isReadyToCallExecute()
isReadyToCallExecute in interface com.ibm.websphere.command.CommandisReadyToCallExecute in class AbstractECTargetableCommandpublic void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECException.ECExceptionpublic void reset()
This is useful if the command instance is to be called multiple times with different command parameters.
reset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic void setOrderId(java.lang.Long orderId)
setOrderId in interface GetPaymentInfoCmdorderId - A Long that specifies the order reference number of the Order for which the
payment information is to be obtained.public void setUrl(java.lang.String astrUrl)
setUrl in interface GetPaymentInfoCmdastrUrl - A String that specifies the URL to redirect to after the command completes its
processing. The payment information is to be appended to this URL
as additional name-value pairs in the query string.public void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECException.ECException