plaid2.model.transaction_override module
- class plaid2.model.transaction_override.TransactionOverride(*, amount: float, description: str, date_transacted: str, date_posted: str, currency: Optional[str] = None)[source]
Bases:
BaseModel
- amount: float
The transaction amount. Can be negative.
- currency: Optional[str]
The ISO-4217 format currency code for the transaction.
- date_posted: str
//wikipedia.org/wiki/ISO_8601) (YYYY-MM-DD) format. Posted dates in the past or present will result in posted transactions; posted dates in the future will result in pending transactions.
- Type
The date the transaction posted, in [ISO 8601](https
- date_transacted: str
//plaid.com/docs/api/products/transactions/#transactions-get-response-transactions-authorized-date) field.
- Type
The date of the transaction, in [ISO 8601](https
- Type
//wikipedia.org/wiki/ISO_8601) (YYYY-MM-DD) format. Transactions in Sandbox will move from pending to posted once their transaction date has been reached. If a date_transacted is not provided by the institution, a transaction date may be available in the [authorized_date](https
- description: str
The transaction description.
- 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) TransactionOverride [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) TransactionOverride [source]
Parse a json string into the object. Takes same keyword arguments as pydantic.BaseModel.parse_raw