plaid2.model.transaction_data module

class plaid2.model.transaction_data.TransactionData(*, date: str, account_id: str, transaction_id: str, amount: float, description: str)[source]

Bases: BaseModel

account_id: str

A unique identifier for the end user’s account.

amount: float

The amount of the transaction.

date: str

//wikipedia.org/wiki/ISO_8601) format (“yyyy-mm-dd”).

Type

The date of the transaction, in [ISO 8601](https

description: str

The description of the transaction.

dict(**kwargs: Any) Dict[str, Any][source]

Return a dict representation of the object. Takes same keyword arguments as pydantic.BaseModel.dict

json(**kwargs: Any) str[source]

Return a json string representation of the object. Takes same keyword arguments as pydantic.BaseModel.json

classmethod parse_obj(data: Any) TransactionData[source]

Parse a dict into the object. Takes same keyword arguments as pydantic.BaseModel.parse_obj

classmethod parse_raw(b: Union[bytes, str], **kwargs: Any) TransactionData[source]

Parse a json string into the object. Takes same keyword arguments as pydantic.BaseModel.parse_raw

transaction_id: str

A unique identifier for the transaction.