/*
* @(#)RefundInvoiceBean.java
*
* Copyright 2009 Instituto Superior Tecnico
* Founding Authors: Luis Cruz, Nuno Ochoa, Paulo Abrantes
*
* https://fenix-ashes.ist.utl.pt/
*
* This file is part of the Expenditure Tracking Module.
*
* The Expenditure Tracking Module is free software: you can
* redistribute it and/or modify it under the terms of the GNU Lesser General
* Public License as published by the Free Software Foundation, either version
* 3 of the License, or (at your option) any later version.
*
* The Expenditure Tracking Module is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with the Expenditure Tracking Module. If not, see <http://www.gnu.org/licenses/>.
*
*/
package pt.ist.expenditureTrackingSystem.domain.dto;
import java.io.Serializable;
import java.math.BigDecimal;
import module.finance.util.Money;
import org.joda.time.LocalDate;
import pt.ist.expenditureTrackingSystem.domain.acquisitions.refund.RefundItem;
import pt.ist.expenditureTrackingSystem.domain.organization.Supplier;
import pt.ist.expenditureTrackingSystem.presentationTier.util.FileUploadBean;
/**
*
* @author Pedro Santos
* @author Paulo Abrantes
* @author Luis Cruz
*
*/
public class RefundInvoiceBean extends FileUploadBean implements Serializable {
private String invoiceNumber;
private LocalDate invoiceDate;
private Money value;
private BigDecimal vatValue;
private Money refundableValue;
private RefundItem item;
private Supplier supplier;
public RefundInvoiceBean() {
super();
setItem(null);
setSupplier(null);
}
public String getInvoiceNumber() {
return invoiceNumber;
}
public void setInvoiceNumber(String invoiceNumber) {
this.invoiceNumber = invoiceNumber;
}
public LocalDate getInvoiceDate() {
return invoiceDate;
}
public void setInvoiceDate(LocalDate invoiceDate) {
this.invoiceDate = invoiceDate;
}
public Money getValue() {
return value;
}
public void setValue(Money value) {
this.value = value;
}
public BigDecimal getVatValue() {
return vatValue;
}
public void setVatValue(BigDecimal vatValue) {
this.vatValue = vatValue;
}
public Money getRefundableValue() {
return refundableValue;
}
public void setRefundableValue(Money refundableValue) {
this.refundableValue = refundableValue;
}
public RefundItem getItem() {
return item;
}
public void setItem(RefundItem item) {
this.item = item;
}
public Supplier getSupplier() {
return supplier;
}
public void setSupplier(Supplier supplier) {
this.supplier = supplier;
}
}