java.lang.Object
ch.tocco.nice2.optional.finance.impl.report.postingvoucher.VoucherGrouping
All Implemented Interfaces:
Comparable<VoucherGrouping>

public class VoucherGrouping extends Object implements Comparable<VoucherGrouping>
  • Constructor Details

    • VoucherGrouping

      public VoucherGrouping()
  • Method Details

    • combine

      public static VoucherGrouping combine(VoucherGrouping v1, VoucherGrouping v2)
    • getDebitAccount

      public Account getDebitAccount()
    • setDebitAccount

      public void setDebitAccount(Account debitAccount)
    • getCreditAccount

      public Account getCreditAccount()
    • setCreditAccount

      public void setCreditAccount(Account creditAccount)
    • getVatCode

      @Nullable public @Nullable VatCode getVatCode()
    • setVatCode

      public void setVatCode(@Nullable @Nullable VatCode vatCode)
    • getCostCenter

      @Nullable public @Nullable Account getCostCenter()
    • setCostCenter

      public void setCostCenter(@Nullable @Nullable Account costCenter)
    • getTotalNetto

      public BigDecimal getTotalNetto()
    • setTotalNetto

      public void setTotalNetto(BigDecimal totalNetto)
    • getTotalBrutto

      public BigDecimal getTotalBrutto()
    • setTotalBrutto

      public void setTotalBrutto(BigDecimal totalBrutto)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • compareTo

      public int compareTo(@NotNull @NotNull VoucherGrouping o)
      Specified by:
      compareTo in interface Comparable<VoucherGrouping>