Package com.plaid.client.model
Class InvestmentsTransactionsOverride
java.lang.Object
com.plaid.client.model.InvestmentsTransactionsOverride
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-10-15T19:47:39.714Z[GMT]")
public class InvestmentsTransactionsOverride
extends java.lang.Object
Specify the list of investments transactions on the account.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SERIALIZED_NAME_CURRENCY
static java.lang.String
SERIALIZED_NAME_DATE
static java.lang.String
SERIALIZED_NAME_FEES
static java.lang.String
SERIALIZED_NAME_NAME
static java.lang.String
SERIALIZED_NAME_PRICE
static java.lang.String
SERIALIZED_NAME_QUANTITY
static java.lang.String
SERIALIZED_NAME_SECURITY
static java.lang.String
SERIALIZED_NAME_TYPE
-
Constructor Summary
Constructors Constructor Description InvestmentsTransactionsOverride()
-
Method Summary
Modifier and Type Method Description InvestmentsTransactionsOverride
currency(java.lang.String currency)
InvestmentsTransactionsOverride
date(java.time.LocalDate date)
boolean
equals(java.lang.Object o)
InvestmentsTransactionsOverride
fees(java.lang.Double fees)
java.lang.String
getCurrency()
Either a valid `iso_currency_code` or `unofficial_currency_code`java.time.LocalDate
getDate()
Posting date for the transaction.java.lang.Double
getFees()
The combined value of all fees applied to this transaction.java.lang.String
getName()
The institution's description of the transaction.java.lang.Double
getPrice()
The price of the security at which this transaction occurred.java.lang.Double
getQuantity()
The number of units of the security involved in this transaction.SecurityOverride
getSecurity()
Get securityjava.lang.String
getType()
The type of the investment transaction.int
hashCode()
InvestmentsTransactionsOverride
name(java.lang.String name)
InvestmentsTransactionsOverride
price(java.lang.Double price)
InvestmentsTransactionsOverride
quantity(java.lang.Double quantity)
InvestmentsTransactionsOverride
security(SecurityOverride security)
void
setCurrency(java.lang.String currency)
void
setDate(java.time.LocalDate date)
void
setFees(java.lang.Double fees)
void
setName(java.lang.String name)
void
setPrice(java.lang.Double price)
void
setQuantity(java.lang.Double quantity)
void
setSecurity(SecurityOverride security)
void
setType(java.lang.String type)
java.lang.String
toString()
InvestmentsTransactionsOverride
type(java.lang.String type)
-
Field Details
-
SERIALIZED_NAME_DATE
public static final java.lang.String SERIALIZED_NAME_DATE- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final java.lang.String SERIALIZED_NAME_NAME- See Also:
- Constant Field Values
-
SERIALIZED_NAME_QUANTITY
public static final java.lang.String SERIALIZED_NAME_QUANTITY- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PRICE
public static final java.lang.String SERIALIZED_NAME_PRICE- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FEES
public static final java.lang.String SERIALIZED_NAME_FEES- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TYPE
public static final java.lang.String SERIALIZED_NAME_TYPE- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CURRENCY
public static final java.lang.String SERIALIZED_NAME_CURRENCY- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SECURITY
public static final java.lang.String SERIALIZED_NAME_SECURITY- See Also:
- Constant Field Values
-
-
Constructor Details
-
InvestmentsTransactionsOverride
public InvestmentsTransactionsOverride()
-
-
Method Details
-
date
-
getDate
public java.time.LocalDate getDate()Posting date for the transaction. Must be formatted as an [ISO 8601](https://wikipedia.org/wiki/ISO_8601) date.- Returns:
- date
-
setDate
public void setDate(java.time.LocalDate date) -
name
-
getName
public java.lang.String getName()The institution's description of the transaction.- Returns:
- name
-
setName
public void setName(java.lang.String name) -
quantity
-
getQuantity
public java.lang.Double getQuantity()The number of units of the security involved in this transaction. Must be positive if the type is a buy and negative if the type is a sell.- Returns:
- quantity
-
setQuantity
public void setQuantity(java.lang.Double quantity) -
price
-
getPrice
public java.lang.Double getPrice()The price of the security at which this transaction occurred.- Returns:
- price
-
setPrice
public void setPrice(java.lang.Double price) -
fees
-
getFees
@Nullable public java.lang.Double getFees()The combined value of all fees applied to this transaction.- Returns:
- fees
-
setFees
public void setFees(java.lang.Double fees) -
type
-
getType
public java.lang.String getType()The type of the investment transaction. Possible values are: `buy`: Buying an investment `sell`: Selling an investment `cash`: Activity that modifies a cash position `fee`: A fee on the account `transfer`: Activity that modifies a position, but not through buy/sell activity e.g. options exercise, portfolio transfer- Returns:
- type
-
setType
public void setType(java.lang.String type) -
currency
-
getCurrency
public java.lang.String getCurrency()Either a valid `iso_currency_code` or `unofficial_currency_code`- Returns:
- currency
-
setCurrency
public void setCurrency(java.lang.String currency) -
security
-
getSecurity
Get security- Returns:
- security
-
setSecurity
-
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
-