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

com.antgroup.antchain.openapi.ak_195dff03d395462ea294bafdba69df3f.models.UploadAntchainAtoSignTemplateRequest Maven / Gradle / Ivy

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

import com.aliyun.tea.*;

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

    @NameInMap("product_instance_id")
    public String productInstanceId;

    // 订单所属商户的统一社会信用代码
    @NameInMap("merchant_id")
    @Validation(required = true)
    public String merchantId;

    // 合同类型
    @NameInMap("contract_type")
    @Validation(required = true)
    public String contractType;

    // 模板类型
    @NameInMap("agreement_type")
    @Validation(required = true)
    public String agreementType;

    // 签署区坐标配置
    @NameInMap("pos_conf")
    @Validation(required = true)
    public String posConf;

    // 模板参数
    @NameInMap("template_args")
    public String templateArgs;

    // 上传的pdf文件,需要以.pdf后缀结尾
    /**
     * 

待上传文件

*/ @NameInMap("fileObject") public java.io.InputStream fileObject; /** *

待上传文件名

*/ @NameInMap("fileObjectName") public String fileObjectName; @NameInMap("file_id") @Validation(required = true) public String fileId; public static UploadAntchainAtoSignTemplateRequest build(java.util.Map map) throws Exception { UploadAntchainAtoSignTemplateRequest self = new UploadAntchainAtoSignTemplateRequest(); return TeaModel.build(map, self); } public UploadAntchainAtoSignTemplateRequest setAuthToken(String authToken) { this.authToken = authToken; return this; } public String getAuthToken() { return this.authToken; } public UploadAntchainAtoSignTemplateRequest setProductInstanceId(String productInstanceId) { this.productInstanceId = productInstanceId; return this; } public String getProductInstanceId() { return this.productInstanceId; } public UploadAntchainAtoSignTemplateRequest setMerchantId(String merchantId) { this.merchantId = merchantId; return this; } public String getMerchantId() { return this.merchantId; } public UploadAntchainAtoSignTemplateRequest setContractType(String contractType) { this.contractType = contractType; return this; } public String getContractType() { return this.contractType; } public UploadAntchainAtoSignTemplateRequest setAgreementType(String agreementType) { this.agreementType = agreementType; return this; } public String getAgreementType() { return this.agreementType; } public UploadAntchainAtoSignTemplateRequest setPosConf(String posConf) { this.posConf = posConf; return this; } public String getPosConf() { return this.posConf; } public UploadAntchainAtoSignTemplateRequest setTemplateArgs(String templateArgs) { this.templateArgs = templateArgs; return this; } public String getTemplateArgs() { return this.templateArgs; } public UploadAntchainAtoSignTemplateRequest setFileObject(java.io.InputStream fileObject) { this.fileObject = fileObject; return this; } public java.io.InputStream getFileObject() { return this.fileObject; } public UploadAntchainAtoSignTemplateRequest setFileObjectName(String fileObjectName) { this.fileObjectName = fileObjectName; return this; } public String getFileObjectName() { return this.fileObjectName; } public UploadAntchainAtoSignTemplateRequest setFileId(String fileId) { this.fileId = fileId; return this; } public String getFileId() { return this.fileId; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy