public class DefaultCommandFactoryRegistryImpl extends Object implements CommandFactoryRegistry
| Constructor and Description |
|---|
DefaultCommandFactoryRegistryImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
CommandFactory |
getFactory(BasicCardInfo card,
boolean threeD)
Return Factory of command for payment provider that can serve card.
|
CommandFactory |
getFactory(String paymentProvider)
Return Factory of command for payment provider that start to serve transaction
|
void |
setApplicationContext(ApplicationContext applicationContext) |
void |
setCommandFactoryList(Collection<CommandFactory> commandFactoryList) |
public CommandFactory getFactory(String paymentProvider) throws AdapterException
CommandFactoryRegistrygetFactory in interface CommandFactoryRegistrypaymentProvider - provider that start to work on transactionAdapterExceptionpublic CommandFactory getFactory(BasicCardInfo card, boolean threeD) throws AdapterException
CommandFactoryRegistrygetFactory in interface CommandFactoryRegistrycard - Card to serve.threeD - is 3D transactionAdapterExceptionpublic void setApplicationContext(ApplicationContext applicationContext)
applicationContext - the applicationContext to setpublic void afterPropertiesSet()
throws BeansException
BeansExceptionpublic void setCommandFactoryList(Collection<CommandFactory> commandFactoryList)
Copyright © 2017 SAP SE. All Rights Reserved.