类 Vendor.Builder
java.lang.Object
com.lark.oapi.service.mdm.v1.model.Vendor.Builder
- 封闭类:
Vendor
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明交易方注册城市交易方注册国家详细地址adPostcode(String adPostcode) 交易方注册地址邮编adProvince(String adProvince) 交易方注册省份附件列表associatedWithLegalEntity(Boolean associatedWithLegalEntity) 是否关联法人主体build()certificationId(String certificationId) 证件IDcertificationType(VendorCertificationTypeEnum certificationType) 证件类型certificationType(String certificationType) 证件类型contactMobilePhone(String contactMobilePhone) 联系移动电话contactPerson(String contactPerson) 联系人contactTelephone(String contactTelephone) 联系电话downPaymentTerm(String downPaymentTerm) 预付条件邮箱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)相关联(目前不支持附件类型的扩展信息)传真总账科目交易方id,创建交易方时不填,修改交易方时必填是否标记风险legalPerson(String legalPerson) 法人名称linkedCustomer(String linkedCustomer) 关联客户linkedEmployee(String linkedEmployee) 关联员工ownerDepts(String[] ownerDepts) 所属部门paymentTerm(String paymentTerm) 付款条件交易方简称status(VendorStatusEnum status) 状态状态交易方编码vendorAccounts(VendorAccount[] vendorAccounts) 银行账户列表vendorAddresses(VendorAddress[] vendorAddresses) 地址列表vendorCategory(VendorVendorCategoryEnum vendorCategory) 交易方类别vendorCategory(String vendorCategory) 交易方类别vendorCompanyViews(VendorCompanyView[] vendorCompanyViews) 公司视图列表vendorContacts(VendorContact[] vendorContacts) 联系人列表vendorNature(VendorVendorNatureEnum vendorNature) 交易方性质vendorNature(String vendorNature) 交易方性质vendorSiteCode(String vendorSiteCode) 交易方site codevendorText(String vendorText) 交易方名称vendorType(VendorVendorTypeEnum vendorType) 交易方类型(多个枚举时,采用逗号分隔)vendorType(String vendorType) 交易方类型(多个枚举时,采用逗号分隔)
-
构造器详细资料
-
Builder
public Builder()
-
-
方法详细资料
-
id
交易方id,创建交易方时不填,修改交易方时必填示例值:7023646046559404327
- 参数:
id-- 返回:
-
adCountry
交易方注册国家示例值:CN
- 参数:
adCountry-- 返回:
-
adProvince
交易方注册省份示例值:MDPS00000001
- 参数:
adProvince-- 返回:
-
adCity
交易方注册城市示例值:MDCY00001226
- 参数:
adCity-- 返回:
-
address
详细地址示例值:上海市浦东新区世纪大道1000号
- 参数:
address-- 返回:
-
adPostcode
交易方注册地址邮编示例值:100100
- 参数:
adPostcode-- 返回:
-
legalPerson
法人名称示例值:张三
- 参数:
legalPerson-- 返回:
-
certificationType
证件类型示例值:0
- 参数:
certificationType-- 返回:
-
certificationType
证件类型示例值:0
- 参数:
certificationType-VendorCertificationTypeEnum- 返回:
-
certificationId
证件ID示例值:913100xxxxx555781R
- 参数:
certificationId-- 返回:
-
contactPerson
联系人示例值:李四
- 参数:
contactPerson-- 返回:
-
contactTelephone
联系电话示例值:021-87853200
- 参数:
contactTelephone-- 返回:
-
contactMobilePhone
联系移动电话示例值:+8617621685955
- 参数:
contactMobilePhone-- 返回:
-
fax
传真示例值:021-87853200
- 参数:
fax-- 返回:
-
eMail
邮箱示例值:shunxing@xxx.com
- 参数:
eMail-- 返回:
-
status
状态示例值:1
- 参数:
status-- 返回:
-
status
状态示例值:1
- 参数:
status-VendorStatusEnum- 返回:
-
vendor
交易方编码示例值:V00108006
- 参数:
vendor-- 返回:
-
vendorText
交易方名称示例值:张三样例
- 参数:
vendorText-- 返回:
-
shortText
交易方简称示例值:王五
- 参数:
shortText-- 返回:
-
vendorType
交易方类型(多个枚举时,采用逗号分隔)示例值:1
- 参数:
vendorType-- 返回:
-
vendorType
交易方类型(多个枚举时,采用逗号分隔)示例值:1
- 参数:
vendorType-VendorVendorTypeEnum- 返回:
-
vendorCategory
交易方类别示例值:11
- 参数:
vendorCategory-- 返回:
-
vendorCategory
交易方类别示例值:11
- 参数:
vendorCategory-VendorVendorCategoryEnum- 返回:
-
vendorNature
交易方性质示例值:0
- 参数:
vendorNature-- 返回:
-
vendorNature
交易方性质示例值:0
- 参数:
vendorNature-VendorVendorNatureEnum- 返回:
-
linkedEmployee
关联员工示例值:6959513973725069601
- 参数:
linkedEmployee-- 返回:
-
linkedCustomer
关联客户示例值:客户
- 参数:
linkedCustomer-- 返回:
-
associatedWithLegalEntity
是否关联法人主体示例值:true
- 参数:
associatedWithLegalEntity-- 返回:
-
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
银行账户列表示例值:
- 参数:
vendorAccounts-- 返回:
-
vendorAddresses
地址列表示例值:
- 参数:
vendorAddresses-- 返回:
-
vendorCompanyViews
公司视图列表示例值:
- 参数:
vendorCompanyViews-- 返回:
-
vendorContacts
联系人列表示例值:
- 参数:
vendorContacts-- 返回:
-
glAccount
总账科目示例值:22020101
- 参数:
glAccount-- 返回:
-
downPaymentTerm
预付条件示例值:PT09
- 参数:
downPaymentTerm-- 返回:
-
paymentTerm
付款条件示例值:PT08
- 参数:
paymentTerm-- 返回:
-
vendorSiteCode
交易方site code示例值:999999
- 参数:
vendorSiteCode-- 返回:
-
appendix
附件列表示例值:
- 参数:
appendix-- 返回:
-
isRisked
是否标记风险示例值:false
- 参数:
isRisked-- 返回:
-
ownerDepts
所属部门示例值:["7098978978848833836"]
- 参数:
ownerDepts-- 返回:
-
build
-