public class DefaultPaymentGatewayCreditCardServiceProvider extends Object implements PaymentGatewayCreditCardServiceProvider
Constructor and Description |
---|
DefaultPaymentGatewayCreditCardServiceProvider(@NonNull List<PaymentGatewayCreditCardService> creditCardServices) |
Modifier and Type | Method and Description |
---|---|
PaymentGatewayCreditCardService |
getCreditCardService(@NonNull String gatewayType)
Returns the first
PaymentGatewayCreditCardService that matches the given
PaymentGatewayType . |
protected List<PaymentGatewayCreditCardService> |
getCreditCardServices() |
public DefaultPaymentGatewayCreditCardServiceProvider(@NonNull @NonNull List<PaymentGatewayCreditCardService> creditCardServices)
public PaymentGatewayCreditCardService getCreditCardService(@NonNull @NonNull String gatewayType)
PaymentGatewayCreditCardServiceProvider
Returns the first PaymentGatewayCreditCardService
that matches the given
PaymentGatewayType
.
getCreditCardService
in interface PaymentGatewayCreditCardServiceProvider
protected List<PaymentGatewayCreditCardService> getCreditCardServices()
Copyright © 2021. All rights reserved.