Package com.xero.models.finance
Class PnlAccount
java.lang.Object
com.xero.models.finance.PnlAccount
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionID of the accountaccountType(String accountType) The type of the account.Account codebooleanID of the accountThe type of the account.getCode()Account codegetName()Account nameReporting code (Shown if set)getTotal()Total movement on this accountinthashCode()Account namereportingCode(String reportingCode) Reporting code (Shown if set)voidsetAccountID(UUID accountID) ID of the accountvoidsetAccountType(String accountType) The type of the account.voidAccount codevoidAccount namevoidsetReportingCode(String reportingCode) Reporting code (Shown if set)voidTotal movement on this accounttoString()Total movement on this account
-
Constructor Details
-
PnlAccount
public PnlAccount()
-
-
Method Details
-
accountID
ID of the account- Parameters:
accountID- UUID- Returns:
- PnlAccount
-
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:
- PnlAccount
-
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
-
code
-
getCode
-
setCode
-
name
-
getName
-
setName
-
reportingCode
Reporting code (Shown if set)- Parameters:
reportingCode- String- Returns:
- PnlAccount
-
getReportingCode
-
setReportingCode
Reporting code (Shown if set)- Parameters:
reportingCode- String
-
total
Total movement on this account- Parameters:
total- Double- Returns:
- PnlAccount
-
getTotal
-
setTotal
-
equals
-
hashCode
-
toString
-