DoPaymentActionsPolicyCmd
public interface CheckPaymentAcceptPolicyCmd extends BusinessPolicyCommand
CheckPaymentAcceptPolicyCmd
Business Policy Command
This handles the payment approval check specific to the payment method used in the original approval.
This 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.
CheckPaymentAcceptCLCmdImpl
,
CheckPaymentAcceptPMCmdImpl
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 default 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 |
setErrorViewName(java.lang.String sEVN)
Deprecated.
Sets the error view to be used to report error.
|
void |
setOrder(OrderAccessBean abOrder)
Deprecated.
Sets the order property of the command.
|
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties
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 setErrorViewName(java.lang.String sEVN)
sEVN
- the Error View nameERRTASK_NAME
void setOrder(OrderAccessBean abOrder)
abOrder
- the OrderAccessBean representing the order for which the approved amount is to be checked