public interface PaymentGatewayTransactionServiceProvider
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 |
---|---|
PaymentGatewayTransactionService |
getTransactionService(@NonNull String gatewayType)
Returns the first
PaymentGatewayTransactionService that matches the given
PaymentGatewayType . |
PaymentGatewayTransactionService getTransactionService(@NonNull @NonNull String gatewayType)
Returns the first PaymentGatewayTransactionService
that matches the given
PaymentGatewayType
.
UnsupportedOperationException
- if there is no resource for the given
PaymentGatewayType
.Copyright © 2021. All rights reserved.