Package com.xero.models.finance
Class PnlAccountClass
java.lang.Object
com.xero.models.finance.PnlAccountClass
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountTypes(List<PnlAccountType> accountTypes) Contains trading income and other income for revenue section / operating expenses and direct cost for expense section if the data is available for each section.addAccountTypesItem(PnlAccountType accountTypesItem) Contains trading income and other income for revenue section / operating expenses and direct cost for expense section if the data is available for each section.booleanContains trading income and other income for revenue section / operating expenses and direct cost for expense section if the data is available for each section.getTotal()Total revenue/expense valueinthashCode()voidsetAccountTypes(List<PnlAccountType> accountTypes) Contains trading income and other income for revenue section / operating expenses and direct cost for expense section if the data is available for each section.voidTotal revenue/expense valuetoString()Total revenue/expense value
-
Constructor Details
-
PnlAccountClass
public PnlAccountClass()
-
-
Method Details
-
total
Total revenue/expense value- Parameters:
total- Double- Returns:
- PnlAccountClass
-
getTotal
-
setTotal
-
accountTypes
Contains trading income and other income for revenue section / operating expenses and direct cost for expense section if the data is available for each section. Refer to the account type element below- Parameters:
accountTypes- List<PnlAccountType>- Returns:
- PnlAccountClass
-
addAccountTypesItem
Contains trading income and other income for revenue section / operating expenses and direct cost for expense section if the data is available for each section. Refer to the account type element below- Parameters:
accountTypesItem- PnlAccountType- Returns:
- PnlAccountClass
-
getAccountTypes
Contains trading income and other income for revenue section / operating expenses and direct cost for expense section if the data is available for each section. Refer to the account type element below- Returns:
- accountTypes
-
setAccountTypes
Contains trading income and other income for revenue section / operating expenses and direct cost for expense section if the data is available for each section. Refer to the account type element below- Parameters:
accountTypes- List<PnlAccountType>
-
equals
-
hashCode
-
toString
-