com.antgroup.antchain.openapi.twc.models.CreateContractHandsignflowRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-twc Show documentation
Show all versions of openapi-twc Show documentation
Ant Chain TWC SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.twc.models;
import com.aliyun.tea.*;
public class CreateContractHandsignflowRequest extends TeaModel {
// OAuth模式下的授权token
@NameInMap("auth_token")
public String authToken;
@NameInMap("product_instance_id")
public String productInstanceId;
// 是否自动归档,默认false。如设置为true,当所有签署人签署完毕,系统自动将流程归档,状态变为“已完成”状态,在流程状态为“已完成”前,可随时添加签署人;如设置为false,则在调用签署流程开启后,需主动调用签署流程归档接口,将流程状态变更为“已完成”,归档前可随时添加签署人;已完成的流程才可下载签署后的文件。
@NameInMap("auto_archive")
public Boolean autoArchive;
// 文件主题
@NameInMap("business_scene")
@Validation(required = true)
public String businessScene;
// 任务配置信息
@NameInMap("config_info")
public ContractSignFlowConfig configInfo;
// 文件到期前,提前多久回调提醒续签,单位为小时,时间区间:1小时——15天(360小时),默认不提醒
@NameInMap("contract_remind")
public Long contractRemind;
// 文件有效截止日期,毫秒,默认不失效
@NameInMap("contract_validity")
public Long contractValidity;
// 发起人账户id,即发起本次签署的操作人个人账号id;如不传,默认由对接平台发起
@NameInMap("initiator_account_id")
public String initiatorAccountId;
// 发起方主体id,如存在个人代机构发起签约,则需传入机构id;如不传,则默认是对接平台
@NameInMap("initiator_authorized_account_id")
public String initiatorAuthorizedAccountId;
// 签署有效截止日期,毫秒,默认不失效
@NameInMap("sign_validity")
public Long signValidity;
public static CreateContractHandsignflowRequest build(java.util.Map map) throws Exception {
CreateContractHandsignflowRequest self = new CreateContractHandsignflowRequest();
return TeaModel.build(map, self);
}
public CreateContractHandsignflowRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public CreateContractHandsignflowRequest setProductInstanceId(String productInstanceId) {
this.productInstanceId = productInstanceId;
return this;
}
public String getProductInstanceId() {
return this.productInstanceId;
}
public CreateContractHandsignflowRequest setAutoArchive(Boolean autoArchive) {
this.autoArchive = autoArchive;
return this;
}
public Boolean getAutoArchive() {
return this.autoArchive;
}
public CreateContractHandsignflowRequest setBusinessScene(String businessScene) {
this.businessScene = businessScene;
return this;
}
public String getBusinessScene() {
return this.businessScene;
}
public CreateContractHandsignflowRequest setConfigInfo(ContractSignFlowConfig configInfo) {
this.configInfo = configInfo;
return this;
}
public ContractSignFlowConfig getConfigInfo() {
return this.configInfo;
}
public CreateContractHandsignflowRequest setContractRemind(Long contractRemind) {
this.contractRemind = contractRemind;
return this;
}
public Long getContractRemind() {
return this.contractRemind;
}
public CreateContractHandsignflowRequest setContractValidity(Long contractValidity) {
this.contractValidity = contractValidity;
return this;
}
public Long getContractValidity() {
return this.contractValidity;
}
public CreateContractHandsignflowRequest setInitiatorAccountId(String initiatorAccountId) {
this.initiatorAccountId = initiatorAccountId;
return this;
}
public String getInitiatorAccountId() {
return this.initiatorAccountId;
}
public CreateContractHandsignflowRequest setInitiatorAuthorizedAccountId(String initiatorAuthorizedAccountId) {
this.initiatorAuthorizedAccountId = initiatorAuthorizedAccountId;
return this;
}
public String getInitiatorAuthorizedAccountId() {
return this.initiatorAuthorizedAccountId;
}
public CreateContractHandsignflowRequest setSignValidity(Long signValidity) {
this.signValidity = signValidity;
return this;
}
public Long getSignValidity() {
return this.signValidity;
}
}