plaid2.model.client_provided_raw_transaction module

class plaid2.model.client_provided_raw_transaction.ClientProvidedRawTransaction(*, description: str, amount: float, id: str, iso_currency_code: str)[source]

Bases: BaseModel

amount: float

The value of the transaction, denominated in the account’s currency, as stated in iso_currency_code. Positive values when money moves out of the account; negative values when money moves in. For example, debit card purchases are positive; credit card payments, direct deposits, and refunds are negative.

description: str

The raw 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

id: str

Unique transaction identifier to tie transactions back to clients’ systems.

iso_currency_code: str

The ISO-4217 currency code of the transaction.

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) ClientProvidedRawTransaction[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) ClientProvidedRawTransaction[source]

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