class PaymentTypeValidatorContext {

    public Optional<PaymentTypeValidator> getValidator(String paymentType) {
        return Optional.ofNullable(context.get(paymentType));
    }

    @Autowired public  PaymentTypeValidatorContext(List<PaymentTypeValidator> paymentTypeValidators);

}