class

Plaid::InvestmentsTransactionsGetRequestOptions

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

An optional object to filter /investments/transactions/get results. If provided, must be non-null.

Constants

MAX_FOR_COUNT = Int32.new("500")
MIN_FOR_COUNT = Int32.new("1")
MIN_FOR_OFFSET = Int32.new("0")

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, account_ids : Array(String) | Nil = nil, count : Int32 | Nil = 100, offset : Int32 | Nil = 0, async_update : Bool | Nil = false)

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

account_ids

An array of account_ids to retrieve for the Item.

Source
account_ids=(new_value : Array(String) | Nil)

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

Source
async_update

If the Item was not initialized with the investments product via the products array when calling /link/token/create, and async_update is set to true, the initial Investments extraction will happen asynchronously. Plaid will subsequently fire a HISTORICAL_UPDATE webhook when the extraction completes. When false, Plaid will wait to return a response until extraction completion and no HISTORICAL_UPDATE webhook will fire. Note that while the extraction is happening asynchronously, calls to /investments/transactions/get and /investments/refresh will return PRODUCT_NOT_READY errors until the extraction completes.

Source
async_update=(new_value : Bool | Nil)

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

Source
count

The number of transactions to fetch.

Source
count=(new_value : Int32 | Nil)

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

The number of transactions to skip when fetching transaction history

Source
offset=(new_value : Int32 | Nil)

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