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 . |
protected List<PaymentGatewaySubscriptionService> |
getSubscriptionServices() |
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
protected List<PaymentGatewaySubscriptionService> getSubscriptionServices()
Copyright © 2021. All rights reserved.