Interface CommandFactoryRegistry

All Known Implementing Classes:
CommandFactoryRegistryMockImpl, DefaultCommandFactoryRegistryImpl

public interface CommandFactoryRegistry
register of payment providers
  • Method Summary

    Modifier and Type
    Method
    Description
    getFactory(BasicCardInfo card, boolean threeD)
    Return Factory of command for payment provider that can serve card.
    getFactory(String paymentProvider)
    Return Factory of command for payment provider that start to serve transaction
  • Method Details

    • getFactory

      CommandFactory getFactory(String paymentProvider)
      Return Factory of command for payment provider that start to serve transaction
      Parameters:
      paymentProvider - provider that start to work on transaction
      Returns:
      the command factory
      Throws:
      AdapterException
    • getFactory

      CommandFactory getFactory(BasicCardInfo card, boolean threeD)
      Return Factory of command for payment provider that can serve card.
      Parameters:
      card - Card to serve.
      threeD - is 3D transaction
      Returns:
      the command factory
      Throws:
      AdapterException