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.Defaults, it.tidalwave.util.As.NotFoundBehaviour<T extends java.lang.Object>
    • Field Summary

      • Fields inherited from interface it.tidalwave.role.Identifiable

        _Identifiable_
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Money getEarnings()
      Returns the earnings for this invoice.
      java.lang.String getNumber()
      Returns the id of the invoice.
      Project getProject()
      Returns the project associated to this invoice.
      Money getTax()
      Returns the tax associated to this invoice.
      • Methods inherited from interface it.tidalwave.util.As

        as, as, asMany, asOptional, maybeAs
      • Methods inherited from interface it.tidalwave.role.Identifiable

        getId
    • 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