plaid2.model.personal_finance_category module

class plaid2.model.personal_finance_category.PersonalFinanceCategory(*, primary: str, detailed: str)[source]

Bases: BaseModel

detailed: str

A granular category conveying the transaction’s intent. This field can also be used as a unique identifier for the category.

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

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

primary: str

A high level category that communicates the broad category of the transaction.