com.ibm.commerce.tools.optools.returns.commands

Class CSRReturnProcessCmdImpl

    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CSRReturnProcessCmdImpl

        public CSRReturnProcessCmdImpl()
    • Method Detail

      • getRefundPolicyId

        public java.lang.String getRefundPolicyId()
        Gets refund policy identifier.
        Returns:
        refund policy identifier
      • getXmlFile

        public java.lang.String getXmlFile()
        Gets XML command parameter.
        Returns:
        XML formatted data required for calling ReturnProcessCmd
      • performExecute

        public void performExecute()
                            throws ECException
        Sets up the input request property for the ReturnProcessCmd command and calls the command. Sets up the redirect URL by putting the redirect URL parameter into the response property
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class AbstractECTargetableCommand
        Throws:
        ECException - If return is not successfully processed
      • setRefundPolicyId

        public void setRefundPolicyId(java.lang.String newRefundPolicyId)
        Sets refund policy identifier.
        Parameters:
        newRefundPolicyId - refund policy identifier
      • setXmlFile

        public void setXmlFile(java.lang.String newXmlFile)
        Sets XML command parameter.
        Parameters:
        newXmlFile - XML formatted data required for calling ReturnProcessCmd
      • setPaymentPolicyId

        public void setPaymentPolicyId(java.lang.String newPaymentPolicyId)
        This method sets the payment policy id used as the refund method.
        Parameters:
        newPaymentPolicyId - The payment policy id to set
      • getPaymentPolicyId

        public java.lang.String getPaymentPolicyId()
        This method returns the payment policy id used as the refund method.
        Returns:
        The payment policy id used as the refund method