Enum Class VoucherStatus

java.lang.Object
java.lang.Enum<VoucherStatus>
de.focus_shift.lexoffice.java.sdk.model.VoucherStatus
All Implemented Interfaces:
Serializable, Comparable<VoucherStatus>, Constable

public enum VoucherStatus extends Enum<VoucherStatus>
  • Enum Constant Details

    • DRAFT

      public static final VoucherStatus DRAFT
      Voucher is created but not yet final. It is still editable in lexoffice.
    • OPEN

      public static final VoucherStatus OPEN
      Voucher is finalized in lexoffice and no longer editable but yet unpaid or only partially paid.
    • PAIDOFF

      public static final VoucherStatus PAIDOFF
      Only used for credit notes. Credit note is marked as paidoff in lexoffice.
    • VOIDED

      public static final VoucherStatus VOIDED
      Voucher is cancelled.
    • TRANSFERRED

      public static final VoucherStatus TRANSFERRED
      Voucher is transferred via the lexoffice online banking connector. When the payment is handled by the bank this status changes to paid.
    • SEPADEBIT

      public static final VoucherStatus SEPADEBIT
      The payment has already been authorized or the amount will be collected by direct debit (direct withdrawal). When the payment is handled by the bank this status changes to paid.
    • OVERDUE

      public static final VoucherStatus OVERDUE
      Voucher is open and dueDate is in the past.
    • ACCEPTED

      public static final VoucherStatus ACCEPTED
      Only used for quotations. This status is set when a quotation was marked as accepted in lexoffice.
    • REJECTED

      public static final VoucherStatus REJECTED
      Only used for quotations. This status is set when a quotation was marked as rejected in lexoffice.
  • Method Details

    • values

      public static VoucherStatus[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static VoucherStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • valuesNonExclusive

      public static VoucherStatus[] valuesNonExclusive()