class

Plaid::TransactionsSyncResponse

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

TransactionsSyncResponse defines the response schema for /transactions/sync

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, added : Array(Plaid::Transaction) | Nil = nil, modified : Array(Plaid::Transaction) | Nil = nil, removed : Array(Plaid::RemovedTransaction) | Nil = nil, next_cursor : String | Nil = nil, has_more : Bool | Nil = nil, request_id : String | 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

added

Transactions that have been added to the Item since cursor ordered by ascending last modified time.

Source
added=(new_value : Array(Plaid::Transaction) | Nil)

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

Source
has_more

Represents if more than requested count of transaction updates exist. If true, the additional updates can be fetched by making an additional request with cursor set to next_cursor. If has_more is true, it’s important to pull all available pages, to make it less likely for underlying data changes to conflict with pagination.

Source
has_more=(new_value : Bool | Nil)

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

Transactions that have been modified on the Item since cursor ordered by ascending last modified time.

Source
modified=(new_value : Array(Plaid::Transaction) | Nil)

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

Source
next_cursor

Cursor used for fetching any future updates after the latest update provided in this response. The cursor obtained after all pages have been pulled (indicated by has_more being false) will be valid for at least 1 year. This cursor should be persisted for later calls. If transactions are not yet available, this will be an empty string.

Source
next_cursor=(new_value : String | Nil)

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

Source
removed

Transactions that have been removed from the Item since cursor ordered by ascending last modified time.

Source
removed=(new_value : Array(Plaid::RemovedTransaction) | Nil)

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

Source
request_id

A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.

Source
request_id=(new_value : String | Nil)

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