Plaid::Holding
Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object
A securities holding at an institution.
Constructors
Initializes the object @param [Hash] attributes Model attributes in the form of hash
Instance methods
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Custom attribute writer method checking allowed values (enum). @param [Object] account_id Object to be assigned
The original total value of the holding. This field is calculated by Plaid as the sum of the purchase price of all of the shares in the holding.
Custom attribute writer method checking allowed values (enum). @param [Object] cost_basis Object to be assigned
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Custom attribute writer method checking allowed values (enum). @param [Object] institution_price Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] institution_price_as_of Object to be assigned
Date and time at which institution_price was current, in ISO 8601 format (YYYY-MM-DDTHH:mm:ssZ). This field is returned for select financial institutions and comes as provided by the institution. It may contain default time values (such as 00:00:00).
Custom attribute writer method checking allowed values (enum). @param [Object] institution_price_datetime Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] institution_value Object to be assigned
The ISO-4217 currency code of the holding. Always null if unofficial_currency_code is non-null.
Custom attribute writer method checking allowed values (enum). @param [Object] iso_currency_code Object to be assigned
Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons
The total quantity of the asset held, as reported by the financial institution. If the security is an option, quantity will reflect the total number of options (typically the number of contracts multiplied by 100), not the number of contracts.
Custom attribute writer method checking allowed values (enum). @param [Object] quantity Object to be assigned
The Plaid security_id associated with the holding. Security data is not specific to a user's account; any user who held the same security at the same financial institution at the same time would have identical security data. The security_id for the same security will typically be the same across different institutions, but this is not guaranteed. The security_id does not typically change, but may change if inherent details of the security change due to a corporate action, for example, in the event of a ticker symbol change or CUSIP change.
Custom attribute writer method checking allowed values (enum). @param [Object] security_id Object to be assigned
The unofficial currency code associated with the holding. Always null if iso_currency_code is non-null. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries. See the currency code schema for a full listing of supported iso_currency_codes.
Custom attribute writer method checking allowed values (enum). @param [Object] unofficial_currency_code Object to be assigned
Check to see if the all the properties in the model are valid @return true if the model is valid