All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.emv.qrcode.validators.mpm.MerchantInformationLanguageTemplateValidator Maven / Gradle / Ivy

There is a newer version: 0.1.2
Show newest version
package com.emv.qrcode.validators.mpm;

import static br.com.fluentvalidator.predicate.LogicalPredicate.not;
import static br.com.fluentvalidator.predicate.ObjectPredicate.nullValue;

import com.emv.qrcode.model.mpm.MerchantInformationLanguageTemplate;

import br.com.fluentvalidator.AbstractValidator;

// @formatter:off
class MerchantInformationLanguageTemplateValidator extends AbstractValidator {

  @Override
  public void rules() {

    /**
     *
     */
    ruleFor(MerchantInformationLanguageTemplate::getValue)
      .whenever(not(nullValue()))
        .withValidator(new MerchantInformationLanguageValidator());

  }

}
// @formatter:on




© 2015 - 2024 Weber Informatics LLC | Privacy Policy