public class FeedConnection extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FeedConnection.AccountTypeEnum
High level bank account type - BANK CREDITCARD BANK encompasses all bank account types other than credit cards.
|
static class |
FeedConnection.StatusEnum
the current status of the feed connection
|
| Constructor and Description |
|---|
FeedConnection() |
| Modifier and Type | Method and Description |
|---|---|
FeedConnection |
accountId(UUID accountId) |
FeedConnection |
accountName(String accountName) |
FeedConnection |
accountNumber(String accountNumber) |
FeedConnection |
accountToken(String accountToken) |
FeedConnection |
accountType(FeedConnection.AccountTypeEnum accountType) |
FeedConnection |
country(CountryCode country) |
FeedConnection |
currency(CurrencyCode currency) |
boolean |
equals(Object o) |
FeedConnection |
error(Error error) |
UUID |
getAccountId()
Xero identifier for a bank account in Xero.
|
String |
getAccountName()
The Account Name will be used for the creation of a new Xero Bank Account if a matching Xero Bank Account is not found.
|
String |
getAccountNumber()
String(40) when AccountType is BANK String(4) when AccountType is CREDITCARD The Account Number is used to match the feed to a Xero Bank Account.
|
String |
getAccountToken()
This account identifier is generated by the financial institute (FI).
|
FeedConnection.AccountTypeEnum |
getAccountType()
High level bank account type - BANK CREDITCARD BANK encompasses all bank account types other than credit cards.
|
CountryCode |
getCountry()
Get country
|
CurrencyCode |
getCurrency()
Get currency
|
Error |
getError()
Get error
|
UUID |
getId()
GUID used to identify the Account.
|
FeedConnection.StatusEnum |
getStatus()
the current status of the feed connection
|
int |
hashCode() |
FeedConnection |
id(UUID id) |
void |
setAccountId(UUID accountId) |
void |
setAccountName(String accountName) |
void |
setAccountNumber(String accountNumber) |
void |
setAccountToken(String accountToken) |
void |
setAccountType(FeedConnection.AccountTypeEnum accountType) |
void |
setCountry(CountryCode country) |
void |
setCurrency(CurrencyCode currency) |
void |
setError(Error error) |
void |
setId(UUID id) |
void |
setStatus(FeedConnection.StatusEnum status) |
FeedConnection |
status(FeedConnection.StatusEnum status) |
String |
toString() |
public FeedConnection id(UUID id)
public UUID getId()
public void setId(UUID id)
public FeedConnection accountToken(String accountToken)
public String getAccountToken()
public void setAccountToken(String accountToken)
public FeedConnection accountNumber(String accountNumber)
public String getAccountNumber()
public void setAccountNumber(String accountNumber)
public FeedConnection accountName(String accountName)
public String getAccountName()
public void setAccountName(String accountName)
public FeedConnection accountId(UUID accountId)
public UUID getAccountId()
public void setAccountId(UUID accountId)
public FeedConnection accountType(FeedConnection.AccountTypeEnum accountType)
public FeedConnection.AccountTypeEnum getAccountType()
public void setAccountType(FeedConnection.AccountTypeEnum accountType)
public FeedConnection currency(CurrencyCode currency)
public CurrencyCode getCurrency()
public void setCurrency(CurrencyCode currency)
public FeedConnection country(CountryCode country)
public CountryCode getCountry()
public void setCountry(CountryCode country)
public FeedConnection status(FeedConnection.StatusEnum status)
public FeedConnection.StatusEnum getStatus()
public void setStatus(FeedConnection.StatusEnum status)
public FeedConnection error(Error error)
public Error getError()
public void setError(Error error)
Copyright © 2020. All rights reserved.