public class DefaultPaymentGatewayCustomerServiceProvider extends Object implements PaymentGatewayCustomerServiceProvider
Constructor and Description |
---|
DefaultPaymentGatewayCustomerServiceProvider(@NonNull List<PaymentGatewayCustomerService> customerServices) |
Modifier and Type | Method and Description |
---|---|
PaymentGatewayCustomerService |
getCustomerService(@NonNull String gatewayType)
Returns the first
PaymentGatewayCustomerService that matches the given
PaymentGatewayType . |
protected List<PaymentGatewayCustomerService> |
getCustomerServices() |
public DefaultPaymentGatewayCustomerServiceProvider(@NonNull @NonNull List<PaymentGatewayCustomerService> customerServices)
public PaymentGatewayCustomerService getCustomerService(@NonNull @NonNull String gatewayType)
PaymentGatewayCustomerServiceProvider
Returns the first PaymentGatewayCustomerService
that matches the given
PaymentGatewayType
.
getCustomerService
in interface PaymentGatewayCustomerServiceProvider
protected List<PaymentGatewayCustomerService> getCustomerServices()
Copyright © 2021. All rights reserved.