public interface CancelOrderCmd extends AEDPTaskCmd
EDP
order.
This command is called when the customer wants to cancel an order.
The only possible payment action is ReverseApproval. Payment actions for this event are not configurable.
For example, a customer chooses to cancel an order. The system verifies that the order has not been released to fulfillment. The system does a reverse approval of the payment, order items are deallocated, and the order is marked as canceled.
If a deposit has already happened, the order cancellation will fail unless the cancellation is forced. Forcing the cancellation will cancel the order even if deposits have already happened. When a cancellation is forced and deposits have already taken place, a tickler is created to notify a Customer Support Representative that an amount needs to be refunded to the customer.
If a payment action with the payment back-end system fails, a tickler is created to notify a Customer Service Representative.
The default implementation of this command isCancelOrderCmdImpl
CancelOrderCmdImpl
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.
|
Modifier and Type | Method and Description |
---|---|
void |
setForcedCancel(java.lang.Boolean flag)
This method sets the forced flag indicating if the request will be forced or not.
|
getCurrency, getEDPResults, getLanguageId, getLocale, getOrderChannel, getOrderId, setEDPResults, setOrderId
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 setForcedCancel(java.lang.Boolean flag)
forceFlag
whether they want to do the a
forced cancel request or not.flag
- A Boolean that indicates if the request is forced or not.