类 Vendor.Builder

java.lang.Object
com.lark.oapi.service.mdm.v1.model.Vendor.Builder
封闭类:
Vendor

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

    • Builder

      public Builder()
  • 方法详细资料

    • id

      public Vendor.Builder id(String id)
      交易方id,创建交易方时不填,修改交易方时必填

      示例值:7023646046559404327

      参数:
      id -
      返回:
    • adCountry

      public Vendor.Builder adCountry(String adCountry)
      交易方注册国家

      示例值:CN

      参数:
      adCountry -
      返回:
    • adProvince

      public Vendor.Builder adProvince(String adProvince)
      交易方注册省份

      示例值:MDPS00000001

      参数:
      adProvince -
      返回:
    • adCity

      public Vendor.Builder adCity(String adCity)
      交易方注册城市

      示例值:MDCY00001226

      参数:
      adCity -
      返回:
    • address

      public Vendor.Builder address(String address)
      详细地址

      示例值:上海市浦东新区世纪大道1000号

      参数:
      address -
      返回:
    • adPostcode

      public Vendor.Builder adPostcode(String adPostcode)
      交易方注册地址邮编

      示例值:100100

      参数:
      adPostcode -
      返回:
    • legalPerson

      public Vendor.Builder legalPerson(String legalPerson)
      法人名称

      示例值:张三

      参数:
      legalPerson -
      返回:
    • certificationType

      public Vendor.Builder certificationType(String certificationType)
      证件类型

      示例值:0

      参数:
      certificationType -
      返回:
    • certificationType

      public Vendor.Builder certificationType(VendorCertificationTypeEnum certificationType)
      证件类型

      示例值:0

      参数:
      certificationType - VendorCertificationTypeEnum
      返回:
    • certificationId

      public Vendor.Builder certificationId(String certificationId)
      证件ID

      示例值:913100xxxxx555781R

      参数:
      certificationId -
      返回:
    • contactPerson

      public Vendor.Builder contactPerson(String contactPerson)
      联系人

      示例值:李四

      参数:
      contactPerson -
      返回:
    • contactTelephone

      public Vendor.Builder contactTelephone(String contactTelephone)
      联系电话

      示例值:021-87853200

      参数:
      contactTelephone -
      返回:
    • contactMobilePhone

      public Vendor.Builder contactMobilePhone(String contactMobilePhone)
      联系移动电话

      示例值:+8617621685955

      参数:
      contactMobilePhone -
      返回:
    • fax

      public Vendor.Builder fax(String fax)
      传真

      示例值:021-87853200

      参数:
      fax -
      返回:
    • eMail

      public Vendor.Builder eMail(String eMail)
      邮箱

      示例值:shunxing@xxx.com

      参数:
      eMail -
      返回:
    • status

      public Vendor.Builder status(Integer status)
      状态

      示例值:1

      参数:
      status -
      返回:
    • status

      public Vendor.Builder status(VendorStatusEnum status)
      状态

      示例值:1

      参数:
      status - VendorStatusEnum
      返回:
    • vendor

      public Vendor.Builder vendor(String vendor)
      交易方编码

      示例值:V00108006

      参数:
      vendor -
      返回:
    • vendorText

      public Vendor.Builder vendorText(String vendorText)
      交易方名称

      示例值:张三样例

      参数:
      vendorText -
      返回:
    • shortText

      public Vendor.Builder shortText(String shortText)
      交易方简称

      示例值:王五

      参数:
      shortText -
      返回:
    • vendorType

      public Vendor.Builder vendorType(String vendorType)
      交易方类型(多个枚举时,采用逗号分隔)

      示例值:1

      参数:
      vendorType -
      返回:
    • vendorType

      public Vendor.Builder vendorType(VendorVendorTypeEnum vendorType)
      交易方类型(多个枚举时,采用逗号分隔)

      示例值:1

      参数:
      vendorType - VendorVendorTypeEnum
      返回:
    • vendorCategory

      public Vendor.Builder vendorCategory(String vendorCategory)
      交易方类别

      示例值:11

      参数:
      vendorCategory -
      返回:
    • vendorCategory

      public Vendor.Builder vendorCategory(VendorVendorCategoryEnum vendorCategory)
      交易方类别

      示例值:11

      参数:
      vendorCategory - VendorVendorCategoryEnum
      返回:
    • vendorNature

      public Vendor.Builder vendorNature(String vendorNature)
      交易方性质

      示例值:0

      参数:
      vendorNature -
      返回:
    • vendorNature

      public Vendor.Builder vendorNature(VendorVendorNatureEnum vendorNature)
      交易方性质

      示例值:0

      参数:
      vendorNature - VendorVendorNatureEnum
      返回:
    • linkedEmployee

      public Vendor.Builder linkedEmployee(String linkedEmployee)
      关联员工

      示例值:6959513973725069601

      参数:
      linkedEmployee -
      返回:
    • linkedCustomer

      public Vendor.Builder linkedCustomer(String linkedCustomer)
      关联客户

      示例值:客户

      参数:
      linkedCustomer -
      返回:
    • associatedWithLegalEntity

      public Vendor.Builder associatedWithLegalEntity(Boolean associatedWithLegalEntity)
      是否关联法人主体

      示例值:true

      参数:
      associatedWithLegalEntity -
      返回:
    • extendInfo

      public Vendor.Builder extendInfo(ExtendField[] extendInfo)
      扩展字段相关信息列表,每个扩展字段需要填入【field_code】、【field_type】、【field_value】三个信息,其中【field_code】和【field_type】需要与用户【字段配置】(获取配置字段的开放平台接口:https://open.feishu.cn/open-apis/mdm/v1/config/config_list)中扩展字段(sys = 1)相关联(目前不支持附件类型的扩展信息)

      示例值:

      参数:
      extendInfo -
      返回:
    • vendorAccounts

      public Vendor.Builder vendorAccounts(VendorAccount[] vendorAccounts)
      银行账户列表

      示例值:

      参数:
      vendorAccounts -
      返回:
    • vendorAddresses

      public Vendor.Builder vendorAddresses(VendorAddress[] vendorAddresses)
      地址列表

      示例值:

      参数:
      vendorAddresses -
      返回:
    • vendorCompanyViews

      public Vendor.Builder vendorCompanyViews(VendorCompanyView[] vendorCompanyViews)
      公司视图列表

      示例值:

      参数:
      vendorCompanyViews -
      返回:
    • vendorContacts

      public Vendor.Builder vendorContacts(VendorContact[] vendorContacts)
      联系人列表

      示例值:

      参数:
      vendorContacts -
      返回:
    • glAccount

      public Vendor.Builder glAccount(String glAccount)
      总账科目

      示例值:22020101

      参数:
      glAccount -
      返回:
    • downPaymentTerm

      public Vendor.Builder downPaymentTerm(String downPaymentTerm)
      预付条件

      示例值:PT09

      参数:
      downPaymentTerm -
      返回:
    • paymentTerm

      public Vendor.Builder paymentTerm(String paymentTerm)
      付款条件

      示例值:PT08

      参数:
      paymentTerm -
      返回:
    • vendorSiteCode

      public Vendor.Builder vendorSiteCode(String vendorSiteCode)
      交易方site code

      示例值:999999

      参数:
      vendorSiteCode -
      返回:
    • appendix

      public Vendor.Builder appendix(Appendix[] appendix)
      附件列表

      示例值:

      参数:
      appendix -
      返回:
    • isRisked

      public Vendor.Builder isRisked(Boolean isRisked)
      是否标记风险

      示例值:false

      参数:
      isRisked -
      返回:
    • ownerDepts

      public Vendor.Builder ownerDepts(String[] ownerDepts)
      所属部门

      示例值:["7098978978848833836"]

      参数:
      ownerDepts -
      返回:
    • build

      public Vendor build()