106 lines
2.5 KiB
Plaintext
Executable File
106 lines
2.5 KiB
Plaintext
Executable File
package com.fp.dto.quota;
|
|
|
|
import java.io.Serializable;
|
|
|
|
import com.fp.dto.AbstractDataBalanceTransport;
|
|
|
|
/**
|
|
* Clase utilitaria de la cabecera de tabla de cuotas, se utilzia para alamacenar valores temporales en los procesos
|
|
* ejemplo cobro de cuotas.
|
|
*
|
|
* @author Jorge Vaca
|
|
* @version 2.1
|
|
*/
|
|
public class Quota extends AbstractDataBalanceTransport implements Serializable, Cloneable {
|
|
|
|
/** Version de la clase. */
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
/** Indica si paga uno o mas valores en la cuota, se utiliza para recorrer solo las cuotas pagadas del detail. */
|
|
private boolean applyPayment = false;
|
|
|
|
/** Indica que la cuota se paga en su totalidad y hay que actualiazar la fecha de pago. */
|
|
private boolean fullPaymet = false;
|
|
|
|
/**
|
|
* True indica que se genero historia del registro, se utiliza junto a fullpayment Si fullpayment == true && history
|
|
* == false se genera un registro de historia.
|
|
*/
|
|
private boolean history = false;
|
|
|
|
/** True indica que se adiciono un nuevo registro. */
|
|
private boolean added = false;
|
|
|
|
/**
|
|
* Entrega el valor de: applyPayment
|
|
*
|
|
* @return boolean
|
|
*/
|
|
public boolean isApplyPayment() {
|
|
return this.applyPayment;
|
|
}
|
|
|
|
/**
|
|
* Fija el valor de applyPayment
|
|
*
|
|
* @param applyPayment value to set
|
|
*/
|
|
public void setApplyPayment(boolean applyPayment) {
|
|
this.applyPayment = applyPayment;
|
|
}
|
|
|
|
/**
|
|
* Entrega el valor de: fullPaymet
|
|
*
|
|
* @return boolean
|
|
*/
|
|
public boolean isFullPaymet() {
|
|
return this.fullPaymet;
|
|
}
|
|
|
|
/**
|
|
* Fija el valor de fullPaymet
|
|
*
|
|
* @param fullPaymet value to set
|
|
*/
|
|
public void setFullPaymet(boolean fullPaymet) {
|
|
this.fullPaymet = fullPaymet;
|
|
}
|
|
|
|
/**
|
|
* Entrega el valor de: history
|
|
*
|
|
* @return boolean
|
|
*/
|
|
public boolean isHistory() {
|
|
return this.history;
|
|
}
|
|
|
|
/**
|
|
* Fija el valor de history
|
|
*
|
|
* @param history value to set
|
|
*/
|
|
public void setHistory(boolean history) {
|
|
this.history = history;
|
|
}
|
|
|
|
/**
|
|
* Entrega el valor de: added
|
|
*
|
|
* @return boolean
|
|
*/
|
|
public boolean isAdded() {
|
|
return this.added;
|
|
}
|
|
|
|
/**
|
|
* Fija el valor de added
|
|
*
|
|
* @param added value to set
|
|
*/
|
|
public void setAdded(boolean added) {
|
|
this.added = added;
|
|
}
|
|
}
|