Package com.xero.models.accounting
Class BankTransfer
java.lang.Object
com.xero.models.accounting.BankTransfer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddValidationErrorsItem(ValidationError validationErrorsItem) Displays array of validation error messages from the APIamount of the transactionThe date of the Transfer YYYY-MM-DDbooleanfromBankAccount(Account fromBankAccount) fromBankAccountfromIsReconciled(Boolean fromIsReconciled) The Bank Transaction boolean to show if it is reconciled for the source accountamount of the transactionThe identifier of the Bank TransferUTC timestamp of creation date of bank transferorg.threeten.bp.OffsetDateTimeUTC timestamp of creation date of bank transferThe currency rategetDate()The date of the Transfer YYYY-MM-DDorg.threeten.bp.LocalDateThe date of the Transfer YYYY-MM-DDGet fromBankAccountThe Bank Transaction ID for the source accountThe Bank Transaction boolean to show if it is reconciled for the source accountBoolean to indicate if a Bank Transfer has an attachmentReference for the transactions.Get toBankAccountThe Bank Transaction ID for the destination accountThe Bank Transaction boolean to show if it is reconciled for the destination accountDisplays array of validation error messages from the APIinthashCode()Reference for the transactions.voidamount of the transactionvoidThe date of the Transfer YYYY-MM-DDvoidsetDate(org.threeten.bp.LocalDate date) The date of the Transfer YYYY-MM-DDvoidsetFromBankAccount(Account fromBankAccount) fromBankAccountvoidsetFromIsReconciled(Boolean fromIsReconciled) The Bank Transaction boolean to show if it is reconciled for the source accountvoidsetReference(String reference) Reference for the transactions.voidsetToBankAccount(Account toBankAccount) toBankAccountvoidsetToIsReconciled(Boolean toIsReconciled) The Bank Transaction boolean to show if it is reconciled for the destination accountvoidsetValidationErrors(List<ValidationError> validationErrors) Displays array of validation error messages from the APItoBankAccount(Account toBankAccount) toBankAccounttoIsReconciled(Boolean toIsReconciled) The Bank Transaction boolean to show if it is reconciled for the destination accounttoString()validationErrors(List<ValidationError> validationErrors) Displays array of validation error messages from the API
-
Constructor Details
-
BankTransfer
public BankTransfer()
-
-
Method Details
-
fromBankAccount
fromBankAccount- Parameters:
fromBankAccount- Account- Returns:
- BankTransfer
-
getFromBankAccount
-
setFromBankAccount
fromBankAccount- Parameters:
fromBankAccount- Account
-
toBankAccount
toBankAccount- Parameters:
toBankAccount- Account- Returns:
- BankTransfer
-
getToBankAccount
-
setToBankAccount
toBankAccount- Parameters:
toBankAccount- Account
-
amount
amount of the transaction- Parameters:
amount- Double- Returns:
- BankTransfer
-
getAmount
-
setAmount
-
date
The date of the Transfer YYYY-MM-DD- Parameters:
date- String- Returns:
- BankTransfer
-
getDate
-
getDateAsDate
public org.threeten.bp.LocalDate getDateAsDate()The date of the Transfer YYYY-MM-DD- Returns:
- LocalDate
-
setDate
-
setDate
public void setDate(org.threeten.bp.LocalDate date) The date of the Transfer YYYY-MM-DD- Parameters:
date- LocalDateTime
-
getBankTransferID
-
getCurrencyRate
-
getFromBankTransactionID
The Bank Transaction ID for the source account- Returns:
- fromBankTransactionID
-
getToBankTransactionID
The Bank Transaction ID for the destination account- Returns:
- toBankTransactionID
-
fromIsReconciled
The Bank Transaction boolean to show if it is reconciled for the source account- Parameters:
fromIsReconciled- Boolean- Returns:
- BankTransfer
-
getFromIsReconciled
The Bank Transaction boolean to show if it is reconciled for the source account- Returns:
- fromIsReconciled
-
setFromIsReconciled
The Bank Transaction boolean to show if it is reconciled for the source account- Parameters:
fromIsReconciled- Boolean
-
toIsReconciled
The Bank Transaction boolean to show if it is reconciled for the destination account- Parameters:
toIsReconciled- Boolean- Returns:
- BankTransfer
-
getToIsReconciled
The Bank Transaction boolean to show if it is reconciled for the destination account- Returns:
- toIsReconciled
-
setToIsReconciled
The Bank Transaction boolean to show if it is reconciled for the destination account- Parameters:
toIsReconciled- Boolean
-
reference
Reference for the transactions.- Parameters:
reference- String- Returns:
- BankTransfer
-
getReference
-
setReference
Reference for the transactions.- Parameters:
reference- String
-
getHasAttachments
Boolean to indicate if a Bank Transfer has an attachment- Returns:
- hasAttachments
-
getCreatedDateUTC
UTC timestamp of creation date of bank transfer- Returns:
- createdDateUTC
-
getCreatedDateUTCAsDate
public org.threeten.bp.OffsetDateTime getCreatedDateUTCAsDate()UTC timestamp of creation date of bank transfer- Returns:
- OffsetDateTime
-
validationErrors
Displays array of validation error messages from the API- Parameters:
validationErrors- List<ValidationError>- Returns:
- BankTransfer
-
addValidationErrorsItem
Displays array of validation error messages from the API- Parameters:
validationErrorsItem- ValidationError- Returns:
- BankTransfer
-
getValidationErrors
Displays array of validation error messages from the API- Returns:
- validationErrors
-
setValidationErrors
Displays array of validation error messages from the API- Parameters:
validationErrors- List<ValidationError>
-
equals
-
hashCode
-
toString
-