class

Plaid::HoldingsOverride

Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object

Specify the holdings on the account.

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, institution_price : Float64 | Nil = nil, quantity : Float64 | Nil = nil, currency : String | Nil = nil, security : Plaid::SecurityOverride | Nil = nil, institution_price_as_of : Time | Nil = nil, cost_basis : Float64 | Nil = nil)

Initializes the object @param [Hash] attributes Model attributes in the form of hash

Source

Instance methods

==(other : self)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

cost_basis

The average original value of the holding. Multiple cost basis values for the same security purchased at different prices are not supported.

Source
cost_basis=(new_value : Float64 | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] cost_basis Object to be assigned

Source
currency

Either a valid iso_currency_code or unofficial_currency_code

Source
currency=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] currency Object to be assigned

Source
hash(hasher)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

institution_price

The last price given by the institution for this security

Source
institution_price=(new_value : Float64 | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] institution_price Object to be assigned

Source
institution_price_as_of

The date at which institution_price was current. Must be formatted as an ISO 8601 date.

Source
institution_price_as_of=(new_value : Time | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] institution_price_as_of Object to be assigned

Source
list_invalid_properties

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Source
quantity

The total quantity of the asset held, as reported by the financial institution.

Source
quantity=(new_value : Float64 | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] quantity Object to be assigned

Source
security
Source
security=(new_value : Plaid::SecurityOverride | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] security Object to be assigned

Source
valid?

Check to see if the all the properties in the model are valid @return true if the model is valid

Source