com.ibm.commerce.order.commands
Class SetOrderPaymentInfoCmdImpl
java.lang.Object
CacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.order.commands.SetOrderPaymentInfoCmdImpl
- All Implemented Interfaces:
- ECCommand, ECTargetableCommand, SetOrderPaymentInfoCmd, TaskCommand
- public class SetOrderPaymentInfoCmdImpl
- extends TaskCommandImpl
- implements SetOrderPaymentInfoCmd
Sets the payment information of an order. The payment information is written to the ORDPAYINFO table.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
COPYRIGHT
IBM copyright notice field. |
Method Summary |
void |
performExecute()
Contains the actual business logic of the command. |
void |
setOrderId(java.lang.Long anOrderId)
Sets the order identifier for which payment information is being set. |
void |
setOrderPaymentInfo(java.util.Hashtable ahshOrderPaymentInfo)
Sets the payment information name-value pairs. |
void |
validateParameters()
Performs server side parameter checking. |
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 |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- IBM copyright notice field.
- See Also:
- Constant Field Values
SetOrderPaymentInfoCmdImpl
public SetOrderPaymentInfoCmdImpl()
performExecute
public void performExecute()
throws ECException
- Contains the actual business logic of the command.
-
- Specified by:
- performExecute in interface ECCommand
- Overrides:
- performExecute in class AbstractECTargetableCommand
-
- Throws:
- ECException
setOrderId
public void setOrderId(java.lang.Long anOrderId)
- Sets the order identifier for which payment information is being set.
-
- Specified by:
- setOrderId in interface SetOrderPaymentInfoCmd
-
- Parameters:
- anOrderId - order id.
setOrderPaymentInfo
public void setOrderPaymentInfo(java.util.Hashtable ahshOrderPaymentInfo)
- Sets the payment information name-value pairs.
-
- Specified by:
- setOrderPaymentInfo in interface SetOrderPaymentInfoCmd
-
- Parameters:
- ahshOrderPaymentInfo - order payment info.
validateParameters
public void validateParameters()
throws ECException
- Performs server side parameter checking.
-
- Specified by:
- validateParameters in interface ECCommand
- Overrides:
- validateParameters in class AbstractECTargetableCommand
-
- Throws:
- ECException
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.