Package com.xero.models.accounting
Class ReportWithRow
- java.lang.Object
-
- com.xero.models.accounting.ReportWithRow
-
public class ReportWithRow extends Object
ReportWithRow
-
-
Constructor Summary
Constructors Constructor Description ReportWithRow()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReportWithRowaddFieldsItem(ReportFields fieldsItem)fieldsReportWithRowaddReportTitlesItem(String reportTitlesItem)Report titles array (3 to 4 strings with the report name, orgnisation name and time frame of report)ReportWithRowaddRowsItem(ReportRows rowsItem)rowsbooleanequals(Object o)ReportWithRowfields(List<ReportFields> fields)fieldsList<ReportFields>getFields()Get fieldsStringgetReportDate()Date of reportStringgetReportID()ID of the ReportStringgetReportName()Name of the reportStringgetReportTitle()Title of the reportList<String>getReportTitles()Report titles array (3 to 4 strings with the report name, orgnisation name and time frame of report)StringgetReportType()The type of report (BalanceSheet,ProfitLoss, etc)List<ReportRows>getRows()Get rowsStringgetUpdatedDateUTC()Updated Dateorg.threeten.bp.OffsetDateTimegetUpdatedDateUTCAsDate()Updated DateinthashCode()ReportWithRowreportDate(String reportDate)Date of reportReportWithRowreportID(String reportID)ID of the ReportReportWithRowreportName(String reportName)Name of the reportReportWithRowreportTitle(String reportTitle)Title of the reportReportWithRowreportTitles(List<String> reportTitles)Report titles array (3 to 4 strings with the report name, orgnisation name and time frame of report)ReportWithRowreportType(String reportType)The type of report (BalanceSheet,ProfitLoss, etc)ReportWithRowrows(List<ReportRows> rows)rowsvoidsetFields(List<ReportFields> fields)fieldsvoidsetReportDate(String reportDate)Date of reportvoidsetReportID(String reportID)ID of the ReportvoidsetReportName(String reportName)Name of the reportvoidsetReportTitle(String reportTitle)Title of the reportvoidsetReportTitles(List<String> reportTitles)Report titles array (3 to 4 strings with the report name, orgnisation name and time frame of report)voidsetReportType(String reportType)The type of report (BalanceSheet,ProfitLoss, etc)voidsetRows(List<ReportRows> rows)rowsStringtoString()
-
-
-
Method Detail
-
reportID
public ReportWithRow reportID(String reportID)
ID of the Report- Parameters:
reportID- String- Returns:
- ReportWithRow
-
getReportID
public String getReportID()
ID of the Report- Returns:
- reportID
-
setReportID
public void setReportID(String reportID)
ID of the Report- Parameters:
reportID- String
-
reportName
public ReportWithRow reportName(String reportName)
Name of the report- Parameters:
reportName- String- Returns:
- ReportWithRow
-
getReportName
public String getReportName()
Name of the report- Returns:
- reportName
-
setReportName
public void setReportName(String reportName)
Name of the report- Parameters:
reportName- String
-
reportTitle
public ReportWithRow reportTitle(String reportTitle)
Title of the report- Parameters:
reportTitle- String- Returns:
- ReportWithRow
-
getReportTitle
public String getReportTitle()
Title of the report- Returns:
- reportTitle
-
setReportTitle
public void setReportTitle(String reportTitle)
Title of the report- Parameters:
reportTitle- String
-
reportType
public ReportWithRow reportType(String reportType)
The type of report (BalanceSheet,ProfitLoss, etc)- Parameters:
reportType- String- Returns:
- ReportWithRow
-
getReportType
public String getReportType()
The type of report (BalanceSheet,ProfitLoss, etc)- Returns:
- reportType
-
setReportType
public void setReportType(String reportType)
The type of report (BalanceSheet,ProfitLoss, etc)- Parameters:
reportType- String
-
reportTitles
public ReportWithRow reportTitles(List<String> reportTitles)
Report titles array (3 to 4 strings with the report name, orgnisation name and time frame of report)- Parameters:
reportTitles- List<>- Returns:
- ReportWithRow
-
addReportTitlesItem
public ReportWithRow addReportTitlesItem(String reportTitlesItem)
Report titles array (3 to 4 strings with the report name, orgnisation name and time frame of report)- Parameters:
reportTitlesItem- String- Returns:
- ReportWithRow
-
getReportTitles
public List<String> getReportTitles()
Report titles array (3 to 4 strings with the report name, orgnisation name and time frame of report)- Returns:
- reportTitles
-
setReportTitles
public void setReportTitles(List<String> reportTitles)
Report titles array (3 to 4 strings with the report name, orgnisation name and time frame of report)- Parameters:
reportTitles- List<>
-
reportDate
public ReportWithRow reportDate(String reportDate)
Date of report- Parameters:
reportDate- String- Returns:
- ReportWithRow
-
getReportDate
public String getReportDate()
Date of report- Returns:
- reportDate
-
setReportDate
public void setReportDate(String reportDate)
Date of report- Parameters:
reportDate- String
-
rows
public ReportWithRow rows(List<ReportRows> rows)
rows- Parameters:
rows- List<ReportRows>- Returns:
- ReportWithRow
-
addRowsItem
public ReportWithRow addRowsItem(ReportRows rowsItem)
rows- Parameters:
rowsItem- ReportRows- Returns:
- ReportWithRow
-
getRows
public List<ReportRows> getRows()
Get rows- Returns:
- rows
-
setRows
public void setRows(List<ReportRows> rows)
rows- Parameters:
rows- List<ReportRows>
-
getUpdatedDateUTC
public String getUpdatedDateUTC()
Updated Date- Returns:
- updatedDateUTC
-
getUpdatedDateUTCAsDate
public org.threeten.bp.OffsetDateTime getUpdatedDateUTCAsDate()
Updated Date- Returns:
- OffsetDateTime
-
fields
public ReportWithRow fields(List<ReportFields> fields)
fields- Parameters:
fields- List<ReportFields>- Returns:
- ReportWithRow
-
addFieldsItem
public ReportWithRow addFieldsItem(ReportFields fieldsItem)
fields- Parameters:
fieldsItem- ReportFields- Returns:
- ReportWithRow
-
getFields
public List<ReportFields> getFields()
Get fields- Returns:
- fields
-
setFields
public void setFields(List<ReportFields> fields)
fields- Parameters:
fields- List<ReportFields>
-
-