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.


Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String defaultCommandClassName
           
static java.lang.String NAME
           
 
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
 
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
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT

defaultCommandClassName

public static final java.lang.String defaultCommandClassName

NAME

public static final java.lang.String NAME
Method Detail

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.