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

org.jrimum.ConfiguracaoJRimum Maven / Gradle / Ivy

Go to download

This is a fork and merge from JRimum ( http://www.jrimum.org ), - Bopepo: https://github.com/jrimum/bopepo - Texgit: https://github.com/jrimum/texgit - Valia: https://github.com/jrimum/vallia - Utilix: https://github.com/jrimum/utilix - Domkee: https://github.com/jrimum/domkee For Brazillian Boleto Payment Method. So much thanks for original authors: Gilmar P. S. L, Misael Barreto and Rômulo Augusto.

The newest version!
/*
 * Copyright 2019 Projeto JRimum.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.jrimum;

/**
 *
 * @author braully
 */
public class ConfiguracaoJRimum {

    /*
     * Ignorar os zero a esquerda na conversão string para inteiro.
     * Observação: Cuidado com a conversão da string "0ddddd", pois o número será interpetado como octal.
     */
    public static boolean ignorarZeroEsquerdaConversao = false;

    /* 
     * Falhar caso algum CPF ou CNPJ informado esteja com digito verificado inválido.
     */
    public static boolean falharEmCPRFInvalido = false;

    /*
     Falhar em caso de registro vazio, na geração de arquivo texto
     */
    public static boolean falharEmRegistroVazio = false;

    /*
     Falhar em caso de registro vazio, na geração de arquivo texto
     */
    public static boolean preferirDefaultEmCampoLivre = true;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy