ReservePaymentCmd
public interface CheckPaymentAcceptCmd extends TaskCommand
CheckPaymentAcceptCmd
Task Command
This Task Command is normally called during ReleaseToFulfillment. It checks if the previously approved payment for an order is still valid and if the Approved Amount is the same as the Order Amount.
The command returns one of three possible answers:
PaymentConstants.APPROVAL_YES
- The authorization is still valid and the Approved Amount is the same as the Order Amount.
PaymentConstants.APPROVAL_NO
- A re-authorization was attempted but was declined.
PaymentConstants.APPROVAL_WORKING
- Working on it, check back later.
CheckPaymentAcceptCmdImpl
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Deprecated.
IBM copyright notice field.
|
static java.lang.String |
defaultCommandClassName
Deprecated.
The default implementation of this command.
|
static java.lang.String |
ERRTASK_NAME
Deprecated.
Name of the Error View for this command.
|
static java.lang.String |
NAME
Deprecated.
The name of this command.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getReturnCode()
Deprecated.
Returns a code indicating the result of the check.
|
void |
setApproveAmount(java.math.BigDecimal approveAmount)
Deprecated.
Sets the approveAmount property of the command.
|
void |
setOrder(OrderAccessBean abOrder)
Deprecated.
Sets the order property of the command.
|
void |
setReleaseToFulfillment(java.lang.Boolean bRelease)
Deprecated.
Sets the bRelease property of the command.
|
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 return codes are:
PaymentConstants.APPROVAL_YES
- The authorization is still valid and the Approved Amount is the same as the Order Amount.
PaymentConstants.APPROVAL_NO
- A re-authorization was attempted but was declined.
PaymentConstants.APPROVAL_WORKING
- Working on it, check back later.
void setApproveAmount(java.math.BigDecimal approveAmount)
approveAmount
- the approved amount to be checkedvoid setOrder(OrderAccessBean abOrder)
abOrder
- the OrderAccessBean representing the order for which the approved amount is to be checkedvoid setReleaseToFulfillment(java.lang.Boolean bRelease)
bRelease
- true to indicate the checking was requested as part of release to fulfillment