public class DefaultPaymentGatewaySubscriptionServiceProvider extends Object implements PaymentGatewaySubscriptionServiceProvider
Constructor and Description |
---|
DefaultPaymentGatewaySubscriptionServiceProvider(@NonNull List<PaymentGatewaySubscriptionService> subscriptionServices) |
Modifier and Type | Method and Description |
---|---|
PaymentGatewaySubscriptionService |
getSubscriptionService(@NonNull String gatewayType)
Returns the first
PaymentGatewaySubscriptionService that matches the given
PaymentGatewayType . |
public DefaultPaymentGatewaySubscriptionServiceProvider(@NonNull @NonNull List<PaymentGatewaySubscriptionService> subscriptionServices)
public PaymentGatewaySubscriptionService getSubscriptionService(@NonNull @NonNull String gatewayType)
PaymentGatewaySubscriptionServiceProvider
Returns the first PaymentGatewaySubscriptionService
that matches the given
PaymentGatewayType
.
getSubscriptionService
in interface PaymentGatewaySubscriptionServiceProvider
Copyright © 2021. All rights reserved.