类 Dependent.Builder
java.lang.Object
com.lark.oapi.service.corehr.v1.model.Dependent.Builder
- 封闭类:
Dependent
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明build()customFields(ObjectFieldData[] customFields) 自定义字段dateOfBirth(String dateOfBirth) 生日亲属性别,枚举值可通过文档[【飞书人事枚举常量】](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) 国籍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-- 返回:
-
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-- 返回:
-
build
-