public interface PrimeRefundCmd extends ARefundTaskCmd
Inputs
The purpose of this task command is to record and validate refund information in the following situations. Customers are returning merchandise, are overcharged, or are requesting a credit for being charged for merchandise that never shipped.
The only possible action is Validation. The payment action for this event is not configurable.
For example, a customer receives a sweater that she ordered and is unhappy with it and wants to
return it. She notifies a Customer Service Representative (CSR) who obtains information about the
order and refund method (the sweater was originally paid by credit card). A return merchandise
authorization (RMA) is created and approved if necessary. A primeRefund event occurs and the refund
information is stored. The customer returns the sweater to the returns warehouse, where someone inspects
it for return condition. The sweater stock is updated with the return. Finally, a finalizeRefund
event
occurs. If the finalizeRefund
action fails, a tickler is created to notify a CSR.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Mandatory copyright field
|
static java.lang.String |
defaultCommandClassName
The default implementation class name is
"com.ibm.commerce.returns.commands.PrimeRefundCmdImpl"
|
static java.lang.String |
NAME
The name of this interface is
"com.ibm.commerce.returns.commands.PrimeRefundCmd"
|
Modifier and Type | Method and Description |
---|---|
void |
setPaymentPolicyId(java.lang.Long anPaymentPolicyId)
This method sets the policy ID that will be used in refund.
|
void |
setRMAAB(RMAAccessBean anRMAAB)
This method sets the RMA being accessed.
|
setRmaId
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 setRMAAB(RMAAccessBean anRMAAB)
anRMAAB
- The RMA access bean.void setPaymentPolicyId(java.lang.Long anPaymentPolicyId)
anPaymentPolicyId
- The payment policy ID to set