Interface InvoiceSpi
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface it.tidalwave.util.As
it.tidalwave.util.As.Defaults, it.tidalwave.util.As.NotFoundBehaviour<T extends java.lang.Object>
-
Nested classes/interfaces inherited from interface it.tidalwave.accounting.model.Invoice
Invoice.Builder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MoneygetEarnings()Returns the earnings for this invoice.java.lang.StringgetNumber()Returns the id of the invoice.ProjectgetProject()Returns the project associated to this invoice.MoneygetTax()Returns the tax associated to this invoice.-
Methods inherited from interface it.tidalwave.accounting.model.Invoice
findJobEvents, toBuilder
-
-
-
-
Method Detail
-
getNumber
@Nonnull java.lang.String getNumber()
Returns the id of the invoice.- Returns:
- the id
-
getProject
@Nonnull Project getProject()
Returns the project associated to this invoice.- Returns:
- the project
-
getEarnings
@Nonnull Money getEarnings()
Returns the earnings for this invoice.- Returns:
- the earnings
-
getTax
@Nonnull Money getTax()
Returns the tax associated to this invoice.- Returns:
- the tax
-
-