plaid2.model.entity_document module

class plaid2.model.entity_document.EntityDocument(*, number: str, type: str)[source]

Bases: BaseModel

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

number: str

The numeric or alphanumeric identifier associated with this document.

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

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

type: str

The kind of official document represented by this object.

bik - Russian bank code

business_number - A number that uniquely identifies the business within a category of businesses

imo - Number assigned to the entity by the International Maritime Organization

other - Any document not covered by other categories

swift - Number identifying a bank and branch.

tax_id - Identification issued for the purpose of collecting taxes