com.ibm.commerce.returns.commands
Interface RefundPaymentPolicyCmd
- All Superinterfaces:
- BusinessPolicyCommand, ECCommand, TaskCommand
- All Known Implementing Classes:
- RefundByCreditPolicyCmdImpl, RefundByOriginalPaymentPolicyCmdImpl, RefundPaymentPolicyCmdImpl
- public interface RefundPaymentPolicyCmd
- extends BusinessPolicyCommand
Interface for the command used for performing the refund.
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
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. This is passed to the doRefundPolicyCmd
policy command.
- Parameters:
sEVN
- The error view name.
setOrder
public void setOrder(OrderAccessBean ab)
- The order to be refunded.
- Parameters:
ab
- The order access bean.
setPaymentPolicyId
public void setPaymentPolicyId(java.lang.Long aPolicyId)
- The id of the policy used to pay for the order originally.
- Parameters:
aPolicyId
- The payment policy Id.
setRefundAmount
public void setRefundAmount(java.math.BigDecimal refundAmount)
- The amount to refund.
- Parameters:
refundAmount
- The amount to refund.
setRMA
public void setRMA(RMAAccessBean anRMA)
- The RMA to refund to.
- Parameters:
anRMA
- The RMA access bean.