public class DefaultPaymentGatewayTransactionConfirmationServiceProvider extends Object implements PaymentGatewayTransactionConfirmationServiceProvider
Constructor and Description |
---|
DefaultPaymentGatewayTransactionConfirmationServiceProvider(@NonNull List<PaymentGatewayTransactionConfirmationService> transactionConfirmationServices) |
Modifier and Type | Method and Description |
---|---|
PaymentGatewayTransactionConfirmationService |
getTransactionConfirmationService(@NonNull String gatewayType)
Returns the first
PaymentGatewayTransactionConfirmationService that matches the given
PaymentGatewayType . |
protected List<PaymentGatewayTransactionConfirmationService> |
getTransactionConfirmationServices() |
public DefaultPaymentGatewayTransactionConfirmationServiceProvider(@NonNull @NonNull List<PaymentGatewayTransactionConfirmationService> transactionConfirmationServices)
public PaymentGatewayTransactionConfirmationService getTransactionConfirmationService(@NonNull @NonNull String gatewayType)
PaymentGatewayTransactionConfirmationServiceProvider
Returns the first PaymentGatewayTransactionConfirmationService
that matches the given
PaymentGatewayType
.
getTransactionConfirmationService
in interface PaymentGatewayTransactionConfirmationServiceProvider
protected List<PaymentGatewayTransactionConfirmationService> getTransactionConfirmationServices()
Copyright © 2021. All rights reserved.