com.ibm.commerce.payment.commands
Class DoDepositTestCmdImpl
java.lang.Object
|
+--CacheableCommandImpl
|
+--com.ibm.commerce.command.AbstractECTargetableCommand
|
+--com.ibm.commerce.command.TaskCommandImpl
|
+--com.ibm.commerce.command.BusinessPolicyCommandImpl
|
+--com.ibm.commerce.payment.commands.DoDepositTestCmdImpl
- All Implemented Interfaces:
-
BusinessPolicyCommand,
DoDepositPolicyCmd,
ECCommand,
ECTargetableCommand,
TaskCommand
- public class DoDepositTestCmdImpl
- extends
BusinessPolicyCommandImpl
- implements
DoDepositPolicyCmd
The DoDepositPolicyCmd
implementation class for the
TestPaymentMethod policy. This command is not supported for the
TestPaymentMethod policy and will throw an ECSystemException if this command
implementation is invoked by mistake.
This command uses the following AccessBeans:
This command does not call other TaskCommand.
- See Also:
- Serialized
Form
Method Summary |
protected
OrderAccessBean |
getOrder()
Returns the OrderAccessBean representing the order whose payment is
to be deposited. |
void |
performExecute()
Performs the main business logic of the command. |
void |
setDepositAmount(java.math.BigDecimal depositAmount)
Sets the depositAmount property of the command. |
void |
setErrorViewName(java.lang.String sEVN)
Sets the error view to be used to report error. |
void |
setOrder(
OrderAccessBean abOrder)
Sets the order property of the command. |
Methods inherited from class
com.ibm.commerce.command.
AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
isReadyToCallExecute,
reset,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
DoDepositTestCmdImpl
public DoDepositTestCmdImpl()
- DoDepositTestCmdImpl constructor comment.
getOrder
protected OrderAccessBean getOrder()
- Returns the OrderAccessBean representing the order whose payment is to be
deposited.
-
- Returns:
- the OrderAccessBean
public void performExecute()
throws ECException
- Performs the main business logic of the command.
-
- Specified by:
-
performExecute
in interface
ECCommand
- Overrides:
-
performExecute
in class
AbstractECTargetableCommand
-
- Throws:
-
ECException
setDepositAmount
public void setDepositAmount(java.math.BigDecimal depositAmount)
- Sets the depositAmount property of the command.
-
- Specified by:
-
setDepositAmount
in interface
DoDepositPolicyCmd
-
- Parameters:
depositAmount
- the amount to be
deposited.
setErrorViewName
public void setErrorViewName(java.lang.String sEVN)
- Sets the error view to be used to report error. This overrides the default
error view of the command.
-
- Specified by:
-
setErrorViewName
in interface
DoDepositPolicyCmd
-
- Parameters:
sEVN
- the Error View name
- See Also:
-
DoDepositPolicyCmd.ERRTASK_NAME
setOrder
public void setOrder(OrderAccessBean abOrder)
- Sets the order property of the command.
-
- Specified by:
-
setOrder
in interface
DoDepositPolicyCmd
-
- Parameters:
abOrder
- the OrderAccessBean of the Order whose payment is to
be deposited