public interface PaymentGatewayCreditCardServiceProvider
This represents the main service bus for retrieving payment gateway service implementations to execute service calls programmatically. Since multiple gateways can be configured for a single implementation (like Paypal Express and Braintree, or Paypal Express, a credit card module and a gift card module) this allows you to select between them to perform additional operations on a payment transaction.
Modifier and Type | Method and Description |
---|---|
PaymentGatewayCreditCardService |
getCreditCardService(String gatewayType)
Returns the first
PaymentGatewayCreditCardService that matches the given
PaymentGatewayType . |
PaymentGatewayCreditCardService getCreditCardService(String gatewayType)
Returns the first PaymentGatewayCreditCardService
that matches the given
PaymentGatewayType
.
gatewayType
- UnsupportedOperationException
- if there is no resource for the given
PaymentGatewayType
.Copyright © 2021. All rights reserved.