Class BackofficeMonitorDocumentValidator

java.lang.Object
es.kukenan.smartfi.microservice.clients.service.events.backoffice.validator.BackofficeMonitorDocumentValidator

public class BackofficeMonitorDocumentValidator extends Object
Class for document validation.
  • Field Details

    • validPersonTypeDocument

      private static final Map<Integer,String> validPersonTypeDocument
      valid Person Type Document.
    • validFiscalTypeDocument

      private static final Map<Integer,String> validFiscalTypeDocument
      valid fiscal Type Document.
  • Constructor Details

    • BackofficeMonitorDocumentValidator

      public BackofficeMonitorDocumentValidator()
  • Method Details

    • getDocumentInfo

      public DocumentInfo getDocumentInfo(int docTypePerson, String docNumberPerson, int docTypeFiscal, String docNumberFiscal)
      Getting document info.
      Parameters:
      docTypePerson - document person type.
      docNumberPerson - document person number.
      docTypeFiscal - document fiscal type.
      docNumberFiscal - document Fiscal Number.
      Returns:
      document info