public class DefaultPaymentGatewayHostedServiceProvider extends Object implements PaymentGatewayHostedServiceProvider
Constructor and Description |
---|
DefaultPaymentGatewayHostedServiceProvider(@NonNull List<PaymentGatewayHostedService> hostedServices) |
Modifier and Type | Method and Description |
---|---|
PaymentGatewayHostedService |
getHostedService(@NonNull String gatewayType)
Returns the first
PaymentGatewayHostedService that matches the given
PaymentGatewayType . |
protected List<PaymentGatewayHostedService> |
getHostedServices() |
public DefaultPaymentGatewayHostedServiceProvider(@NonNull @NonNull List<PaymentGatewayHostedService> hostedServices)
public PaymentGatewayHostedService getHostedService(@NonNull @NonNull String gatewayType)
PaymentGatewayHostedServiceProvider
Returns the first PaymentGatewayHostedService
that matches the given
PaymentGatewayType
.
getHostedService
in interface PaymentGatewayHostedServiceProvider
protected List<PaymentGatewayHostedService> getHostedServices()
Copyright © 2021. All rights reserved.