Package com.xero.models.finance
Class TrialBalanceAccount
java.lang.Object
com.xero.models.finance.TrialBalanceAccount
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountClass(String accountClass) The class of the account.accountCode(String accountCode) Customer defined alpha numeric account code e.g 200 or SALESID of the accountaccountMovement(TrialBalanceMovement accountMovement) accountMovementaccountName(String accountName) Name of the accountaccountType(String accountType) The type of the account.balance(TrialBalanceEntry balance) balancebooleanThe class of the account.Customer defined alpha numeric account code e.g 200 or SALESID of the accountGet accountMovementName of the accountThe type of the account.Get balanceReporting code (Shown if set)Value of balance.Accounts with a status of ACTIVE can be updated to ARCHIVED.inthashCode()reportingCode(String reportingCode) Reporting code (Shown if set)voidsetAccountClass(String accountClass) The class of the account.voidsetAccountCode(String accountCode) Customer defined alpha numeric account code e.g 200 or SALESvoidsetAccountId(UUID accountId) ID of the accountvoidsetAccountMovement(TrialBalanceMovement accountMovement) accountMovementvoidsetAccountName(String accountName) Name of the accountvoidsetAccountType(String accountType) The type of the account.voidsetBalance(TrialBalanceEntry balance) balancevoidsetReportingCode(String reportingCode) Reporting code (Shown if set)voidsetSignedBalance(Double signedBalance) Value of balance.voidAccounts with a status of ACTIVE can be updated to ARCHIVED.signedBalance(Double signedBalance) Value of balance.Accounts with a status of ACTIVE can be updated to ARCHIVED.toString()
-
Constructor Details
-
TrialBalanceAccount
public TrialBalanceAccount()
-
-
Method Details
-
accountId
ID of the account- Parameters:
accountId- UUID- Returns:
- TrialBalanceAccount
-
getAccountId
-
setAccountId
-
accountType
The type of the account. See <a href='https://developer.xero.com/documentation/api/types#AccountTypes'>Account Types</a>- Parameters:
accountType- String- Returns:
- TrialBalanceAccount
-
getAccountType
The type of the account. See <a href='https://developer.xero.com/documentation/api/types#AccountTypes'>Account Types</a>- Returns:
- accountType
-
setAccountType
The type of the account. See <a href='https://developer.xero.com/documentation/api/types#AccountTypes'>Account Types</a>- Parameters:
accountType- String
-
accountCode
Customer defined alpha numeric account code e.g 200 or SALES- Parameters:
accountCode- String- Returns:
- TrialBalanceAccount
-
getAccountCode
Customer defined alpha numeric account code e.g 200 or SALES- Returns:
- accountCode
-
setAccountCode
Customer defined alpha numeric account code e.g 200 or SALES- Parameters:
accountCode- String
-
accountClass
The class of the account. See <a href='https://developer.xero.com/documentation/api/types#AccountClassTypes'>Account Class Types</a>- Parameters:
accountClass- String- Returns:
- TrialBalanceAccount
-
getAccountClass
The class of the account. See <a href='https://developer.xero.com/documentation/api/types#AccountClassTypes'>Account Class Types</a>- Returns:
- accountClass
-
setAccountClass
The class of the account. See <a href='https://developer.xero.com/documentation/api/types#AccountClassTypes'>Account Class Types</a>- Parameters:
accountClass- String
-
status
Accounts with a status of ACTIVE can be updated to ARCHIVED. See <a href='https://developer.xero.com/documentation/api/types#AccountStatusCodes'>Account Status Codes</a>- Parameters:
status- String- Returns:
- TrialBalanceAccount
-
getStatus
Accounts with a status of ACTIVE can be updated to ARCHIVED. See <a href='https://developer.xero.com/documentation/api/types#AccountStatusCodes'>Account Status Codes</a>- Returns:
- status
-
setStatus
Accounts with a status of ACTIVE can be updated to ARCHIVED. See <a href='https://developer.xero.com/documentation/api/types#AccountStatusCodes'>Account Status Codes</a>- Parameters:
status- String
-
reportingCode
Reporting code (Shown if set)- Parameters:
reportingCode- String- Returns:
- TrialBalanceAccount
-
getReportingCode
-
setReportingCode
Reporting code (Shown if set)- Parameters:
reportingCode- String
-
accountName
Name of the account- Parameters:
accountName- String- Returns:
- TrialBalanceAccount
-
getAccountName
-
setAccountName
-
balance
balance- Parameters:
balance- TrialBalanceEntry- Returns:
- TrialBalanceAccount
-
getBalance
-
setBalance
-
signedBalance
Value of balance. Expense and Asset accounts code debits as positive. Revenue, Liability, and Equity accounts code debits as negative- Parameters:
signedBalance- Double- Returns:
- TrialBalanceAccount
-
getSignedBalance
Value of balance. Expense and Asset accounts code debits as positive. Revenue, Liability, and Equity accounts code debits as negative- Returns:
- signedBalance
-
setSignedBalance
Value of balance. Expense and Asset accounts code debits as positive. Revenue, Liability, and Equity accounts code debits as negative- Parameters:
signedBalance- Double
-
accountMovement
accountMovement- Parameters:
accountMovement- TrialBalanceMovement- Returns:
- TrialBalanceAccount
-
getAccountMovement
-
setAccountMovement
accountMovement- Parameters:
accountMovement- TrialBalanceMovement
-
equals
-
hashCode
-
toString
-