public interface DetermineSortedPaymentsCmd extends TaskCommand
The default implementation of
this command is DetermineSortedPaymentsVoidCmdImpl
. The DetermineSortedPaymentsCmd
URL is mapped to this command by default.
paymentContainer
: All available
com.ibm.commerce.payment.rules.AtomicPaymentToBackendLinkObject objects which
can be used. Each com.ibm.commerce.payment.rules.AtomicPaymentToBackendLinkObject object
corresponds to an available payment object. This parameter is passed in by
setPaymentContainer(Collection).
releasesWithAmount
: The LinkedHashMap
object
containing all releases to process. The key of this
LinkedHashMap
is ID of the release object with
Long
type. The value of this LinkedHashMap
is
the amount with BigDecimal
that needs to process of the
corresponding release. This parameter should be set to the request properties
in the command context with the key "releasesWithAmount".
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
static java.lang.String |
defaultCommandClassName
The default implementation class name is
"com.ibm.commerce.payment.rules.commands.DetermineSortedPaymentsVoidCmdImpl".
|
static java.lang.String |
NAME
The name of this interface is "com.ibm.commerce.payment.rules.commands.DetermineSortedPaymentsCmd".
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection |
getPaymentContainer()
This method gets the current payment container.
|
void |
setOrderId(java.lang.Long orderId)
This method sets the current order ID.
|
void |
setPaymentContainer(java.util.Collection paymentContainer)
This method sets the current payment container.
|
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 NAME
static final java.lang.String defaultCommandClassName
java.util.Collection getPaymentContainer()
void setPaymentContainer(java.util.Collection paymentContainer)
paymentContainer
- The current payment container.void setOrderId(java.lang.Long orderId)
orderId
- the current order ID