public interface CheckAccountPaymentCmd extends TaskCommand
CheckAccountPaymentCmd
Task Command is called by the CheckPaymentAcceptCmdImpl
command implementation to check the payment against the customer account through an external
accounting system.
This command returns one of three possible answers. See getReturnCode() method for details.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
static java.lang.String |
defaultCommandClassName
The default implementation of this command.
|
static java.lang.String |
ERRTASK_NAME
Name of the default error view for this command.
|
static java.lang.String |
NAME
The name of this command.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getReturnCode()
Returns the String return code indicating the approval status of the payment for the specified
order.
|
void |
setApproveAmount(java.math.BigDecimal approveAmount)
The amount of the order to be checked and reapproved if necessary.
|
void |
setErrorViewName(java.lang.String sEVN)
Sets the error view to be used to report error.
|
void |
setOrder(OrderAccessBean ab)
Sets the order for which payment is to be checked.
|
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
static final java.lang.String ERRTASK_NAME
java.lang.String getReturnCode()
Possible values for the return code String are:
void setApproveAmount(java.math.BigDecimal approveAmount)
approveAmount
- the amount in the currency of the ordervoid setErrorViewName(java.lang.String sEVN)
sEVN
- the Error View namevoid setOrder(OrderAccessBean ab)
ab
- the OrderAccessBean representing the order