com.ibm.commerce.payment.commands
Interface DoRefundPolicyCmd
- All Superinterfaces:
- BusinessPolicyCommand, ECCommand, TaskCommand
- All Known Implementing Classes:
- DoRefundCLCmdImpl, DoRefundPMCmdImpl, DoRefundTestCmdImpl
- public interface DoRefundPolicyCmd
- extends BusinessPolicyCommand
The DoRefundPolicyCmd
Business Policy Command.
This Interface class defines the payment interface for a refund operation.
Please look at the supplied implementation classes
DoRefundCLCmdImpl
and DoRefundPMCmdImpl
for more detail.
Method Summary |
void |
setErrorViewName(java.lang.String sEVN)
Optional error view name passed in by the Caller. |
void |
setOrder(OrderAccessBean abOrder)
Sets the order property of the command. |
void |
setRefundAmount(java.math.BigDecimal refundAmount)
Sets the refundAmount property of the command. |
void |
setRMA(RMAAccessBean abRMA)
Sets the RMA AccessBean representing the Return Merchandise Authorization record. |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
defaultCommandClassName
public static final java.lang.String defaultCommandClassName
- The default implementation class.
ERRTASK_NAME
public static final java.lang.String ERRTASK_NAME
- Name of the Error View for this command.
The constant value of this field is "DoRefundErrorView".
NAME
public static final java.lang.String NAME
setErrorViewName
public void setErrorViewName(java.lang.String sEVN)
- Optional error view name passed in by the Caller.
setOrder
public void setOrder(OrderAccessBean abOrder)
- Sets the order property of the command.
- Parameters:
abOrder
- the OrderAccessBean representing the Order associated with
the Return Merchandise Authorization.
setRefundAmount
public void setRefundAmount(java.math.BigDecimal refundAmount)
- Sets the refundAmount property of the command.
- Parameters:
refundAmount
- the amount to be refunded.
setRMA
public void setRMA(RMAAccessBean abRMA)
- Sets the RMA AccessBean representing the Return Merchandise Authorization record.