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

com.antgroup.antchain.openapi.ato.models.UploadSignTemplateRequest Maven / Gradle / Ivy

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

import com.aliyun.tea.*;

public class UploadSignTemplateRequest 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 UploadSignTemplateRequest build(java.util.Map map) throws Exception { UploadSignTemplateRequest self = new UploadSignTemplateRequest(); return TeaModel.build(map, self); } public UploadSignTemplateRequest setAuthToken(String authToken) { this.authToken = authToken; return this; } public String getAuthToken() { return this.authToken; } public UploadSignTemplateRequest setProductInstanceId(String productInstanceId) { this.productInstanceId = productInstanceId; return this; } public String getProductInstanceId() { return this.productInstanceId; } public UploadSignTemplateRequest setMerchantId(String merchantId) { this.merchantId = merchantId; return this; } public String getMerchantId() { return this.merchantId; } public UploadSignTemplateRequest setContractType(String contractType) { this.contractType = contractType; return this; } public String getContractType() { return this.contractType; } public UploadSignTemplateRequest setAgreementType(String agreementType) { this.agreementType = agreementType; return this; } public String getAgreementType() { return this.agreementType; } public UploadSignTemplateRequest setPosConf(String posConf) { this.posConf = posConf; return this; } public String getPosConf() { return this.posConf; } public UploadSignTemplateRequest setTemplateArgs(String templateArgs) { this.templateArgs = templateArgs; return this; } public String getTemplateArgs() { return this.templateArgs; } public UploadSignTemplateRequest setFileObject(java.io.InputStream fileObject) { this.fileObject = fileObject; return this; } public java.io.InputStream getFileObject() { return this.fileObject; } public UploadSignTemplateRequest setFileObjectName(String fileObjectName) { this.fileObjectName = fileObjectName; return this; } public String getFileObjectName() { return this.fileObjectName; } public UploadSignTemplateRequest setFileId(String fileId) { this.fileId = fileId; return this; } public String getFileId() { return this.fileId; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy