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

org.jrimum.bopepo.view.BoletoInfoViewCaixaSINCO 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!
package org.jrimum.bopepo.view;

import org.jrimum.bopepo.Boleto;
import org.jrimum.bopepo.view.ResourceBundle;
import org.jrimum.bopepo.view.AbstractBoletoInfoCampoView;

/**
 * View para o convênio SINCO da CAIXA.
 *
 * @author Rômulo Augusto
 */
public class BoletoInfoViewCaixaSINCO extends AbstractBoletoInfoCampoView {

    private static final String CARTEIRA_SINCO = "01";
    private static final int CONSTANTE_NOSSO_NUMERO = 9;

    public BoletoInfoViewCaixaSINCO(ResourceBundle resourceBundle, Boleto boleto) {
        super(resourceBundle, boleto);
    }

    @Override
    public String getTextoFcNossoNumero() {
        return CONSTANTE_NOSSO_NUMERO + super.getTextoFcNossoNumero();
    }

    @Override
    public String getTextoFcCarteira() {
        return CARTEIRA_SINCO;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy