类 Dependent.Builder
java.lang.Object
com.lark.oapi.service.corehr.v1.model.Dependent.Builder
- 封闭类:
Dependent
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明联系地址birthCertificateOfChild(File[] birthCertificateOfChild) 出生证明build()customFields(ObjectFieldData[] customFields) 自定义字段dateOfBirth(String dateOfBirth) 生日dependentName(String dependentName) 家庭成员姓名工作单位亲属性别,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)性别(gender)枚举定义部分获得isThisPersonAllowedForTaxDeduction(Boolean isThisPersonAllowedForTaxDeduction) 允许家属抵扣税款isThisPersonCoveredByHealthInsurance(Boolean isThisPersonCoveredByHealthInsurance) 包含家属医疗保险岗位name(PersonName name) 亲属姓名nationalIdList(NationalId[] nationalIdList) 证件号码nationalityId(String nationalityId) 国籍nationalityIdV2(String nationalityIdV2) 国籍 ID,可通过【查询国籍信息】接口查询电话relationship(Enum relationship) 亲属关系,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)亲属关系(relationship)枚举定义获得spousesWorkingStatus(Enum spousesWorkingStatus) 配偶工作状态,比如working(在岗)、not_working(不在岗)
-
构造器详细资料
-
Builder
public Builder()
-
-
方法详细资料
-
name
亲属姓名示例值:
- 参数:
name-- 返回:
-
relationship
亲属关系,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)亲属关系(relationship)枚举定义获得示例值:
- 参数:
relationship-- 返回:
-
gender
亲属性别,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)性别(gender)枚举定义部分获得示例值:
- 参数:
gender-- 返回:
-
dateOfBirth
生日示例值:2020-01-01
- 参数:
dateOfBirth-- 返回:
-
nationalityId
国籍示例值:123456
- 参数:
nationalityId-- 返回:
-
nationalityIdV2
国籍 ID,可通过【查询国籍信息】接口查询示例值:7075702734054164012
- 参数:
nationalityIdV2-- 返回:
-
nationalIdList
证件号码示例值:
- 参数:
nationalIdList-- 返回:
-
spousesWorkingStatus
配偶工作状态,比如working(在岗)、not_working(不在岗)示例值:
- 参数:
spousesWorkingStatus-- 返回:
-
isThisPersonCoveredByHealthInsurance
public Dependent.Builder isThisPersonCoveredByHealthInsurance(Boolean isThisPersonCoveredByHealthInsurance) 包含家属医疗保险示例值:true
- 参数:
isThisPersonCoveredByHealthInsurance-- 返回:
-
isThisPersonAllowedForTaxDeduction
public Dependent.Builder isThisPersonAllowedForTaxDeduction(Boolean isThisPersonAllowedForTaxDeduction) 允许家属抵扣税款示例值:false
- 参数:
isThisPersonAllowedForTaxDeduction-- 返回:
-
customFields
自定义字段示例值:
- 参数:
customFields-- 返回:
-
dependentName
家庭成员姓名示例值:张三
- 参数:
dependentName-- 返回:
-
employer
工作单位示例值:海淀区交警大队
- 参数:
employer-- 返回:
-
job
岗位示例值:保安
- 参数:
job-- 返回:
-
phone
电话示例值:
- 参数:
phone-- 返回:
-
address
联系地址示例值:
- 参数:
address-- 返回:
-
birthCertificateOfChild
出生证明示例值:
- 参数:
birthCertificateOfChild-- 返回:
-
build
-