Package com.plaid.client.model
Class HoldingsOverride
java.lang.Object
com.plaid.client.model.HoldingsOverride
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-10-15T19:47:39.714Z[GMT]")
public class HoldingsOverride
extends java.lang.Object
Specify the holdings on the account.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SERIALIZED_NAME_COST_BASIS
static java.lang.String
SERIALIZED_NAME_CURRENCY
static java.lang.String
SERIALIZED_NAME_INSTITUTION_PRICE
static java.lang.String
SERIALIZED_NAME_INSTITUTION_PRICE_AS_OF
static java.lang.String
SERIALIZED_NAME_QUANTITY
static java.lang.String
SERIALIZED_NAME_SECURITY
-
Constructor Summary
Constructors Constructor Description HoldingsOverride()
-
Method Summary
Modifier and Type Method Description HoldingsOverride
costBasis(java.lang.Double costBasis)
HoldingsOverride
currency(java.lang.String currency)
boolean
equals(java.lang.Object o)
java.lang.Double
getCostBasis()
The average original value of the holding.java.lang.String
getCurrency()
Either a valid `iso_currency_code` or `unofficial_currency_code`java.lang.Double
getInstitutionPrice()
The last price given by the institution for this securityjava.time.LocalDate
getInstitutionPriceAsOf()
The date at which `institution_price` was current.java.lang.Double
getQuantity()
The total quantity of the asset held, as reported by the financial institution.SecurityOverride
getSecurity()
Get securityint
hashCode()
HoldingsOverride
institutionPrice(java.lang.Double institutionPrice)
HoldingsOverride
institutionPriceAsOf(java.time.LocalDate institutionPriceAsOf)
HoldingsOverride
quantity(java.lang.Double quantity)
HoldingsOverride
security(SecurityOverride security)
void
setCostBasis(java.lang.Double costBasis)
void
setCurrency(java.lang.String currency)
void
setInstitutionPrice(java.lang.Double institutionPrice)
void
setInstitutionPriceAsOf(java.time.LocalDate institutionPriceAsOf)
void
setQuantity(java.lang.Double quantity)
void
setSecurity(SecurityOverride security)
java.lang.String
toString()
-
Field Details
-
SERIALIZED_NAME_INSTITUTION_PRICE
public static final java.lang.String SERIALIZED_NAME_INSTITUTION_PRICE- See Also:
- Constant Field Values
-
SERIALIZED_NAME_INSTITUTION_PRICE_AS_OF
public static final java.lang.String SERIALIZED_NAME_INSTITUTION_PRICE_AS_OF- See Also:
- Constant Field Values
-
SERIALIZED_NAME_COST_BASIS
public static final java.lang.String SERIALIZED_NAME_COST_BASIS- See Also:
- Constant Field Values
-
SERIALIZED_NAME_QUANTITY
public static final java.lang.String SERIALIZED_NAME_QUANTITY- 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
-
HoldingsOverride
public HoldingsOverride()
-
-
Method Details
-
institutionPrice
-
getInstitutionPrice
public java.lang.Double getInstitutionPrice()The last price given by the institution for this security- Returns:
- institutionPrice
-
setInstitutionPrice
public void setInstitutionPrice(java.lang.Double institutionPrice) -
institutionPriceAsOf
-
getInstitutionPriceAsOf
@Nullable public java.time.LocalDate getInstitutionPriceAsOf()The date at which `institution_price` was current. Must be formatted as an [ISO 8601](https://wikipedia.org/wiki/ISO_8601) date.- Returns:
- institutionPriceAsOf
-
setInstitutionPriceAsOf
public void setInstitutionPriceAsOf(java.time.LocalDate institutionPriceAsOf) -
costBasis
-
getCostBasis
@Nullable public java.lang.Double getCostBasis()The average original value of the holding. Multiple cost basis values for the same security purchased at different prices are not supported.- Returns:
- costBasis
-
setCostBasis
public void setCostBasis(java.lang.Double costBasis) -
quantity
-
getQuantity
public java.lang.Double getQuantity()The total quantity of the asset held, as reported by the financial institution.- Returns:
- quantity
-
setQuantity
public void setQuantity(java.lang.Double quantity) -
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
-