plaid2.model.wallet module

class plaid2.model.wallet.Wallet(*, wallet_id: str, balance: WalletBalance, numbers: WalletNumbers)[source]

Bases: BaseModel

balance: WalletBalance

An object representing the e-wallet balance

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

numbers: WalletNumbers

An object representing the e-wallet account numbers

classmethod parse_obj(data: Any) Wallet[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) Wallet[source]

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

wallet_id: str

A unique ID identifying the e-wallet