Package com.xero.models.finance
Class StatementResponse
java.lang.Object
com.xero.models.finance.StatementResponse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddStatementLinesItem(StatementLineResponse statementLinesItem) List of statement linesendBalance(Double endBalance) Closing balance sourced from imported bank statements (if supplied).endDate(org.threeten.bp.LocalDate endDate) End date of statementbooleanClosing balance sourced from imported bank statements (if supplied).org.threeten.bp.LocalDateEnd date of statementorg.threeten.bp.OffsetDateTimeUtc date time of when the statement was imported in XeroIdentifies where the statement data in Xero was sourced, 1) direct bank feed, automatically loaded from the bank (eg STMTIMPORTSRC/CBAFEED); 2) indirect bank feed, automatically loaded from a 3rd party provider (eg STMTIMPORTSRC/YODLEE); 3) manually uploaded bank feed (eg STMTIMPORTSRC/CSV) or 4) manually entered statement data (STMTIMPORTSRC/MANUAL).Closing statement balance calculated in Xero (= bank account conversion balance plus sum of imported bank statement lines).Opening statement balance calculated in Xero (= bank account conversion balance plus sum of imported bank statement lines).Opening balance sourced from imported bank statements (if supplied).org.threeten.bp.LocalDateStart date of statementXero Identifier of statementList of statement linesinthashCode()importedDateTimeUtc(org.threeten.bp.OffsetDateTime importedDateTimeUtc) Utc date time of when the statement was imported in XeroimportSource(String importSource) Identifies where the statement data in Xero was sourced, 1) direct bank feed, automatically loaded from the bank (eg STMTIMPORTSRC/CBAFEED); 2) indirect bank feed, automatically loaded from a 3rd party provider (eg STMTIMPORTSRC/YODLEE); 3) manually uploaded bank feed (eg STMTIMPORTSRC/CSV) or 4) manually entered statement data (STMTIMPORTSRC/MANUAL).indicativeEndBalance(Double indicativeEndBalance) Closing statement balance calculated in Xero (= bank account conversion balance plus sum of imported bank statement lines).indicativeStartBalance(Double indicativeStartBalance) Opening statement balance calculated in Xero (= bank account conversion balance plus sum of imported bank statement lines).voidsetEndBalance(Double endBalance) Closing balance sourced from imported bank statements (if supplied).voidsetEndDate(org.threeten.bp.LocalDate endDate) End date of statementvoidsetImportedDateTimeUtc(org.threeten.bp.OffsetDateTime importedDateTimeUtc) Utc date time of when the statement was imported in XerovoidsetImportSource(String importSource) Identifies where the statement data in Xero was sourced, 1) direct bank feed, automatically loaded from the bank (eg STMTIMPORTSRC/CBAFEED); 2) indirect bank feed, automatically loaded from a 3rd party provider (eg STMTIMPORTSRC/YODLEE); 3) manually uploaded bank feed (eg STMTIMPORTSRC/CSV) or 4) manually entered statement data (STMTIMPORTSRC/MANUAL).voidsetIndicativeEndBalance(Double indicativeEndBalance) Closing statement balance calculated in Xero (= bank account conversion balance plus sum of imported bank statement lines).voidsetIndicativeStartBalance(Double indicativeStartBalance) Opening statement balance calculated in Xero (= bank account conversion balance plus sum of imported bank statement lines).voidsetStartBalance(Double startBalance) Opening balance sourced from imported bank statements (if supplied).voidsetStartDate(org.threeten.bp.LocalDate startDate) Start date of statementvoidsetStatementId(UUID statementId) Xero Identifier of statementvoidsetStatementLines(List<StatementLineResponse> statementLines) List of statement linesstartBalance(Double startBalance) Opening balance sourced from imported bank statements (if supplied).startDate(org.threeten.bp.LocalDate startDate) Start date of statementstatementId(UUID statementId) Xero Identifier of statementstatementLines(List<StatementLineResponse> statementLines) List of statement linestoString()
-
Constructor Details
-
StatementResponse
public StatementResponse()
-
-
Method Details
-
statementId
Xero Identifier of statement- Parameters:
statementId- UUID- Returns:
- StatementResponse
-
getStatementId
-
setStatementId
Xero Identifier of statement- Parameters:
statementId- UUID
-
startDate
Start date of statement- Parameters:
startDate- LocalDate- Returns:
- StatementResponse
-
getStartDate
public org.threeten.bp.LocalDate getStartDate()Start date of statement- Returns:
- startDate
-
setStartDate
public void setStartDate(org.threeten.bp.LocalDate startDate) Start date of statement- Parameters:
startDate- LocalDate
-
endDate
End date of statement- Parameters:
endDate- LocalDate- Returns:
- StatementResponse
-
getEndDate
public org.threeten.bp.LocalDate getEndDate()End date of statement- Returns:
- endDate
-
setEndDate
public void setEndDate(org.threeten.bp.LocalDate endDate) End date of statement- Parameters:
endDate- LocalDate
-
importedDateTimeUtc
Utc date time of when the statement was imported in Xero- Parameters:
importedDateTimeUtc- OffsetDateTime- Returns:
- StatementResponse
-
getImportedDateTimeUtc
public org.threeten.bp.OffsetDateTime getImportedDateTimeUtc()Utc date time of when the statement was imported in Xero- Returns:
- importedDateTimeUtc
-
setImportedDateTimeUtc
public void setImportedDateTimeUtc(org.threeten.bp.OffsetDateTime importedDateTimeUtc) Utc date time of when the statement was imported in Xero- Parameters:
importedDateTimeUtc- OffsetDateTime
-
importSource
Identifies where the statement data in Xero was sourced, 1) direct bank feed, automatically loaded from the bank (eg STMTIMPORTSRC/CBAFEED); 2) indirect bank feed, automatically loaded from a 3rd party provider (eg STMTIMPORTSRC/YODLEE); 3) manually uploaded bank feed (eg STMTIMPORTSRC/CSV) or 4) manually entered statement data (STMTIMPORTSRC/MANUAL).- Parameters:
importSource- String- Returns:
- StatementResponse
-
getImportSource
Identifies where the statement data in Xero was sourced, 1) direct bank feed, automatically loaded from the bank (eg STMTIMPORTSRC/CBAFEED); 2) indirect bank feed, automatically loaded from a 3rd party provider (eg STMTIMPORTSRC/YODLEE); 3) manually uploaded bank feed (eg STMTIMPORTSRC/CSV) or 4) manually entered statement data (STMTIMPORTSRC/MANUAL).- Returns:
- importSource
-
setImportSource
Identifies where the statement data in Xero was sourced, 1) direct bank feed, automatically loaded from the bank (eg STMTIMPORTSRC/CBAFEED); 2) indirect bank feed, automatically loaded from a 3rd party provider (eg STMTIMPORTSRC/YODLEE); 3) manually uploaded bank feed (eg STMTIMPORTSRC/CSV) or 4) manually entered statement data (STMTIMPORTSRC/MANUAL).- Parameters:
importSource- String
-
startBalance
Opening balance sourced from imported bank statements (if supplied). Note, for manually uploaded statements, this balance is also manual and usually not supplied. Where not supplied, the value will be 0.- Parameters:
startBalance- Double- Returns:
- StatementResponse
-
getStartBalance
Opening balance sourced from imported bank statements (if supplied). Note, for manually uploaded statements, this balance is also manual and usually not supplied. Where not supplied, the value will be 0.- Returns:
- startBalance
-
setStartBalance
Opening balance sourced from imported bank statements (if supplied). Note, for manually uploaded statements, this balance is also manual and usually not supplied. Where not supplied, the value will be 0.- Parameters:
startBalance- Double
-
endBalance
Closing balance sourced from imported bank statements (if supplied). Note, for manually uploaded statements, this balance is also manual and usually not supplied. Where not supplied, the value will be 0.- Parameters:
endBalance- Double- Returns:
- StatementResponse
-
getEndBalance
Closing balance sourced from imported bank statements (if supplied). Note, for manually uploaded statements, this balance is also manual and usually not supplied. Where not supplied, the value will be 0.- Returns:
- endBalance
-
setEndBalance
Closing balance sourced from imported bank statements (if supplied). Note, for manually uploaded statements, this balance is also manual and usually not supplied. Where not supplied, the value will be 0.- Parameters:
endBalance- Double
-
indicativeStartBalance
Opening statement balance calculated in Xero (= bank account conversion balance plus sum of imported bank statement lines). Note: If indicative statement balance doesn't match imported statement balance for the same date, either the conversion (opening at inception) balance in Xero is wrong or there's an error in the bank statement lines in Xero. Ref: https://central.xero.com/s/article/Compare-the-statement-balance-in-Xero-to-your-actual-bank-balance?userregion=true- Parameters:
indicativeStartBalance- Double- Returns:
- StatementResponse
-
getIndicativeStartBalance
Opening statement balance calculated in Xero (= bank account conversion balance plus sum of imported bank statement lines). Note: If indicative statement balance doesn't match imported statement balance for the same date, either the conversion (opening at inception) balance in Xero is wrong or there's an error in the bank statement lines in Xero. Ref: https://central.xero.com/s/article/Compare-the-statement-balance-in-Xero-to-your-actual-bank-balance?userregion=true- Returns:
- indicativeStartBalance
-
setIndicativeStartBalance
Opening statement balance calculated in Xero (= bank account conversion balance plus sum of imported bank statement lines). Note: If indicative statement balance doesn't match imported statement balance for the same date, either the conversion (opening at inception) balance in Xero is wrong or there's an error in the bank statement lines in Xero. Ref: https://central.xero.com/s/article/Compare-the-statement-balance-in-Xero-to-your-actual-bank-balance?userregion=true- Parameters:
indicativeStartBalance- Double
-
indicativeEndBalance
Closing statement balance calculated in Xero (= bank account conversion balance plus sum of imported bank statement lines). Note: If indicative statement balance doesn't match imported statement balance for the same date, either the conversion (opening at inception) balance in Xero is wrong or there's an error in the bank statement lines in Xero. Ref: https://central.xero.com/s/article/Compare-the-statement-balance-in-Xero-to-your-actual-bank-balance?userregion=true- Parameters:
indicativeEndBalance- Double- Returns:
- StatementResponse
-
getIndicativeEndBalance
Closing statement balance calculated in Xero (= bank account conversion balance plus sum of imported bank statement lines). Note: If indicative statement balance doesn't match imported statement balance for the same date, either the conversion (opening at inception) balance in Xero is wrong or there's an error in the bank statement lines in Xero. Ref: https://central.xero.com/s/article/Compare-the-statement-balance-in-Xero-to-your-actual-bank-balance?userregion=true- Returns:
- indicativeEndBalance
-
setIndicativeEndBalance
Closing statement balance calculated in Xero (= bank account conversion balance plus sum of imported bank statement lines). Note: If indicative statement balance doesn't match imported statement balance for the same date, either the conversion (opening at inception) balance in Xero is wrong or there's an error in the bank statement lines in Xero. Ref: https://central.xero.com/s/article/Compare-the-statement-balance-in-Xero-to-your-actual-bank-balance?userregion=true- Parameters:
indicativeEndBalance- Double
-
statementLines
List of statement lines- Parameters:
statementLines- List<StatementLineResponse>- Returns:
- StatementResponse
-
addStatementLinesItem
List of statement lines- Parameters:
statementLinesItem- StatementLineResponse- Returns:
- StatementResponse
-
getStatementLines
List of statement lines- Returns:
- statementLines
-
setStatementLines
List of statement lines- Parameters:
statementLines- List<StatementLineResponse>
-
equals
-
hashCode
-
toString
-