Package com.xero.models.finance
Class ProfitAndLossResponse
java.lang.Object
com.xero.models.finance.ProfitAndLossResponse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionendDate(org.threeten.bp.LocalDate endDate) End date of the reportbooleanexpense(PnlAccountClass expense) expenseorg.threeten.bp.LocalDateEnd date of the reportGet expenseNet profit loss valueGet revenueorg.threeten.bp.LocalDateStart date of the reportinthashCode()netProfitLoss(Double netProfitLoss) Net profit loss valuerevenue(PnlAccountClass revenue) revenuevoidsetEndDate(org.threeten.bp.LocalDate endDate) End date of the reportvoidsetExpense(PnlAccountClass expense) expensevoidsetNetProfitLoss(Double netProfitLoss) Net profit loss valuevoidsetRevenue(PnlAccountClass revenue) revenuevoidsetStartDate(org.threeten.bp.LocalDate startDate) Start date of the reportstartDate(org.threeten.bp.LocalDate startDate) Start date of the reporttoString()
-
Constructor Details
-
ProfitAndLossResponse
public ProfitAndLossResponse()
-
-
Method Details
-
startDate
Start date of the report- Parameters:
startDate- LocalDate- Returns:
- ProfitAndLossResponse
-
getStartDate
public org.threeten.bp.LocalDate getStartDate()Start date of the report- Returns:
- startDate
-
setStartDate
public void setStartDate(org.threeten.bp.LocalDate startDate) Start date of the report- Parameters:
startDate- LocalDate
-
endDate
End date of the report- Parameters:
endDate- LocalDate- Returns:
- ProfitAndLossResponse
-
getEndDate
public org.threeten.bp.LocalDate getEndDate()End date of the report- Returns:
- endDate
-
setEndDate
public void setEndDate(org.threeten.bp.LocalDate endDate) End date of the report- Parameters:
endDate- LocalDate
-
netProfitLoss
Net profit loss value- Parameters:
netProfitLoss- Double- Returns:
- ProfitAndLossResponse
-
getNetProfitLoss
-
setNetProfitLoss
Net profit loss value- Parameters:
netProfitLoss- Double
-
revenue
revenue- Parameters:
revenue- PnlAccountClass- Returns:
- ProfitAndLossResponse
-
getRevenue
-
setRevenue
-
expense
expense- Parameters:
expense- PnlAccountClass- Returns:
- ProfitAndLossResponse
-
getExpense
-
setExpense
-
equals
-
hashCode
-
toString
-