public class DefaultPaymentGatewayConfigurationProvider extends Object implements PaymentGatewayConfigurationProvider
Constructor and Description |
---|
DefaultPaymentGatewayConfigurationProvider(@NonNull List<PaymentGatewayConfiguration> paymentGatewayConfigurations) |
Modifier and Type | Method and Description |
---|---|
PaymentGatewayConfiguration |
getConfiguration(@NonNull String gatewayType)
Returns the first
PaymentGatewayConfiguration that matches the given
PaymentGatewayType . |
protected List<PaymentGatewayConfiguration> |
getPaymentGatewayConfigurations() |
public DefaultPaymentGatewayConfigurationProvider(@NonNull @NonNull List<PaymentGatewayConfiguration> paymentGatewayConfigurations)
public PaymentGatewayConfiguration getConfiguration(@NonNull @NonNull String gatewayType)
PaymentGatewayConfigurationProvider
Returns the first PaymentGatewayConfiguration
that matches the given
PaymentGatewayType
.
getConfiguration
in interface PaymentGatewayConfigurationProvider
protected List<PaymentGatewayConfiguration> getPaymentGatewayConfigurations()
Copyright © 2021. All rights reserved.