com.ibm.commerce.payment.commands

Class CheckPaymentAcceptCLCmdImpl

    • Constructor Detail

      • CheckPaymentAcceptCLCmdImpl

        public CheckPaymentAcceptCLCmdImpl()
        Deprecated. 
    • Method Detail

      • getReturnCode

        public java.lang.String getReturnCode()
        Deprecated. 
        Returns the String return code indicating the payment approval status of the specified order.

        For this command implementation the possible return codes are:

        Specified by:
        getReturnCode in interface CheckPaymentAcceptPolicyCmd
        Returns:
        the String return code
      • isReadyToCallExecute

        public boolean isReadyToCallExecute()
        Deprecated. 
        This method is called by the Command Framework to check if all basic mandatory parameters have been set for this command. This is done before the Framework calls the performExecute method of the command.
        Specified by:
        isReadyToCallExecute in interface com.ibm.websphere.command.Command
        Overrides:
        isReadyToCallExecute in class AbstractECTargetableCommand
        Returns:
        true if we can execute the command; false otherwise.
      • reset

        public void reset()
        Deprecated. 
        Resets the instance variables of the command. The reset() method will reset all instance variables. If the command includes any output values that are accessible via getters, then make sure those values are no longer needed before calling this method to reset the instance variables of the command.

        This is useful if the command instance is to be called multiple times with different command parameters.

        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class AbstractECTargetableCommand
      • setApproveAmount

        public void setApproveAmount(java.math.BigDecimal approveAmount)
        Deprecated. 
        Sets the approveAmount property of the command.
        Specified by:
        setApproveAmount in interface CheckPaymentAcceptPolicyCmd
        Parameters:
        approveAmount - the approved amount to be checked
      • setOrder

        public void setOrder(OrderAccessBean ab)
        Deprecated. 
        Sets the order property of the command.
        Specified by:
        setOrder in interface CheckPaymentAcceptPolicyCmd
        Parameters:
        ab - the OrderAccessBean representing the order for which the approved amount is to be checked
      • setReturnCode

        public void setReturnCode(java.lang.String s)
        Deprecated. 
        Sets the return code to be returned to the caller of the command.
        Parameters:
        s - the return code string
        See Also:
        getReturnCode()