public class DefaultPaymentGatewayClientTokenServiceProvider extends Object implements PaymentGatewayClientTokenServiceProvider
Constructor and Description |
---|
DefaultPaymentGatewayClientTokenServiceProvider(@NonNull List<PaymentGatewayClientTokenService> clientTokenServices) |
Modifier and Type | Method and Description |
---|---|
PaymentGatewayClientTokenService |
getClientTokenService(@NonNull String gatewayType)
Returns the first
PaymentGatewayClientTokenService that matches the given
PaymentGatewayType . |
protected List<PaymentGatewayClientTokenService> |
getClientTokenServices() |
public DefaultPaymentGatewayClientTokenServiceProvider(@NonNull @NonNull List<PaymentGatewayClientTokenService> clientTokenServices)
public PaymentGatewayClientTokenService getClientTokenService(@NonNull @NonNull String gatewayType)
PaymentGatewayClientTokenServiceProvider
Returns the first PaymentGatewayClientTokenService
that matches the given
PaymentGatewayType
.
getClientTokenService
in interface PaymentGatewayClientTokenServiceProvider
protected List<PaymentGatewayClientTokenService> getClientTokenServices()
Copyright © 2021. All rights reserved.