类 Dependent.Builder

java.lang.Object
com.lark.oapi.service.corehr.v2.model.Dependent.Builder
封闭类:
Dependent

public static class Dependent.Builder extends Object
  • 构造器详细资料

    • Builder

      public Builder()
  • 方法详细资料

    • name

      public Dependent.Builder name(PersonName name)
      姓名

      示例值:

      参数:
      name -
      返回:
    • relationship

      public Dependent.Builder relationship(Enum relationship)
      关系

      示例值:

      参数:
      relationship -
      返回:
    • gender

      public Dependent.Builder gender(Enum gender)
      性别

      示例值:

      参数:
      gender -
      返回:
    • dateOfBirth

      public Dependent.Builder dateOfBirth(String dateOfBirth)
      生日

      示例值:2020-01-01

      参数:
      dateOfBirth -
      返回:
    • nationalityIdV2

      public Dependent.Builder nationalityIdV2(String nationalityIdV2)
      国籍 ID,可通过【查询国籍信息】接口查询

      示例值:6862995745046267401

      参数:
      nationalityIdV2 -
      返回:
    • nationalIdList

      public Dependent.Builder nationalIdList(NationalId[] nationalIdList)
      证件号码

      示例值:

      参数:
      nationalIdList -
      返回:
    • spousesWorkingStatus

      public Dependent.Builder spousesWorkingStatus(Enum spousesWorkingStatus)
      配偶工作状态

      示例值:

      参数:
      spousesWorkingStatus -
      返回:
    • isThisPersonCoveredByHealthInsurance

      public Dependent.Builder isThisPersonCoveredByHealthInsurance(Boolean isThisPersonCoveredByHealthInsurance)
      包含家属医疗保险

      示例值:true

      参数:
      isThisPersonCoveredByHealthInsurance -
      返回:
    • isThisPersonAllowedForTaxDeduction

      public Dependent.Builder isThisPersonAllowedForTaxDeduction(Boolean isThisPersonAllowedForTaxDeduction)
      允许家属抵扣税款

      示例值:false

      参数:
      isThisPersonAllowedForTaxDeduction -
      返回:
    • customFields

      public Dependent.Builder customFields(CustomFieldData[] customFields)
      自定义字段

      示例值:

      参数:
      customFields -
      返回:
    • dependentName

      public Dependent.Builder dependentName(String dependentName)
      家庭成员姓名

      示例值:张三

      参数:
      dependentName -
      返回:
    • employer

      public Dependent.Builder employer(String employer)
      工作单位

      示例值:海淀区交警大队

      参数:
      employer -
      返回:
    • job

      public Dependent.Builder job(String job)
      岗位

      示例值:保安

      参数:
      job -
      返回:
    • phone

      public Dependent.Builder phone(Phone phone)
      电话

      示例值:

      参数:
      phone -
      返回:
    • address

      public Dependent.Builder address(Address address)
      联系地址

      示例值:

      参数:
      address -
      返回:
    • birthCertificateOfChild

      public Dependent.Builder birthCertificateOfChild(File[] birthCertificateOfChild)
      出生证明

      示例值:

      参数:
      birthCertificateOfChild -
      返回:
    • build

      public Dependent build()