Package com.xero.models.finance
Class PnlAccountType
java.lang.Object
com.xero.models.finance.PnlAccountType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccounts(List<PnlAccount> accounts) A list of the movement on each account detail during the query period.addAccountsItem(PnlAccount accountsItem) A list of the movement on each account detail during the query period.booleanA list of the movement on each account detail during the query period.getTitle()Name of this account type, it will be either Trading Income or Other Income for Revenue section / Direct Cost or Operating Expenses for Expense sectiongetTotal()Total movement on this account typeinthashCode()voidsetAccounts(List<PnlAccount> accounts) A list of the movement on each account detail during the query period.voidName of this account type, it will be either Trading Income or Other Income for Revenue section / Direct Cost or Operating Expenses for Expense sectionvoidTotal movement on this account typeName of this account type, it will be either Trading Income or Other Income for Revenue section / Direct Cost or Operating Expenses for Expense sectiontoString()Total movement on this account type
-
Constructor Details
-
PnlAccountType
public PnlAccountType()
-
-
Method Details
-
total
Total movement on this account type- Parameters:
total- Double- Returns:
- PnlAccountType
-
getTotal
-
setTotal
-
title
Name of this account type, it will be either Trading Income or Other Income for Revenue section / Direct Cost or Operating Expenses for Expense section- Parameters:
title- String- Returns:
- PnlAccountType
-
getTitle
Name of this account type, it will be either Trading Income or Other Income for Revenue section / Direct Cost or Operating Expenses for Expense section- Returns:
- title
-
setTitle
Name of this account type, it will be either Trading Income or Other Income for Revenue section / Direct Cost or Operating Expenses for Expense section- Parameters:
title- String
-
accounts
A list of the movement on each account detail during the query period. Refer to the account detail element below- Parameters:
accounts- List<PnlAccount>- Returns:
- PnlAccountType
-
addAccountsItem
A list of the movement on each account detail during the query period. Refer to the account detail element below- Parameters:
accountsItem- PnlAccount- Returns:
- PnlAccountType
-
getAccounts
A list of the movement on each account detail during the query period. Refer to the account detail element below- Returns:
- accounts
-
setAccounts
A list of the movement on each account detail during the query period. Refer to the account detail element below- Parameters:
accounts- List<PnlAccount>
-
equals
-
hashCode
-
toString
-