class

Plaid::InvestmentsTransactionsOverride

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

Specify the list of investments transactions on the account.

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, date : Time | Nil = nil, name : String | Nil = nil, quantity : Float64 | Nil = nil, price : Float64 | Nil = nil, _type : String | Nil = nil, currency : String | Nil = nil, fees : Float64 | Nil = nil, security : Plaid::SecurityOverride | 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

_type

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

Source
_type=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] _type 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
date

Posting date for the transaction. Must be formatted as an ISO 8601 date.

Source
date=(new_value : Time | Nil)

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

Source
fees

The combined value of all fees applied to this transaction.

Source
fees=(new_value : Float64 | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] fees 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

list_invalid_properties

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

Source
name

The institution's description of the transaction.

Source
name=(new_value : String | Nil)

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

Source
price

The price of the security at which this transaction occurred.

Source
price=(new_value : Float64 | Nil)

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

Source
quantity

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.

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