PlaidEx.Schemas.TransactionSyncPage (plaid_ex v1.0.0)

Copy Markdown View Source

A single page from the /transactions/sync endpoint.

The next_cursor field MUST be persisted after each successful page. has_more indicates whether additional pages are available.

Summary

Types

removed_transaction()

@type removed_transaction() :: %{transaction_id: String.t()}

t()

@type t() :: %PlaidEx.Schemas.TransactionSyncPage{
  added: [PlaidEx.Schemas.Transaction.t()],
  has_more: boolean(),
  modified: [PlaidEx.Schemas.Transaction.t()],
  next_cursor: String.t(),
  removed: [removed_transaction()],
  request_id: String.t() | nil
}

Functions

from_map(map)

@spec from_map(map()) :: t()