plaid2.model.investments_default_update_webhook module

class plaid2.model.investments_default_update_webhook.InvestmentsDefaultUpdateWebhook(*, new_investments_transactions: float, canceled_investments_transactions: float, webhook_type: str, webhook_code: str, item_id: str, error: Optional[Error] = None)[source]

Bases: BaseModel

canceled_investments_transactions: float

The number of canceled transactions reported since the last time this webhook was fired.

dict(**kwargs: Any) Dict[str, Any][source]

Return a dict representation of the object. Takes same keyword arguments as pydantic.BaseModel.dict

error: Optional[Error]

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.

item_id: str

The item_id of the Item associated with this webhook, warning, or error

json(**kwargs: Any) str[source]

Return a json string representation of the object. Takes same keyword arguments as pydantic.BaseModel.json

new_investments_transactions: float

The number of new transactions reported since the last time this webhook was fired.

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

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

webhook_code: str

DEFAULT_UPDATE

webhook_type: str

INVESTMENTS_TRANSACTIONS