Class InMemoryInvoice
- java.lang.Object
-
- it.tidalwave.accounting.model.impl.InMemoryInvoice
-
- All Implemented Interfaces:
Invoice
,InvoiceSpi
,it.tidalwave.role.Identifiable
,it.tidalwave.util.As
@Immutable public class InMemoryInvoice extends java.lang.Object implements InvoiceSpi
- Author:
- Fabrizio Giudici
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface it.tidalwave.util.As
it.tidalwave.util.As.Type<T extends java.lang.Object>
-
Nested classes/interfaces inherited from interface it.tidalwave.accounting.model.Invoice
Invoice.Builder
-
-
Constructor Summary
Constructors Constructor Description InMemoryInvoice(Invoice.Builder builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description it.tidalwave.util.Finder<JobEvent>
findJobEvents()
Invoice.Builder
toBuilder()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface it.tidalwave.accounting.model.spi.InvoiceSpi
getEarnings, getNumber, getProject, getTax
-
-
-
-
Constructor Detail
-
InMemoryInvoice
public InMemoryInvoice(@Nonnull Invoice.Builder builder)
-
-
Method Detail
-
findJobEvents
@Nonnull public it.tidalwave.util.Finder<JobEvent> findJobEvents()
- Specified by:
findJobEvents
in interfaceInvoice
-
toBuilder
@Nonnull public Invoice.Builder toBuilder()
-
-