Interface CommandFactory

    • Method Detail

      • createCommand

        <T extends Command> T createCommand​(java.lang.Class<T> commandInterface)
                                     throws CommandNotSupportedException
        Create implementation for given commandInterface
        Type Parameters:
        T - interface of command
        Parameters:
        commandInterface - command interface
        Returns:
        implementation of command
        Throws:
        CommandNotSupportedException
      • getPaymentProvider

        java.lang.String getPaymentProvider()
        return payment provider name
        Returns:
        payment provider