com.ibm.commerce.payment.extern
Class ForwardPaymentSummaryCmdImpl
java.lang.Object
|
+--com.ibm.commerce.command.AbstractECCommand
|
+--com.ibm.commerce.command.TaskCommandImpl
|
+--com.ibm.commerce.payment.extern.ForwardPaymentSummaryCmdImpl
- All Implemented Interfaces:
- ECCommand, ForwardPaymentSummaryCmd, TaskCommand
- public class ForwardPaymentSummaryCmdImpl
- extends TaskCommandImpl
- implements ForwardPaymentSummaryCmd
This ForwardPaymentSummaryCmdImpl
Task Command is called by the
PaymentSummaryGenerate command to forward payment summary data to an external
accounting system. This command implementation is empty. It is intended for
third-parties to extend and write implementation code for integration with an
external accounting system.
Methods inherited from class com.ibm.commerce.command.AbstractECCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
ForwardPaymentSummaryCmdImpl
public ForwardPaymentSummaryCmdImpl()
getPaymentSummary
protected PaymentSummaryAccessBean getPaymentSummary()
- Returns the PaymentSummaryAccessBean that holds the payment summary data
to be processed by this command.
- Returns:
- The PaymentSummaryAccessBean.
performExecute
public void performExecute()
throws ECException
- The business logic for this command. This method should be overwritten by all command writers.
Command writers should call super.performExecute() as the first line in their method.
The default implementation calls checkParameters() for compatibility with 5.1
- Specified by:
performExecute
in interface ECCommand
- Overrides:
performExecute
in class AbstractECCommand
- Throws:
ECException.
-
reset
public void reset()
- This method should be called after a command has been executed to reset its states variables.
After the call to reset, we should be able to execute the command again.
- Overrides:
reset
in class AbstractECCommand
setPaymentSummary
public void setPaymentSummary(PaymentSummaryAccessBean abPaymentSummary)
- Sets the paymentSummary property of the command. The property is a reference to the
com.ibm.commerce.payment.objects.PaymentSummaryAccessBean that holds the payment summary
data.
- Specified by:
setPaymentSummary
in interface ForwardPaymentSummaryCmd
- Parameters:
abPaymentSummary
- The PaymentSummaryAccessBean that holds the payment summary data.