com.ibm.commerce.payment.extern
Class ForwardPaymentSummaryCmdImpl
java.lang.Object
|
+--CacheableCommandImpl
|
+--com.ibm.commerce.command.AbstractECTargetableCommand
|
+--com.ibm.commerce.command.TaskCommandImpl
|
+--com.ibm.commerce.payment.extern.ForwardPaymentSummaryCmdImpl
- All Implemented Interfaces:
-
ECCommand,
ECTargetableCommand,
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.
- See Also:
- Serialized
Form
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,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
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
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
AbstractECTargetableCommand
-
- Throws:
ECException.
-
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
AbstractECTargetableCommand
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