public class DefaultPaymentGatewayPaymentValidationProvider extends Object implements PaymentGatewayPaymentValidationProvider
Constructor and Description |
---|
DefaultPaymentGatewayPaymentValidationProvider(List<PaymentGatewayPaymentValidator> paymentValidators) |
Modifier and Type | Method and Description |
---|---|
PaymentGatewayPaymentValidator |
getPaymentValidator(@NonNull String gatewayType)
Returns the first
PaymentGatewayPaymentValidator that matches the given
PaymentGatewayType . |
protected List<PaymentGatewayPaymentValidator> |
getPaymentValidators() |
public DefaultPaymentGatewayPaymentValidationProvider(List<PaymentGatewayPaymentValidator> paymentValidators)
public PaymentGatewayPaymentValidator getPaymentValidator(@NonNull @NonNull String gatewayType)
PaymentGatewayPaymentValidationProvider
PaymentGatewayPaymentValidator
that matches the given
PaymentGatewayType
.getPaymentValidator
in interface PaymentGatewayPaymentValidationProvider
protected List<PaymentGatewayPaymentValidator> getPaymentValidators()
Copyright © 2021. All rights reserved.