|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.geebis.books.model.ap.Voucher
@Name(value="voucher") public class Voucher
The Voucher class represents an AP voucher in Geebis books. Vouchers come in two forms, bills
and credit memos. Vouchers have two kinds of lines:
item lines which contain items andexpense lines which contain expense accounts
| Constructor Summary | |
|---|---|
Voucher()
|
|
| Method Summary | |
|---|---|
java.lang.Double |
getAmount()
Gets the amount of the voucher |
java.util.Date |
getDate()
Gets the date the voucher was issued |
java.lang.String |
getDescription()
Gets the description for the voucher |
java.util.List<VoucherExpenseLine> |
getExpenseLines()
Gets the expense lines for this voucher |
java.lang.Long |
getId()
|
java.util.List<VoucherItemLine> |
getItemLines()
Gets the item lines for this voucher |
java.lang.String |
getNumber()
Gets the number of the voucher |
Vendor |
getVendor()
Gets the vendor of this voucher |
java.lang.Integer |
getVersion()
|
void |
setAmount(java.lang.Double amount)
Sets the amount of the voucher |
void |
setDate(java.util.Date date)
Sets the date the voucher was issued |
void |
setDescription(java.lang.String description)
Sets the description of the voucher |
void |
setExpenseLines(java.util.List<VoucherExpenseLine> expenseLines)
Sets the expense lines for this voucher |
void |
setId(java.lang.Long id)
|
void |
setItemLines(java.util.List<VoucherItemLine> itemLines)
Sets the item lines for this voucher |
void |
setNumber(java.lang.String number)
Sets the number of the voucher |
void |
setVendor(Vendor vendor)
Sets the vendor of this voucher |
void |
setVersion(java.lang.Integer version)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Voucher()
| Method Detail |
|---|
public java.lang.String getNumber()
public void setNumber(java.lang.String number)
number - the new number for the voucherpublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - the new description for the voucherpublic java.util.Date getDate()
public void setDate(java.util.Date date)
date - the new date the voucher was issuedpublic java.lang.Double getAmount()
public void setAmount(java.lang.Double amount)
amount - the new amount of the voucherpublic Vendor getVendor()
public void setVendor(Vendor vendor)
vendor - the new vendor for this voucherpublic java.util.List<VoucherItemLine> getItemLines()
public void setItemLines(java.util.List<VoucherItemLine> itemLines)
itemLines - the new item lines for this voucherpublic java.util.List<VoucherExpenseLine> getExpenseLines()
public void setExpenseLines(java.util.List<VoucherExpenseLine> expenseLines)
expenseLines - the new expense lines for this voucherpublic java.lang.Integer getVersion()
public void setVersion(java.lang.Integer version)
public java.lang.Long getId()
public void setId(java.lang.Long id)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||