public class GatewayFactoryImpl extends java.lang.Object implements GatewayFactory
Modifier and Type | Field and Description |
---|---|
private AuthorizeGateway |
authorizeGateway |
private StripeGateway |
stripeGateway |
private TestGateway |
testGateway |
Constructor and Description |
---|
GatewayFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
Gateway |
getGateway(GatewayEntry gatewayEntry) |
@Inject private AuthorizeGateway authorizeGateway
@Inject private StripeGateway stripeGateway
@Inject private TestGateway testGateway
public Gateway getGateway(GatewayEntry gatewayEntry) throws NoGatewayException
getGateway
in interface GatewayFactory
NoGatewayException