com.ibm.commerce.payment.commands
Interface CheckPaymentAcceptCmd
- All Superinterfaces:
- ECCommand, TaskCommand
- All Known Implementing Classes:
- CheckPaymentAcceptCmdImpl
- public interface CheckPaymentAcceptCmd
- extends TaskCommand
The CheckPaymentAcceptCmd
Task Command
Please look at the default implementation, CheckPaymentAcceptCmdImpl
, for more detail
Method Summary |
java.lang.String |
getReturnCode()
Returns the String containing Return Code. |
void |
setApproveAmount(java.math.BigDecimal approveAmount)
Sets the approveAmount property of the command. |
void |
setOrder(OrderAccessBean abOrder)
Sets the order property of the command. |
void |
setReleaseToFulfillment(java.lang.Boolean bRelease)
Sets the bRelease property of the command. |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
defaultCommandClassName
public static final java.lang.String defaultCommandClassName
- The default implementation class.
ERRTASK_NAME
public static final java.lang.String ERRTASK_NAME
- Name of the Error View for this command.
The constant value of this field is "CheckPaymentAcceptErrorView".
NAME
public static final java.lang.String NAME
getReturnCode
public java.lang.String getReturnCode()
- Returns the String containing Return Code.
If the Payment System does not use Return Data then the byte Array will
be null or of zero length.
- Returns:
- String
- See Also:
#APPROVAL_YES
,
#APPROVAL_NO
,
#APPROVAL_WORKING
setApproveAmount
public void setApproveAmount(java.math.BigDecimal approveAmount)
- Sets the approveAmount property of the command.
- Parameters:
approveAmount
- the amount to be approved.
setOrder
public void setOrder(OrderAccessBean abOrder)
- Sets the order property of the command.
- Parameters:
abOrder
- the OrderAccessBean of the Order for which
is going to be reapproved.
setReleaseToFulfillment
public void setReleaseToFulfillment(java.lang.Boolean bRelease)
- Sets the bRelease property of the command.
- Parameters:
bRelease
- set to true to indicate the order is ready to release to fulfillment.