Interface CommandFactoryRegistry
- All Known Implementing Classes:
CommandFactoryRegistryMockImpl,DefaultCommandFactoryRegistryImpl
public interface CommandFactoryRegistry
register of payment providers
-
Method Summary
Modifier and TypeMethodDescriptiongetFactory(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
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
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
-