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

org.jrimum.domkee.banco.Contribuinte 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.domkee.banco;

import org.jrimum.domkee.pessoa.CPF;

/**
 * @author misael
 *
 */
public class Contribuinte extends IEntidadeDeCobranca {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3267851061149256619L;

	
	/**
	 * 
	 */
	public Contribuinte() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	/**
	 * @param nome
	 * @param cpf
	 */
	public Contribuinte(String nome, CPF cpf) {
		super(nome, cpf);
		// TODO Auto-generated constructor stub
	}

	/**
	 * @param nome
	 * @param cpf
	 */	
	public Contribuinte(String nome, String cpf) {
		super();
		
		setNome(nome);
		
		CPF cPF = new CPF(cpf);
		setCPF(cPF);
	}

	/**
	 * @param nome
	 */
	public Contribuinte(String nome) {
		super(nome);
		// TODO Auto-generated constructor stub
	}
	
	
	/**
	 * @return CPF
	 * @see #getCPF()
	 */
	public CPF getCPF() {
		return (CPF)pessoa.getCPRF();
	}

	/**
	 */
	public void setCPF(CPF cpf) {
		pessoa.setCPRF(cpf);
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy