plaid2.model.transfer_sweep module

class plaid2.model.transfer_sweep.TransferSweep(*, created: str, amount: str, id: str, iso_currency_code: str)[source]

Bases: BaseModel

amount: str

Signed decimal amount of the sweep as it appears on your sweep account ledger (e.g. “-10.00”)

If amount is not present, the sweep was net-settled to zero and outstanding debits and credits between the sweep account and Plaid are balanced.

created: str

The datetime when the sweep occurred, in RFC 3339 format.

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

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

id: str

Identifier of the sweep.

iso_currency_code: str

The currency of the sweep, e.g. “USD”.

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

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