public interface EvaluatePaymentRulesCmd extends TaskCommand
PrimePaymentCmd
) intend to get what payment actions need to
execute, this command is called. This command further calls
RuleReader
that actually execute the business logic. This
command needs the following parameter to decide the corresponding payment
actions according to the payment rules configuration:
EvaluatePaymentRulesCmdImpl
PrimePaymentCmd
,
RuleReader
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 the command.
|
Modifier and Type | Method and Description |
---|---|
java.util.HashMap |
getActionDatas()
This method returns the current action datas.
|
java.lang.Throwable |
getException()
This method returns the thrown exception.
|
java.util.HashMap |
getHashOfActionList()
This method returns the hashmap which stores the current action list.
|
java.util.List |
getListOfActionList()
This method returns the list of current action list.
|
void |
setAmountToProcess(java.math.BigDecimal amountToProcess)
This method sets the amount to be processed.
|
void |
setAtomicPaymentId(java.lang.Long atmPaymentId)
This method sets the atomic payment id in payment rule.
|
void |
setEDPOrderId(java.lang.Long edpOrderId)
This method sets the current identifier of EDPOrder .
|
void |
setEDPPaymentInstructionId(java.lang.Long edpPIId)
This method sets the Payment instruction id in payment rule.
|
void |
setEDPReleaseId(java.util.List edpReleaseIds)
This method sets the involved EDPRelease.
|
void |
setHashOfActionList(java.util.HashMap hashOfActionList)
This method sets the hashmap which stores the current action list.
|
void |
setListOfActionList(java.util.List listOfActionList)
This method sets the list of current action list.
|
void |
setOrderChannel(java.lang.String string)
This method sets the current order channel to set.
|
void |
setPhase(int phase)
This method sets the current phase.
|
void |
setRulePhase(int i)
This method sets the current phase.
|
void |
setRuleType(java.lang.String ruleType)
This method sets the rule type.
|
void |
setStoreId(java.lang.Integer integer)
This method sets the current store id.
|
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
static final java.lang.String COPYRIGHT
static final java.lang.String defaultCommandClassName
static final java.lang.String NAME
void setEDPOrderId(java.lang.Long edpOrderId)
edpOrderId
- A Long that specifies the current identifier of EDPOrder to set.void setAmountToProcess(java.math.BigDecimal amountToProcess)
amountToProcess
- A BigDecimal that specifies the amount to be processed to set.void setEDPReleaseId(java.util.List edpReleaseIds)
edpReleaseIds
- A List that represents the identifier of involved EDPRelease.void setPhase(int phase)
1 -- The phase of validation.
2 -- The phase of reservation.
3 -- The phase of finalization.
phase
- An in that indicates the current phase.java.util.HashMap getActionDatas()
void setRuleType(java.lang.String ruleType)
ruleType
- A String that specifies the rule type to set.void setEDPPaymentInstructionId(java.lang.Long edpPIId)
edpPIId
- A Long that specifies the identifier of payment instruction in payment rule to set.void setAtomicPaymentId(java.lang.Long atmPaymentId)
atmPaymentId
- A Long that specifies the atomic payment id to set.java.util.HashMap getHashOfActionList()
void setHashOfActionList(java.util.HashMap hashOfActionList)
hashOfActionList
- A HashMap that represents the hashmap that stores the current action list to set.java.util.List getListOfActionList()
void setListOfActionList(java.util.List listOfActionList)
listOfActionList
- A List that represents the list of current action list.java.lang.Throwable getException()
void setRulePhase(int i)
1 -- The phase unhandling amount.
2 -- The phase unhandling rule.
3 -- The phase reversing rule.
i
- An int that indicates the rule phase to set.void setOrderChannel(java.lang.String string)
string
- A String that specifies the current order channel to set.void setStoreId(java.lang.Integer integer)
integer
- An Integer that specifies the current store id.