Interface DoLuhnCheckCmd

  • All Superinterfaces:,,,, ECCommand,,, TaskCommand
    All Known Implementing Classes:

    public interface DoLuhnCheckCmd
    extends TaskCommand
    The DoLuhnCheckCmd Task Command checks the validity of the credit card number using the LUHN algorithm. If the number is found to be invalid according to the LUHN Algorithm. The command is expected to throw the ECApplicationException specifying the Error View Command named by the errorTaskName command property. And the errorCode specified by
    • Field Detail


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

        static final java.lang.String defaultCommandClassName
        The default implementation of this command.
        See Also:
        Constant Field Values
    • Method Detail

      • setCardNumber

        void setCardNumber(java.lang.String cardNumber)
        Sets the cardNumber property of the command.
        cardNumber - the card number to be used for setting the command property.
      • setErrorTaskName

        void setErrorTaskName(java.lang.String errorTaskName)
        Sets the errorTaskName property of the command.
        errorTaskName - the name of the View Command to be used for displaying error information to the Shopper.