plaid2.model.employee module

class plaid2.model.employee.Employee(*, marital_status: Optional[str] = None, name: Optional[str] = None, taxpayer_id: Optional[TaxpayerId] = None, address: PaystubAddress)[source]

Bases: BaseModel

class Config[source]

Bases: object

alias_generator()
allow_population_by_field_name = True
address: PaystubAddress

Address on the paystub

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

marital_status: Optional[str]

Marital status of the employee - either single or married.

name_: Optional[str]

The name of the employee.

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

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

taxpayer_id: Optional[TaxpayerId]

Taxpayer ID of the individual receiving the paystub.