- All Superinterfaces:
it.tidalwave.util.As
, it.tidalwave.role.Identifiable
, Invoice
public interface InvoiceSpi
extends Invoice
- Author:
- Fabrizio Giudici
-
Nested Class Summary 
Nested classes/interfaces inherited from interface it.tidalwave.util.As 
it.tidalwave.util.As.Type<T>
-
Field Summary 
Fields inherited from interface it.tidalwave.role.Identifiable 
_Identifiable_
-
Method Summary 
Returns the earnings for this invoice.
Returns the id of the invoice.
Returns the project associated to this invoice.
Returns the tax associated to this invoice.
Methods inherited from interface it.tidalwave.util.As 
as, as, asMany, asMany, maybeAs, maybeAs
Methods inherited from interface it.tidalwave.role.Identifiable 
getId
-
Method Details 
-
getNumber 
Returns the id of the invoice.
- Returns:
- the id
-
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 
Returns the tax associated to this invoice.
- Returns:
- the tax