Package com.plaid.client.model
Class TransactionsGetResponse
java.lang.Object
com.plaid.client.model.TransactionsGetResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-10-15T19:47:39.714Z[GMT]")
public class TransactionsGetResponse
extends java.lang.Object
TransactionsGetResponse defines the response schema for `/transactions/get`
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SERIALIZED_NAME_ACCOUNTS
static java.lang.String
SERIALIZED_NAME_ITEM
static java.lang.String
SERIALIZED_NAME_REQUEST_ID
static java.lang.String
SERIALIZED_NAME_TOTAL_TRANSACTIONS
static java.lang.String
SERIALIZED_NAME_TRANSACTIONS
-
Constructor Summary
Constructors Constructor Description TransactionsGetResponse()
-
Method Summary
Modifier and Type Method Description TransactionsGetResponse
accounts(java.util.List<AccountBase> accounts)
TransactionsGetResponse
addAccountsItem(AccountBase accountsItem)
TransactionsGetResponse
addTransactionsItem(Transaction transactionsItem)
boolean
equals(java.lang.Object o)
java.util.List<AccountBase>
getAccounts()
An array containing the `accounts` associated with the Item for which transactions are being returned.Item
getItem()
Get itemjava.lang.String
getRequestId()
A unique identifier for the request, which can be used for troubleshooting.java.lang.Integer
getTotalTransactions()
The total number of transactions available within the date range specified.java.util.List<Transaction>
getTransactions()
An array containing transactions from the account.int
hashCode()
TransactionsGetResponse
item(Item item)
TransactionsGetResponse
requestId(java.lang.String requestId)
void
setAccounts(java.util.List<AccountBase> accounts)
void
setItem(Item item)
void
setRequestId(java.lang.String requestId)
void
setTotalTransactions(java.lang.Integer totalTransactions)
void
setTransactions(java.util.List<Transaction> transactions)
java.lang.String
toString()
TransactionsGetResponse
totalTransactions(java.lang.Integer totalTransactions)
TransactionsGetResponse
transactions(java.util.List<Transaction> transactions)
-
Field Details
-
SERIALIZED_NAME_ACCOUNTS
public static final java.lang.String SERIALIZED_NAME_ACCOUNTS- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TRANSACTIONS
public static final java.lang.String SERIALIZED_NAME_TRANSACTIONS- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TOTAL_TRANSACTIONS
public static final java.lang.String SERIALIZED_NAME_TOTAL_TRANSACTIONS- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ITEM
public static final java.lang.String SERIALIZED_NAME_ITEM- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REQUEST_ID
public static final java.lang.String SERIALIZED_NAME_REQUEST_ID- See Also:
- Constant Field Values
-
-
Constructor Details
-
TransactionsGetResponse
public TransactionsGetResponse()
-
-
Method Details
-
accounts
-
addAccountsItem
-
getAccounts
An array containing the `accounts` associated with the Item for which transactions are being returned. Each transaction can be mapped to its corresponding account via the `account_id` field.- Returns:
- accounts
-
setAccounts
-
transactions
-
addTransactionsItem
-
getTransactions
An array containing transactions from the account. Transactions are returned in reverse chronological order, with the most recent at the beginning of the array. The maximum number of transactions returned is determined by the `count` parameter.- Returns:
- transactions
-
setTransactions
-
totalTransactions
-
getTotalTransactions
public java.lang.Integer getTotalTransactions()The total number of transactions available within the date range specified. If `total_transactions` is larger than the size of the `transactions` array, more transactions are available and can be fetched via manipulating the `offset` parameter.- Returns:
- totalTransactions
-
setTotalTransactions
public void setTotalTransactions(java.lang.Integer totalTransactions) -
item
-
getItem
Get item- Returns:
- item
-
setItem
-
requestId
-
getRequestId
public java.lang.String getRequestId()A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.- Returns:
- requestId
-
setRequestId
public void setRequestId(java.lang.String requestId) -
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-