Package com.plaid.client.model
Class InvestmentsTransactionsGetResponse
java.lang.Object
com.plaid.client.model.InvestmentsTransactionsGetResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-10-15T19:47:39.714Z[GMT]")
public class InvestmentsTransactionsGetResponse
extends java.lang.Object
InvestmentsTransactionsGetResponse defines the response schema for `/investments/transactions/get`
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SERIALIZED_NAME_ACCOUNTS
static java.lang.String
SERIALIZED_NAME_INVESTMENT_TRANSACTIONS
static java.lang.String
SERIALIZED_NAME_ITEM
static java.lang.String
SERIALIZED_NAME_REQUEST_ID
static java.lang.String
SERIALIZED_NAME_SECURITIES
static java.lang.String
SERIALIZED_NAME_TOTAL_INVESTMENT_TRANSACTIONS
-
Constructor Summary
Constructors Constructor Description InvestmentsTransactionsGetResponse()
-
Method Summary
Modifier and Type Method Description InvestmentsTransactionsGetResponse
accounts(java.util.List<AccountBase> accounts)
InvestmentsTransactionsGetResponse
addAccountsItem(AccountBase accountsItem)
InvestmentsTransactionsGetResponse
addInvestmentTransactionsItem(InvestmentTransaction investmentTransactionsItem)
InvestmentsTransactionsGetResponse
addSecuritiesItem(Security securitiesItem)
boolean
equals(java.lang.Object o)
java.util.List<AccountBase>
getAccounts()
The accounts for which transaction history is being fetched.java.util.List<InvestmentTransaction>
getInvestmentTransactions()
The transactions being fetchedItem
getItem()
Get itemjava.lang.String
getRequestId()
A unique identifier for the request, which can be used for troubleshooting.java.util.List<Security>
getSecurities()
All securities for which there is a corresponding transaction being fetched.java.lang.Integer
getTotalInvestmentTransactions()
The total number of transactions available within the date range specified.int
hashCode()
InvestmentsTransactionsGetResponse
investmentTransactions(java.util.List<InvestmentTransaction> investmentTransactions)
InvestmentsTransactionsGetResponse
item(Item item)
InvestmentsTransactionsGetResponse
requestId(java.lang.String requestId)
InvestmentsTransactionsGetResponse
securities(java.util.List<Security> securities)
void
setAccounts(java.util.List<AccountBase> accounts)
void
setInvestmentTransactions(java.util.List<InvestmentTransaction> investmentTransactions)
void
setItem(Item item)
void
setRequestId(java.lang.String requestId)
void
setSecurities(java.util.List<Security> securities)
void
setTotalInvestmentTransactions(java.lang.Integer totalInvestmentTransactions)
java.lang.String
toString()
InvestmentsTransactionsGetResponse
totalInvestmentTransactions(java.lang.Integer totalInvestmentTransactions)
-
Field Details
-
SERIALIZED_NAME_ITEM
public static final java.lang.String SERIALIZED_NAME_ITEM- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ACCOUNTS
public static final java.lang.String SERIALIZED_NAME_ACCOUNTS- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SECURITIES
public static final java.lang.String SERIALIZED_NAME_SECURITIES- See Also:
- Constant Field Values
-
SERIALIZED_NAME_INVESTMENT_TRANSACTIONS
public static final java.lang.String SERIALIZED_NAME_INVESTMENT_TRANSACTIONS- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TOTAL_INVESTMENT_TRANSACTIONS
public static final java.lang.String SERIALIZED_NAME_TOTAL_INVESTMENT_TRANSACTIONS- 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
-
InvestmentsTransactionsGetResponse
public InvestmentsTransactionsGetResponse()
-
-
Method Details
-
item
-
getItem
Get item- Returns:
- item
-
setItem
-
accounts
-
addAccountsItem
-
getAccounts
The accounts for which transaction history is being fetched.- Returns:
- accounts
-
setAccounts
-
securities
-
addSecuritiesItem
-
getSecurities
All securities for which there is a corresponding transaction being fetched.- Returns:
- securities
-
setSecurities
-
investmentTransactions
public InvestmentsTransactionsGetResponse investmentTransactions(java.util.List<InvestmentTransaction> investmentTransactions) -
addInvestmentTransactionsItem
public InvestmentsTransactionsGetResponse addInvestmentTransactionsItem(InvestmentTransaction investmentTransactionsItem) -
getInvestmentTransactions
The transactions being fetched- Returns:
- investmentTransactions
-
setInvestmentTransactions
public void setInvestmentTransactions(java.util.List<InvestmentTransaction> investmentTransactions) -
totalInvestmentTransactions
public InvestmentsTransactionsGetResponse totalInvestmentTransactions(java.lang.Integer totalInvestmentTransactions) -
getTotalInvestmentTransactions
public java.lang.Integer getTotalInvestmentTransactions()The total number of transactions available within the date range specified. If `total_investment_transactions` is larger than the size of the `transactions` array, more transactions are available and can be fetched via manipulating the `offset` parameter.'- Returns:
- totalInvestmentTransactions
-
setTotalInvestmentTransactions
public void setTotalInvestmentTransactions(java.lang.Integer totalInvestmentTransactions) -
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
-