Class ProfitAndLoss
java.lang.Object
java.util.AbstractMap<String,Object>
com.google.api.client.util.GenericData
com.google.api.client.json.GenericJson
net.amcintosh.freshbooks.models.reports.ProfitAndLoss
public class ProfitAndLoss
extends com.google.api.client.json.GenericJson
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionName of the business.The three-letter currency codegetDates()
Get the start and end dates for the report intervals, which could be monthly or quarterly.boolean
Methods inherited from class com.google.api.client.json.GenericJson
clone, getFactory, set, setFactory, toPrettyString, toString
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
ProfitAndLoss
public ProfitAndLoss()
-
-
Method Details
-
isCashBased
public boolean isCashBased() -
getCompanyName
Name of the business.- Returns:
-
getCurrencyCode
The three-letter currency code- Returns:
- (Eg. USD, CAD, EUR, GBP)
-
getDates
Get the start and end dates for the report intervals, which could be monthly or quarterly.- Returns:
-
getDownloadToken
-
getEndDate
-
getExpenses
-
getGrossMargin
-
getIncome
-
getLabels
-
getNetProfit
-
getResolution
-
getStartDate
-
getTotalExpenses
-
getTotalIncome
-