Class Account


  • public class Account
    extends Object
    Account
    • Constructor Detail

      • Account

        public Account()
    • Method Detail

      • accountID

        public Account accountID​(UUID accountID)
        Xero identifier for accounts
        Parameters:
        accountID - UUID
        Returns:
        Account
      • getAccountID

        public UUID getAccountID()
        Xero identifier for accounts
        Returns:
        accountID
      • setAccountID

        public void setAccountID​(UUID accountID)
        Xero identifier for accounts
        Parameters:
        accountID - UUID
      • type

        public Account type​(AccountType type)
        type
        Parameters:
        type - AccountType
        Returns:
        Account
      • getType

        public AccountType getType()
        Get type
        Returns:
        type
      • setType

        public void setType​(AccountType type)
        type
        Parameters:
        type - AccountType
      • code

        public Account code​(String code)
        Customer defined account code
        Parameters:
        code - String
        Returns:
        Account
      • getCode

        public String getCode()
        Customer defined account code
        Returns:
        code
      • setCode

        public void setCode​(String code)
        Customer defined account code
        Parameters:
        code - String
      • name

        public Account name​(String name)
        Name of account
        Parameters:
        name - String
        Returns:
        Account
      • getName

        public String getName()
        Name of account
        Returns:
        name
      • setName

        public void setName​(String name)
        Name of account
        Parameters:
        name - String
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object