Enum AccountType

java.lang.Object
java.lang.Enum<AccountType>
com.xero.models.accounting.AccountType
All Implemented Interfaces:
Serializable, Comparable<AccountType>, java.lang.constant.Constable

public enum AccountType
extends Enum<AccountType>
See Account Types
  • Enum Constant Details

    • BANK

      public static final AccountType BANK
    • CURRENT

      public static final AccountType CURRENT
    • CURRLIAB

      public static final AccountType CURRLIAB
    • DEPRECIATN

      public static final AccountType DEPRECIATN
    • DIRECTCOSTS

      public static final AccountType DIRECTCOSTS
    • EQUITY

      public static final AccountType EQUITY
    • EXPENSE

      public static final AccountType EXPENSE
    • FIXED

      public static final AccountType FIXED
    • INVENTORY

      public static final AccountType INVENTORY
    • LIABILITY

      public static final AccountType LIABILITY
    • NONCURRENT

      public static final AccountType NONCURRENT
    • OTHERINCOME

      public static final AccountType OTHERINCOME
    • OVERHEADS

      public static final AccountType OVERHEADS
    • PREPAYMENT

      public static final AccountType PREPAYMENT
    • REVENUE

      public static final AccountType REVENUE
    • SALES

      public static final AccountType SALES
    • TERMLIAB

      public static final AccountType TERMLIAB
    • PAYGLIABILITY

      public static final AccountType PAYGLIABILITY
    • PAYG

      public static final AccountType PAYG
    • SUPERANNUATIONEXPENSE

      public static final AccountType SUPERANNUATIONEXPENSE
    • SUPERANNUATIONLIABILITY

      public static final AccountType SUPERANNUATIONLIABILITY
    • WAGESEXPENSE

      public static final AccountType WAGESEXPENSE
  • Method Details

    • values

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

      public static AccountType valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<AccountType>
    • fromValue

      public static AccountType fromValue​(String value)