plaid2.model.credit_bank_income_cause module

class plaid2.model.credit_bank_income_cause.CreditBankIncomeCause(*, error_type: Optional[str] = None, error_message: Optional[str] = None, item_id: Optional[str] = None, error_code: Optional[str] = None, display_message: 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

display_message: Optional[str]

A user-friendly representation of the error code. null if the error is not related to user action. This may change over time and is not safe for programmatic use.

error_code: Optional[str]

We use standard HTTP response codes for success and failure notifications, and our errors are further classified by error_type. In general, 200 HTTP codes correspond to success, 40X codes are for developer- or user-related failures, and 50X codes are for Plaid-related issues. Error fields will be null if no error has occurred.

error_message: Optional[str]

A developer-friendly representation of the error code. This may change over time and is not safe for programmatic use.

error_type: Optional[str]

A broad categorization of the error. Safe for programmatic use.

item_id: Optional[str]

The item_id of the Item associated with this warning.

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

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