plaid2.model.credit_document_metadata module
- class plaid2.model.credit_document_metadata.CreditDocumentMetadata(*, name: str, document_type: Optional[str] = None, status: Optional[str] = None, download_url: Optional[str] = None)[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
- document_type: Optional[str]
The type of document.
PAYSTUB: A paystub.
BANK_STATEMENT: A bank statement.
US_TAX_W2: A W-2 wage and tax statement provided by a US employer reflecting wages earned by the employee.
US_MILITARY_ERAS: An electronic Retirement Account Statement (eRAS) issued by the US military.
US_MILITARY_LES: A Leave and Earnings Statement (LES) issued by the US military.
US_MILITARY_CLES: A Civilian Leave and Earnings Statment (CLES) issued by the US military.
GIG: Used to indicate that the income is related to gig work. Does not necessarily correspond to a specific document type.
NONE: Used to indicate that there is no underlying document for the data.
UNKNOWN: Document type could not be determined.
- download_url: Optional[str]
Signed URL to retrieve the underlying file.
- json(**kwargs: Any) str [source]
Return a json string representation of the object. Takes same keyword arguments as pydantic.BaseModel.json
- name_: str
The name of the document.
- classmethod parse_obj(data: Any) CreditDocumentMetadata [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) CreditDocumentMetadata [source]
Parse a json string into the object. Takes same keyword arguments as pydantic.BaseModel.parse_raw
- status: Optional[str]
The processing status of the document.