public class DefaultPaymentGatewayTransactionServiceProvider extends Object implements PaymentGatewayTransactionServiceProvider
| Constructor and Description |
|---|
DefaultPaymentGatewayTransactionServiceProvider(@NonNull List<PaymentGatewayTransactionService> transactionServices) |
| Modifier and Type | Method and Description |
|---|---|
PaymentGatewayTransactionService |
getTransactionService(@NonNull String gatewayType)
Returns the first
PaymentGatewayTransactionService that matches the given
PaymentGatewayType. |
protected List<PaymentGatewayTransactionService> |
getTransactionServices() |
public DefaultPaymentGatewayTransactionServiceProvider(@NonNull
@NonNull List<PaymentGatewayTransactionService> transactionServices)
public PaymentGatewayTransactionService getTransactionService(@NonNull @NonNull String gatewayType)
PaymentGatewayTransactionServiceProvider
Returns the first PaymentGatewayTransactionService that matches the given
PaymentGatewayType.
getTransactionService in interface PaymentGatewayTransactionServiceProviderprotected List<PaymentGatewayTransactionService> getTransactionServices()
Copyright © 2021. All rights reserved.