plaid2.model.category module
- class plaid2.model.category.Category(*, category_id: str, hierarchy: List[str], group: str)[source]
Bases:
BaseModel
- category_id: str
An identifying number for the category. category_id is a Plaid-specific identifier and does not necessarily correspond to merchant category codes.
- dict(**kwargs: Any) Dict[str, Any] [source]
Return a dict representation of the object. Takes same keyword arguments as pydantic.BaseModel.dict
- group: str
place for physical transactions or special for other transactions such as bank charges.
- hierarchy: List[str]
A hierarchical array of the categories to which this category_id belongs.
- json(**kwargs: Any) str [source]
Return a json string representation of the object. Takes same keyword arguments as pydantic.BaseModel.json