All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.antgroup.antchain.openapi.twc.models.CreateContractTextRequest Maven / Gradle / Ivy

There is a newer version: 1.12.23
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.twc.models;

import com.aliyun.tea.*;

public class CreateContractTextRequest extends TeaModel {
    // OAuth模式下的授权token
    @NameInMap("auth_token")
    public String authToken;

    @NameInMap("product_instance_id")
    public String productInstanceId;

    // 签署结束信息,phase为FINISH时必选
    @NameInMap("finish_info")
    public ContractNotaryFinishInfo finishInfo;

    // 签署流程ID
    @NameInMap("flow_id")
    @Validation(required = true)
    public String flowId;

    // 签署发起信息,phase为INIT时必选
    @NameInMap("init_info")
    public ContractNotaryInitInfo initInfo;

    // 存证阶段,分为INIT(发起),SIGN(签署),FINISH(结束)
    @NameInMap("phase")
    @Validation(required = true)
    public String phase;

    // 签署过程信息,phase为SIGN时必选
    @NameInMap("sign_info")
    public ContractNotarySignInfo signInfo;

    // 存证事务ID
    @NameInMap("transaction_id")
    @Validation(required = true)
    public String transactionId;

    // 签署文件存档阶段存证核验信息
    @NameInMap("document_info")
    public ContractNotaryDocumentInfo documentInfo;

    public static CreateContractTextRequest build(java.util.Map map) throws Exception {
        CreateContractTextRequest self = new CreateContractTextRequest();
        return TeaModel.build(map, self);
    }

    public CreateContractTextRequest setAuthToken(String authToken) {
        this.authToken = authToken;
        return this;
    }
    public String getAuthToken() {
        return this.authToken;
    }

    public CreateContractTextRequest setProductInstanceId(String productInstanceId) {
        this.productInstanceId = productInstanceId;
        return this;
    }
    public String getProductInstanceId() {
        return this.productInstanceId;
    }

    public CreateContractTextRequest setFinishInfo(ContractNotaryFinishInfo finishInfo) {
        this.finishInfo = finishInfo;
        return this;
    }
    public ContractNotaryFinishInfo getFinishInfo() {
        return this.finishInfo;
    }

    public CreateContractTextRequest setFlowId(String flowId) {
        this.flowId = flowId;
        return this;
    }
    public String getFlowId() {
        return this.flowId;
    }

    public CreateContractTextRequest setInitInfo(ContractNotaryInitInfo initInfo) {
        this.initInfo = initInfo;
        return this;
    }
    public ContractNotaryInitInfo getInitInfo() {
        return this.initInfo;
    }

    public CreateContractTextRequest setPhase(String phase) {
        this.phase = phase;
        return this;
    }
    public String getPhase() {
        return this.phase;
    }

    public CreateContractTextRequest setSignInfo(ContractNotarySignInfo signInfo) {
        this.signInfo = signInfo;
        return this;
    }
    public ContractNotarySignInfo getSignInfo() {
        return this.signInfo;
    }

    public CreateContractTextRequest setTransactionId(String transactionId) {
        this.transactionId = transactionId;
        return this;
    }
    public String getTransactionId() {
        return this.transactionId;
    }

    public CreateContractTextRequest setDocumentInfo(ContractNotaryDocumentInfo documentInfo) {
        this.documentInfo = documentInfo;
        return this;
    }
    public ContractNotaryDocumentInfo getDocumentInfo() {
        return this.documentInfo;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy