Interface for the command used for performing the refund. Interface for the task command used for determining if a return mechandise authorization (RMA) item may be approved programatically.
Input Parameters
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
defaultCommandClassName The default implementation class name is "com.ibm.commerce.returns.commands.RefundByOriginalPaymentPolicyCmdImpl" . |
static java.lang.String |
NAME The name of this interface is "com.ibm.commerce.returns.commands.RefundPaymentPolicyCmd ". |
Method Summary | |
---|---|
void |
setErrorViewName(java.lang.String sEVN) (Optional) error view name passed in by the caller. |
void |
setOrder(
OrderAccessBean ab) The order to be refunded. |
void |
setPaymentPolicyId(java.lang.Long aPolicyId) The id of the policy used to pay for the order originally. |
void |
setRefundAmount(java.math.BigDecimal refundAmount) The amount to refund. |
void |
setRMA(
RMAAccessBean anRMA) The RMA to refund to. |
Methods inherited from interface com.ibm.commerce.command. BusinessPolicyCommand |
getPolicyId,
getRequestProperties,
setPolicyId,
setRequestProperties |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
Method Detail |
---|
public void setErrorViewName(java.lang.String sEVN)
sEVN
- The error view name.public void setOrder(OrderAccessBean ab)
ab
- The order access bean.public void setPaymentPolicyId(java.lang.Long aPolicyId)
aPolicyId
- The payment policy Id.public void setRefundAmount(java.math.BigDecimal refundAmount)
refundAmount
- The amount to refund.public void setRMA(RMAAccessBean anRMA)
anRMA
- The RMA access bean.