Interface InvoiceSpi

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>

    Nested classes/interfaces inherited from interface it.tidalwave.accounting.model.Invoice

    Invoice.Builder
  • Field Summary

    Fields inherited from interface it.tidalwave.role.Identifiable

    _Identifiable_
  • Method Summary

    Modifier and Type
    Method
    Description
    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

    Methods inherited from interface it.tidalwave.accounting.model.Invoice

    findJobEvents, toBuilder
  • Method Details

    • getNumber

      @Nonnull 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