Package com.xero.models.accounting
Class BankTransfer
java.lang.Object
com.xero.models.accounting.BankTransfer
public class BankTransfer extends Object
BankTransfer
-
Constructor Summary
Constructors Constructor Description BankTransfer() -
Method Summary
Modifier and Type Method Description BankTransferaddValidationErrorsItem(ValidationError validationErrorsItem)BankTransferamount(Double amount)BankTransferdate(String date)booleanequals(Object o)BankTransferfromBankAccount(Account fromBankAccount)DoublegetAmount()amount of the transactionUUIDgetBankTransferID()The identifier of the Bank TransferStringgetCreatedDateUTC()UTC timestamp of creation date of bank transferorg.threeten.bp.OffsetDateTimegetCreatedDateUTCAsDate()DoublegetCurrencyRate()The currency rateStringgetDate()The date of the Transfer YYYY-MM-DDorg.threeten.bp.LocalDategetDateAsDate()AccountgetFromBankAccount()Get fromBankAccountUUIDgetFromBankTransactionID()The Bank Transaction ID for the source accountBooleangetHasAttachments()Boolean to indicate if a Bank Transfer has an attachmentAccountgetToBankAccount()Get toBankAccountUUIDgetToBankTransactionID()The Bank Transaction ID for the destination accountList<ValidationError>getValidationErrors()Displays array of validation error messages from the APIinthashCode()voidsetAmount(Double amount)voidsetDate(String date)voidsetDate(org.threeten.bp.LocalDate date)voidsetFromBankAccount(Account fromBankAccount)voidsetToBankAccount(Account toBankAccount)voidsetValidationErrors(List<ValidationError> validationErrors)BankTransfertoBankAccount(Account toBankAccount)StringtoString()BankTransfervalidationErrors(List<ValidationError> validationErrors)
-
Constructor Details
-
BankTransfer
public BankTransfer()
-
-
Method Details
-
fromBankAccount
-
getFromBankAccount
Get fromBankAccount- Returns:
- fromBankAccount
-
setFromBankAccount
-
toBankAccount
-
getToBankAccount
Get toBankAccount- Returns:
- toBankAccount
-
setToBankAccount
-
amount
-
getAmount
amount of the transaction- Returns:
- amount
-
setAmount
-
date
-
getDate
The date of the Transfer YYYY-MM-DD- Returns:
- date
-
getDateAsDate
public org.threeten.bp.LocalDate getDateAsDate() -
setDate
-
setDate
public void setDate(org.threeten.bp.LocalDate date) -
getBankTransferID
The identifier of the Bank Transfer- Returns:
- bankTransferID
-
getCurrencyRate
The currency rate- Returns:
- currencyRate
-
getFromBankTransactionID
The Bank Transaction ID for the source account- Returns:
- fromBankTransactionID
-
getToBankTransactionID
The Bank Transaction ID for the destination account- Returns:
- toBankTransactionID
-
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() -
validationErrors
-
addValidationErrorsItem
-
getValidationErrors
Displays array of validation error messages from the API- Returns:
- validationErrors
-
setValidationErrors
-
equals
-
hashCode
public int hashCode() -
toString
-