com.ibm.commerce.edp.commands
Interface PreparePIsForEditPolicyCmd
-
- All Superinterfaces:
- BusinessPolicyCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
- All Known Implementing Classes:
- PrepareLineOfCreditPIsForEditPolicyCmdImpl, PreparePIsForEditPolicyCmdImpl
public interface PreparePIsForEditPolicyCmd extends BusinessPolicyCommand
This task command is a business policy command,it is invoked byEditCmd
to "prepare" payment instructions for editing before passing them to payment rules. Typical actions include adding policy-specific payment attribute values to PIs (seePreparePIsForEditPolicyCmd
for an example), or validating PIs against PaymentTCs. The default implementation of this command isPreparePIsForEditPolicyCmdImpl
.- See Also:
EditCmd
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
COPYRIGHT
The IBM copyright notice field.static java.lang.String
defaultCommandClassName
The default implementation of this command.static java.lang.String
NAME
The full name of this command.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description void
setOrderId(java.lang.Long anOrderId)
This method sets the order ID.void
setPaymentTCInfos(PaymentTCInfo[] aPaymentTCInfos)
This method sets the PaymentTCInfos applicable to the payment instructions.void
setPIs(EDPPaymentInstruction[] aPIs)
This method sets the payment instructions to be edited byEditCmd
.-
Methods inherited from interface com.ibm.commerce.command.BusinessPolicyCommand
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties
-
Methods inherited from interface com.ibm.websphere.command.CacheableCommand
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
-
Methods inherited from interface com.ibm.websphere.command.TargetableCommand
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
-
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
-
-
-
-
Field Detail
-
COPYRIGHT
static final java.lang.String COPYRIGHT
The IBM copyright notice field.- See Also:
- Constant Field Values
-
NAME
static final java.lang.String NAME
The full name of this command.- See Also:
- Constant Field Values
-
defaultCommandClassName
static final java.lang.String defaultCommandClassName
The default implementation of this command.- See Also:
- Constant Field Values
-
-
Method Detail
-
setOrderId
void setOrderId(java.lang.Long anOrderId)
This method sets the order ID.- Parameters:
anOrderId
- A Long that specifies the order ID.
-
setPIs
void setPIs(EDPPaymentInstruction[] aPIs)
This method sets the payment instructions to be edited byEditCmd
.- Parameters:
aPIs
- An EDPPaymentInstruction[] that represents the payment instructions to be edited.
-
setPaymentTCInfos
void setPaymentTCInfos(PaymentTCInfo[] aPaymentTCInfos)
This method sets the PaymentTCInfos applicable to the payment instructions.- Parameters:
aPaymentTCInfos
- A PaymentTCInfo[] that represents the PaymentTCInfos applicable to the payment instructions
-
-