Interface CommandFactoryRegistry
-
- All Known Implementing Classes:
CommandFactoryRegistryMockImpl,DefaultCommandFactoryRegistryImpl
public interface CommandFactoryRegistryregister of payment providers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CommandFactorygetFactory(BasicCardInfo card, boolean threeD)Return Factory of command for payment provider that can serve card.CommandFactorygetFactory(java.lang.String paymentProvider)Return Factory of command for payment provider that start to serve transaction
-
-
-
Method Detail
-
getFactory
CommandFactory getFactory(java.lang.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
-
-