com.ibm.commerce.returns.commands

Interface RefundPaymentPolicyCmd

  • All Superinterfaces:
    BusinessPolicyCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
    All Known Implementing Classes:
    RefundByCreditPolicyCmdImpl, RefundByOriginalPaymentPolicyCmdImpl, RefundPaymentPolicyCmdImpl

    Deprecated. 
    Replaced by ARefundTaskCmd

    public interface RefundPaymentPolicyCmd
    extends BusinessPolicyCommand
    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

    sEVN (optional)
    Error view name
    ab (required)
    OrderAccessbean of the Order
    aPolicyId (required)
    id of the policy used to pay for the order orignally
    refundAmount (required)
    amount to be refunded
    anRMA (required)
    RMAAccessBean of the RMA
    • Field Detail

      • NAME

        static final java.lang.String NAME
        Deprecated. 
        The name of this interface is "com.ibm.commerce.returns.commands.RefundPaymentPolicyCmd ".
        See Also:
        Constant Field Values
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        Deprecated. 
        The default implementation class name is "com.ibm.commerce.returns.commands.RefundByOriginalPaymentPolicyCmdImpl" .
        See Also:
        Constant Field Values
    • Method Detail

      • setErrorViewName

        void setErrorViewName(java.lang.String sEVN)
        Deprecated. 
        (Optional) error view name passed in by the caller. This is passed to the doRefundPolicyCmd policy command.
        Parameters:
        sEVN - The error view name.
      • setOrder

        void setOrder(OrderAccessBean ab)
        Deprecated. 
        The order to be refunded.
        Parameters:
        ab - The order access bean.
      • setPaymentPolicyId

        void setPaymentPolicyId(java.lang.Long aPolicyId)
        Deprecated. 
        The id of the policy used to pay for the order originally.
        Parameters:
        aPolicyId - The payment policy Id.
      • setRefundAmount

        void setRefundAmount(java.math.BigDecimal refundAmount)
        Deprecated. 
        The amount to refund.
        Parameters:
        refundAmount - The amount to refund.
      • setRMA

        void setRMA(RMAAccessBean anRMA)
        Deprecated. 
        The RMA to refund to.
        Parameters:
        anRMA - The RMA access bean.