com.antgroup.antchain.openapi.twc.Client 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;
import com.aliyun.tea.*;
import com.antgroup.antchain.openapi.twc.models.*;
import com.antgroup.antchain.openapi.antchain.util.*;
import com.aliyun.teautil.*;
import com.aliyun.teautil.models.*;
import com.aliyun.common.*;
public class Client {
public String _endpoint;
public String _regionId;
public String _accessKeyId;
public String _accessKeySecret;
public String _protocol;
public String _userAgent;
public Number _readTimeout;
public Number _connectTimeout;
public String _httpProxy;
public String _httpsProxy;
public String _socks5Proxy;
public String _socks5NetWork;
public String _noProxy;
public Number _maxIdleConns;
public String _securityToken;
public Number _maxIdleTimeMillis;
public Number _keepAliveDurationMillis;
public Number _maxRequests;
public Number _maxRequestsPerHost;
/**
* Init client with Config
* @param config config contains the necessary information to create a client
*/
public Client(Config config) throws Exception {
if (com.aliyun.teautil.Common.isUnset(TeaModel.buildMap(config))) {
throw new TeaException(TeaConverter.buildMap(
new TeaPair("code", "ParameterMissing"),
new TeaPair("message", "'config' can not be unset")
));
}
this._accessKeyId = config.accessKeyId;
this._accessKeySecret = config.accessKeySecret;
this._securityToken = config.securityToken;
this._endpoint = config.endpoint;
this._protocol = config.protocol;
this._userAgent = config.userAgent;
this._readTimeout = com.aliyun.teautil.Common.defaultNumber(config.readTimeout, 20000);
this._connectTimeout = com.aliyun.teautil.Common.defaultNumber(config.connectTimeout, 20000);
this._httpProxy = config.httpProxy;
this._httpsProxy = config.httpsProxy;
this._noProxy = config.noProxy;
this._socks5Proxy = config.socks5Proxy;
this._socks5NetWork = config.socks5NetWork;
this._maxIdleConns = com.aliyun.teautil.Common.defaultNumber(config.maxIdleConns, 60000);
this._maxIdleTimeMillis = com.aliyun.teautil.Common.defaultNumber(config.maxIdleTimeMillis, 5);
this._keepAliveDurationMillis = com.aliyun.teautil.Common.defaultNumber(config.keepAliveDurationMillis, 5000);
this._maxRequests = com.aliyun.teautil.Common.defaultNumber(config.maxRequests, 100);
this._maxRequestsPerHost = com.aliyun.teautil.Common.defaultNumber(config.maxRequestsPerHost, 100);
}
public java.util.Map doRequest(String version, String action, String protocol, String method, String pathname, java.util.Map request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
java.util.Map runtime_ = TeaConverter.buildMap(
new TeaPair("timeouted", "retry"),
new TeaPair("readTimeout", com.aliyun.teautil.Common.defaultNumber(runtime.readTimeout, _readTimeout)),
new TeaPair("connectTimeout", com.aliyun.teautil.Common.defaultNumber(runtime.connectTimeout, _connectTimeout)),
new TeaPair("httpProxy", com.aliyun.teautil.Common.defaultString(runtime.httpProxy, _httpProxy)),
new TeaPair("httpsProxy", com.aliyun.teautil.Common.defaultString(runtime.httpsProxy, _httpsProxy)),
new TeaPair("noProxy", com.aliyun.teautil.Common.defaultString(runtime.noProxy, _noProxy)),
new TeaPair("maxIdleConns", com.aliyun.teautil.Common.defaultNumber(runtime.maxIdleConns, _maxIdleConns)),
new TeaPair("maxIdleTimeMillis", _maxIdleTimeMillis),
new TeaPair("keepAliveDuration", _keepAliveDurationMillis),
new TeaPair("maxRequests", _maxRequests),
new TeaPair("maxRequestsPerHost", _maxRequestsPerHost),
new TeaPair("retry", TeaConverter.buildMap(
new TeaPair("retryable", runtime.autoretry),
new TeaPair("maxAttempts", com.aliyun.teautil.Common.defaultNumber(runtime.maxAttempts, 3))
)),
new TeaPair("backoff", TeaConverter.buildMap(
new TeaPair("policy", com.aliyun.teautil.Common.defaultString(runtime.backoffPolicy, "no")),
new TeaPair("period", com.aliyun.teautil.Common.defaultNumber(runtime.backoffPeriod, 1))
)),
new TeaPair("ignoreSSL", runtime.ignoreSSL)
);
TeaRequest _lastRequest = null;
Exception _lastException = null;
long _now = System.currentTimeMillis();
int _retryTimes = 0;
while (Tea.allowRetry((java.util.Map) runtime_.get("retry"), _retryTimes, _now)) {
if (_retryTimes > 0) {
int backoffTime = Tea.getBackoffTime(runtime_.get("backoff"), _retryTimes);
if (backoffTime > 0) {
Tea.sleep(backoffTime);
}
}
_retryTimes = _retryTimes + 1;
try {
TeaRequest request_ = new TeaRequest();
request_.protocol = com.aliyun.teautil.Common.defaultString(_protocol, protocol);
request_.method = method;
request_.pathname = pathname;
request_.query = TeaConverter.buildMap(
new TeaPair("method", action),
new TeaPair("version", version),
new TeaPair("sign_type", "HmacSHA1"),
new TeaPair("req_time", com.antgroup.antchain.openapi.antchain.util.AntchainUtils.getTimestamp()),
new TeaPair("req_msg_id", com.antgroup.antchain.openapi.antchain.util.AntchainUtils.getNonce()),
new TeaPair("access_key", _accessKeyId),
new TeaPair("base_sdk_version", "TeaSDK-2.0"),
new TeaPair("sdk_version", "1.12.8"),
new TeaPair("_prod_code", "TWC"),
new TeaPair("_prod_channel", "undefined")
);
if (!com.aliyun.teautil.Common.empty(_securityToken)) {
request_.query.put("security_token", _securityToken);
}
request_.headers = TeaConverter.merge(String.class,
TeaConverter.buildMap(
new TeaPair("host", com.aliyun.teautil.Common.defaultString(_endpoint, "twc-openapi.antchain.antgroup.com")),
new TeaPair("user-agent", com.aliyun.teautil.Common.getUserAgent(_userAgent))
),
headers
);
java.util.Map tmp = com.aliyun.teautil.Common.anyifyMapValue(com.aliyun.common.Common.query(request));
request_.body = Tea.toReadable(com.aliyun.teautil.Common.toFormString(tmp));
request_.headers.put("content-type", "application/x-www-form-urlencoded");
java.util.Map signedParam = TeaConverter.merge(String.class,
request_.query,
com.aliyun.common.Common.query(request)
);
request_.query.put("sign", com.antgroup.antchain.openapi.antchain.util.AntchainUtils.getSignature(signedParam, _accessKeySecret));
_lastRequest = request_;
TeaResponse response_ = Tea.doAction(request_, runtime_);
String raw = com.aliyun.teautil.Common.readAsString(response_.body);
Object obj = com.aliyun.teautil.Common.parseJSON(raw);
java.util.Map res = com.aliyun.teautil.Common.assertAsMap(obj);
java.util.Map resp = com.aliyun.teautil.Common.assertAsMap(res.get("response"));
if (com.antgroup.antchain.openapi.antchain.util.AntchainUtils.hasError(raw, _accessKeySecret)) {
throw new TeaException(TeaConverter.buildMap(
new TeaPair("message", resp.get("result_msg")),
new TeaPair("data", resp),
new TeaPair("code", resp.get("result_code"))
));
}
return resp;
} catch (Exception e) {
if (Tea.isRetryable(e)) {
_lastException = e;
continue;
}
throw e;
}
}
throw new TeaUnretryableException(_lastRequest, _lastException);
}
/**
* Description: 提供给第三方仲裁isv的仲裁申请状态变化回调接口
* Summary: 仲裁状态信息变更回调接口
*/
public CallbackArbitrationStatusResponse callbackArbitrationStatus(CallbackArbitrationStatusRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.callbackArbitrationStatusEx(request, headers, runtime);
}
/**
* Description: 提供给第三方仲裁isv的仲裁申请状态变化回调接口
* Summary: 仲裁状态信息变更回调接口
*/
public CallbackArbitrationStatusResponse callbackArbitrationStatusEx(CallbackArbitrationStatusRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.arbitration.status.callback", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CallbackArbitrationStatusResponse());
}
/**
* Description: 仲裁签署状态信息变更回调接口
* Summary: 仲裁签署状态信息变更回调接口
*/
public CallbackArbitrationSignstatusResponse callbackArbitrationSignstatus(CallbackArbitrationSignstatusRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.callbackArbitrationSignstatusEx(request, headers, runtime);
}
/**
* Description: 仲裁签署状态信息变更回调接口
* Summary: 仲裁签署状态信息变更回调接口
*/
public CallbackArbitrationSignstatusResponse callbackArbitrationSignstatusEx(CallbackArbitrationSignstatusRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.arbitration.signstatus.callback", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CallbackArbitrationSignstatusResponse());
}
/**
* Description: 租赁物流信息添加
* Summary: 租赁物流信息添加
*/
public AddBclLogisticinfoResponse addBclLogisticinfo(AddBclLogisticinfoRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.addBclLogisticinfoEx(request, headers, runtime);
}
/**
* Description: 租赁物流信息添加
* Summary: 租赁物流信息添加
*/
public AddBclLogisticinfoResponse addBclLogisticinfoEx(AddBclLogisticinfoRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.bcl.logisticinfo.add", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new AddBclLogisticinfoResponse());
}
/**
* Description: 租赁订单发起
* Summary: 租赁订单发起
*/
public SubmitBclOrderResponse submitBclOrder(SubmitBclOrderRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.submitBclOrderEx(request, headers, runtime);
}
/**
* Description: 租赁订单发起
* Summary: 租赁订单发起
*/
public SubmitBclOrderResponse submitBclOrderEx(SubmitBclOrderRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.bcl.order.submit", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new SubmitBclOrderResponse());
}
/**
* Description: 创建租赁订单
* Summary: 创建租赁订单
*/
public CreateBclOrderResponse createBclOrder(CreateBclOrderRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createBclOrderEx(request, headers, runtime);
}
/**
* Description: 创建租赁订单
* Summary: 创建租赁订单
*/
public CreateBclOrderResponse createBclOrderEx(CreateBclOrderRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.bcl.order.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateBclOrderResponse());
}
/**
* Description: 租赁订单查询
* Summary: 租赁订单查询
*/
public QueryBclOrderResponse queryBclOrder(QueryBclOrderRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryBclOrderEx(request, headers, runtime);
}
/**
* Description: 租赁订单查询
* Summary: 租赁订单查询
*/
public QueryBclOrderResponse queryBclOrderEx(QueryBclOrderRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.bcl.order.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryBclOrderResponse());
}
/**
* Description: 履约信息上传接口
* Summary: 履约信息上传接口
*/
public UploadBclPerformanceResponse uploadBclPerformance(UploadBclPerformanceRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.uploadBclPerformanceEx(request, headers, runtime);
}
/**
* Description: 履约信息上传接口
* Summary: 履约信息上传接口
*/
public UploadBclPerformanceResponse uploadBclPerformanceEx(UploadBclPerformanceRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.bcl.performance.upload", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new UploadBclPerformanceResponse());
}
/**
* Description: 商品导入
* Summary: 商品导入
*/
public CreateBclProductResponse createBclProduct(CreateBclProductRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createBclProductEx(request, headers, runtime);
}
/**
* Description: 商品导入
* Summary: 商品导入
*/
public CreateBclProductResponse createBclProductEx(CreateBclProductRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.bcl.product.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateBclProductResponse());
}
/**
* Description: 商品查询
* Summary: 商品查询
*/
public QueryBclProductResponse queryBclProduct(QueryBclProductRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryBclProductEx(request, headers, runtime);
}
/**
* Description: 商品查询
* Summary: 商品查询
*/
public QueryBclProductResponse queryBclProductEx(QueryBclProductRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.bcl.product.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryBclProductResponse());
}
/**
* Description: 合同资源量校验与资源扣减
* Summary: 合同资源量校验与资源扣减
*/
public VerifyBclContractmetricResponse verifyBclContractmetric(VerifyBclContractmetricRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.verifyBclContractmetricEx(request, headers, runtime);
}
/**
* Description: 合同资源量校验与资源扣减
* Summary: 合同资源量校验与资源扣减
*/
public VerifyBclContractmetricResponse verifyBclContractmetricEx(VerifyBclContractmetricRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.bcl.contractmetric.verify", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new VerifyBclContractmetricResponse());
}
/**
* Description: 获取授权访问oss链接
* Summary: 获取授权访问oss链接
*/
public GetBclUploadurlResponse getBclUploadurl(GetBclUploadurlRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.getBclUploadurlEx(request, headers, runtime);
}
/**
* Description: 获取授权访问oss链接
* Summary: 获取授权访问oss链接
*/
public GetBclUploadurlResponse getBclUploadurlEx(GetBclUploadurlRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.bcl.uploadurl.get", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new GetBclUploadurlResponse());
}
/**
* Description: 变更BCL订单承诺履约还款方式。合同代扣类型的订单,可以调用该接口取消某一期的代扣(转换为主动还款)。
* Summary: 变更BCL订单承诺履约还款方式
*/
public UpdateBclPromiserepaymentResponse updateBclPromiserepayment(UpdateBclPromiserepaymentRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.updateBclPromiserepaymentEx(request, headers, runtime);
}
/**
* Description: 变更BCL订单承诺履约还款方式。合同代扣类型的订单,可以调用该接口取消某一期的代扣(转换为主动还款)。
* Summary: 变更BCL订单承诺履约还款方式
*/
public UpdateBclPromiserepaymentResponse updateBclPromiserepaymentEx(UpdateBclPromiserepaymentRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.bcl.promiserepayment.update", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new UpdateBclPromiserepaymentResponse());
}
/**
* Description: 创建收款方
* Summary: 创建收款方
*/
public CreateBclPayeeResponse createBclPayee(CreateBclPayeeRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createBclPayeeEx(request, headers, runtime);
}
/**
* Description: 创建收款方
* Summary: 创建收款方
*/
public CreateBclPayeeResponse createBclPayeeEx(CreateBclPayeeRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.bcl.payee.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateBclPayeeResponse());
}
/**
* Description: 租赁宝plus订单融资申请接口
* Summary: 租赁宝plus订单融资申请接口
*/
public ApplyBclFinancingResponse applyBclFinancing(ApplyBclFinancingRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.applyBclFinancingEx(request, headers, runtime);
}
/**
* Description: 租赁宝plus订单融资申请接口
* Summary: 租赁宝plus订单融资申请接口
*/
public ApplyBclFinancingResponse applyBclFinancingEx(ApplyBclFinancingRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.bcl.financing.apply", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ApplyBclFinancingResponse());
}
/**
* Description: 商家发起入驻成功后,可以通过此接口查询入驻的结果
* Summary: 查询商家入驻结果
*/
public QueryBclMerchantResponse queryBclMerchant(QueryBclMerchantRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryBclMerchantEx(request, headers, runtime);
}
/**
* Description: 商家发起入驻成功后,可以通过此接口查询入驻的结果
* Summary: 查询商家入驻结果
*/
public QueryBclMerchantResponse queryBclMerchantEx(QueryBclMerchantRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.bcl.merchant.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryBclMerchantResponse());
}
/**
* Description: 商家入驻租赁宝plus平台接口
* Summary: 商家入驻租赁宝plus平台接口
*/
public RegisterBclMerchantResponse registerBclMerchant(RegisterBclMerchantRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.registerBclMerchantEx(request, headers, runtime);
}
/**
* Description: 商家入驻租赁宝plus平台接口
* Summary: 商家入驻租赁宝plus平台接口
*/
public RegisterBclMerchantResponse registerBclMerchantEx(RegisterBclMerchantRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.bcl.merchant.register", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new RegisterBclMerchantResponse());
}
/**
* Description: 当商家收到买家想解除代扣协议的消息后,可选择同意或拒绝用户解约操作;前置条件:商家已成功收到买家解除代扣协议的消息;
* Summary: 解除代扣协议
*/
public CancelBclWithholdResponse cancelBclWithhold(CancelBclWithholdRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.cancelBclWithholdEx(request, headers, runtime);
}
/**
* Description: 当商家收到买家想解除代扣协议的消息后,可选择同意或拒绝用户解约操作;前置条件:商家已成功收到买家解除代扣协议的消息;
* Summary: 解除代扣协议
*/
public CancelBclWithholdResponse cancelBclWithholdEx(CancelBclWithholdRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.bcl.withhold.cancel", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CancelBclWithholdResponse());
}
/**
* Description: 查询单条交易投诉详情接口
* Summary: 查询单条交易投诉详情接口
*/
public QueryBclComplainResponse queryBclComplain(QueryBclComplainRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryBclComplainEx(request, headers, runtime);
}
/**
* Description: 查询单条交易投诉详情接口
* Summary: 查询单条交易投诉详情接口
*/
public QueryBclComplainResponse queryBclComplainEx(QueryBclComplainRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.bcl.complain.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryBclComplainResponse());
}
/**
* Description: 商户上传处理图片
* Summary: 商户上传处理图片
*/
public UploadBclComplainimageResponse uploadBclComplainimage(UploadBclComplainimageRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.uploadBclComplainimageEx(request, headers, runtime);
}
/**
* Description: 商户上传处理图片
* Summary: 商户上传处理图片
*/
public UploadBclComplainimageResponse uploadBclComplainimageEx(UploadBclComplainimageRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.bcl.complainimage.upload", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new UploadBclComplainimageResponse());
}
/**
* Description: 商家处理交易投诉
* Summary: 商家处理交易投诉
*/
public SubmitBclComplainfeedbackResponse submitBclComplainfeedback(SubmitBclComplainfeedbackRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.submitBclComplainfeedbackEx(request, headers, runtime);
}
/**
* Description: 商家处理交易投诉
* Summary: 商家处理交易投诉
*/
public SubmitBclComplainfeedbackResponse submitBclComplainfeedbackEx(SubmitBclComplainfeedbackRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.bcl.complainfeedback.submit", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new SubmitBclComplainfeedbackResponse());
}
/**
* Description: 查询投诉单id列表
* Summary: 查询投诉单id列表
*/
public QueryBclComplaineventidsResponse queryBclComplaineventids(QueryBclComplaineventidsRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryBclComplaineventidsEx(request, headers, runtime);
}
/**
* Description: 查询投诉单id列表
* Summary: 查询投诉单id列表
*/
public QueryBclComplaineventidsResponse queryBclComplaineventidsEx(QueryBclComplaineventidsRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.bcl.complaineventids.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryBclComplaineventidsResponse());
}
/**
* Description: 租赁宝plus文件上传接口
* Summary: 租赁文件上传接口
*/
public UploadBclFileResponse uploadBclFile(UploadBclFileRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.uploadBclFileEx(request, headers, runtime);
}
/**
* Description: 租赁宝plus文件上传接口
* Summary: 租赁文件上传接口
*/
public UploadBclFileResponse uploadBclFileEx(UploadBclFileRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.bcl.file.upload", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new UploadBclFileResponse());
}
/**
* Description: 完成租赁单推进终态,本期要支持非自建代扣+新租赁宝代扣+老合同+老租赁宝代扣的租赁单完结
* Summary: 完结租赁单
*/
public FinishBclOrderResponse finishBclOrder(FinishBclOrderRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.finishBclOrderEx(request, headers, runtime);
}
/**
* Description: 完成租赁单推进终态,本期要支持非自建代扣+新租赁宝代扣+老合同+老租赁宝代扣的租赁单完结
* Summary: 完结租赁单
*/
public FinishBclOrderResponse finishBclOrderEx(FinishBclOrderRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.bcl.order.finish", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new FinishBclOrderResponse());
}
/**
* Description: 租赁宝plus退款
* Summary: 租赁宝plus退款
*/
public CreateBclRefundResponse createBclRefund(CreateBclRefundRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createBclRefundEx(request, headers, runtime);
}
/**
* Description: 租赁宝plus退款
* Summary: 租赁宝plus退款
*/
public CreateBclRefundResponse createBclRefundEx(CreateBclRefundRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.bcl.refund.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateBclRefundResponse());
}
/**
* Description: 租赁宝plus退款查询
* Summary: 租赁宝plus退款查询
*/
public QueryBclRefundResponse queryBclRefund(QueryBclRefundRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryBclRefundEx(request, headers, runtime);
}
/**
* Description: 租赁宝plus退款查询
* Summary: 租赁宝plus退款查询
*/
public QueryBclRefundResponse queryBclRefundEx(QueryBclRefundRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.bcl.refund.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryBclRefundResponse());
}
/**
* Description: 调用本接口创建个人账号,后续有关该用户的所有操作都需使用该用户的accountId。如提供用户证件信息,则将根据提供的用户证件信息申请数字证书。
* Summary: 创建电子合同签署个人帐户
*/
public CreateContractAccountResponse createContractAccount(CreateContractAccountRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createContractAccountEx(request, headers, runtime);
}
/**
* Description: 调用本接口创建个人账号,后续有关该用户的所有操作都需使用该用户的accountId。如提供用户证件信息,则将根据提供的用户证件信息申请数字证书。
* Summary: 创建电子合同签署个人帐户
*/
public CreateContractAccountResponse createContractAccountEx(CreateContractAccountRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.account.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateContractAccountResponse());
}
/**
* Description: 通过模版参数,创建个人印章
* Summary: 创建电子合同个人帐户印章
*/
public CreateContractAccountsealResponse createContractAccountseal(CreateContractAccountsealRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createContractAccountsealEx(request, headers, runtime);
}
/**
* Description: 通过模版参数,创建个人印章
* Summary: 创建电子合同个人帐户印章
*/
public CreateContractAccountsealResponse createContractAccountsealEx(CreateContractAccountsealRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.accountseal.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateContractAccountsealResponse());
}
/**
* Description: 对接方调用本接口创建机构账号,后续有关该机构的所有操作都需使用该机构的orgId。如提供机构证件信息,则将根据提供的机构证件信息申请数字证书。
创建机构账号前需要先创建一个个人账号并通过本接口传给服务器,该个人账号将作为该机构签署的经办人,代表企业完成实名认证和意愿认证,并完成签署操作。
* Summary: 创建电子合同签署机构帐户
*/
public CreateContractOrganizationResponse createContractOrganization(CreateContractOrganizationRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createContractOrganizationEx(request, headers, runtime);
}
/**
* Description: 对接方调用本接口创建机构账号,后续有关该机构的所有操作都需使用该机构的orgId。如提供机构证件信息,则将根据提供的机构证件信息申请数字证书。
创建机构账号前需要先创建一个个人账号并通过本接口传给服务器,该个人账号将作为该机构签署的经办人,代表企业完成实名认证和意愿认证,并完成签署操作。
* Summary: 创建电子合同签署机构帐户
*/
public CreateContractOrganizationResponse createContractOrganizationEx(CreateContractOrganizationRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.organization.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateContractOrganizationResponse());
}
/**
* Description: 通过模版参数,创建机构印章
* Summary: 创建电子合同机构帐户印章
*/
public CreateContractOrgsealResponse createContractOrgseal(CreateContractOrgsealRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createContractOrgsealEx(request, headers, runtime);
}
/**
* Description: 通过模版参数,创建机构印章
* Summary: 创建电子合同机构帐户印章
*/
public CreateContractOrgsealResponse createContractOrgsealEx(CreateContractOrgsealRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.orgseal.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateContractOrgsealResponse());
}
/**
* Description: 静默签署授权
* Summary: 静默签署授权
*/
public AuthContractSignResponse authContractSign(AuthContractSignRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.authContractSignEx(request, headers, runtime);
}
/**
* Description: 静默签署授权
* Summary: 静默签署授权
*/
public AuthContractSignResponse authContractSignEx(AuthContractSignRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.sign.auth", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new AuthContractSignResponse());
}
/**
* Description: 通过文件直传地址创建模板,创建模板后上传文件,上传方法请参考文件流上传方法
* Summary: 通过文件上传方式创建电子合同签署模板
*/
public CreateContractTemplateResponse createContractTemplate(CreateContractTemplateRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createContractTemplateEx(request, headers, runtime);
}
/**
* Description: 通过文件直传地址创建模板,创建模板后上传文件,上传方法请参考文件流上传方法
* Summary: 通过文件上传方式创建电子合同签署模板
*/
public CreateContractTemplateResponse createContractTemplateEx(CreateContractTemplateRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.template.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateContractTemplateResponse());
}
/**
* Description: 创建签署流程
* Summary: 创建电子合同签署流程
*/
public CreateContractFlowResponse createContractFlow(CreateContractFlowRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createContractFlowEx(request, headers, runtime);
}
/**
* Description: 创建签署流程
* Summary: 创建电子合同签署流程
*/
public CreateContractFlowResponse createContractFlowEx(CreateContractFlowRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.flow.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateContractFlowResponse());
}
/**
* Description: 向流程中添加待签署文档,文档必须先用文档管理接口创建,创建方式请参见文件管理接口文档。已经开启的流程不能再添加签署文档。
* Summary: 向电子合同签署流程中添加待签署文档
*/
public AddContractDocumentResponse addContractDocument(AddContractDocumentRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.addContractDocumentEx(request, headers, runtime);
}
/**
* Description: 向流程中添加待签署文档,文档必须先用文档管理接口创建,创建方式请参见文件管理接口文档。已经开启的流程不能再添加签署文档。
* Summary: 向电子合同签署流程中添加待签署文档
*/
public AddContractDocumentResponse addContractDocumentEx(AddContractDocumentRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.document.add", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new AddContractDocumentResponse());
}
/**
* Description: 向指定流程中创建签署区,每个签署区视为一个任务,系统会自动按照流程流转。 签署区的添加必须在签署文档添加之后, 签署区信息内部包含签署人、签署文档信息。 签署区创建完成,流程开启后,系统将自动完成“用户自动盖章签署区”的盖章。用户可全程无感完成本次签署。创建签署方自动盖章签署区前,需确定已完成账号静默签署授权。签署方自动盖章的合同,需要由对接平台方自行校验真实身份和真实意愿
* Summary: 添加电子合同签署方自动盖章签署区
*/
public AddContractSignfieldResponse addContractSignfield(AddContractSignfieldRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.addContractSignfieldEx(request, headers, runtime);
}
/**
* Description: 向指定流程中创建签署区,每个签署区视为一个任务,系统会自动按照流程流转。 签署区的添加必须在签署文档添加之后, 签署区信息内部包含签署人、签署文档信息。 签署区创建完成,流程开启后,系统将自动完成“用户自动盖章签署区”的盖章。用户可全程无感完成本次签署。创建签署方自动盖章签署区前,需确定已完成账号静默签署授权。签署方自动盖章的合同,需要由对接平台方自行校验真实身份和真实意愿
* Summary: 添加电子合同签署方自动盖章签署区
*/
public AddContractSignfieldResponse addContractSignfieldEx(AddContractSignfieldRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.signfield.add", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new AddContractSignfieldResponse());
}
/**
* Description: 开启签署流程,开启后流程文档不可再添加或修改文档,签署任务会自动按照设置开始流转。流程开启后,归档前,可随时追加签署区(指定签署人的签署信息)
* Summary: 电子合同签署流程开启
*/
public StartContractFlowResponse startContractFlow(StartContractFlowRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.startContractFlowEx(request, headers, runtime);
}
/**
* Description: 开启签署流程,开启后流程文档不可再添加或修改文档,签署任务会自动按照设置开始流转。流程开启后,归档前,可随时追加签署区(指定签署人的签署信息)
* Summary: 电子合同签署流程开启
*/
public StartContractFlowResponse startContractFlowEx(StartContractFlowRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.flow.start", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new StartContractFlowResponse());
}
/**
* Description: 手动归档签署流程,归档后所有资源均不可修改。归档前签署流程中的所有签署人必须都签署完成。如创建流程时设置了自动归档,则无需调用本接口,签署完成后系统会自动调用
* Summary: 电子合同签署流程归档
*/
public SaveContractFlowResponse saveContractFlow(SaveContractFlowRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.saveContractFlowEx(request, headers, runtime);
}
/**
* Description: 手动归档签署流程,归档后所有资源均不可修改。归档前签署流程中的所有签署人必须都签署完成。如创建流程时设置了自动归档,则无需调用本接口,签署完成后系统会自动调用
* Summary: 电子合同签署流程归档
*/
public SaveContractFlowResponse saveContractFlowEx(SaveContractFlowRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.flow.save", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new SaveContractFlowResponse());
}
/**
* Description: 流程归档后,查询和下载签署后的文件
* Summary: 电子合同流程文档下载
*/
public DownloadContractDocumentResponse downloadContractDocument(DownloadContractDocumentRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.downloadContractDocumentEx(request, headers, runtime);
}
/**
* Description: 流程归档后,查询和下载签署后的文件
* Summary: 电子合同流程文档下载
*/
public DownloadContractDocumentResponse downloadContractDocumentEx(DownloadContractDocumentRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.document.download", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new DownloadContractDocumentResponse());
}
/**
* Description: 基于文件模板生成待签文件用于后续文件,该文件可用用于签署,也可作为附件
* Summary: 通过电子合同模板添加文档
*/
public AddContractFileResponse addContractFile(AddContractFileRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.addContractFileEx(request, headers, runtime);
}
/**
* Description: 基于文件模板生成待签文件用于后续文件,该文件可用用于签署,也可作为附件
* Summary: 通过电子合同模板添加文档
*/
public AddContractFileResponse addContractFileEx(AddContractFileRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.file.add", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new AddContractFileResponse());
}
/**
* Description: 电子合同平台方发起注册,提供企业信息、合同签署的经办人信息,注册成为电子合同平台方用户
* Summary: 电子合同平台方注册
*/
public CreateContractPlatformResponse createContractPlatform(CreateContractPlatformRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createContractPlatformEx(request, headers, runtime);
}
/**
* Description: 电子合同平台方发起注册,提供企业信息、合同签署的经办人信息,注册成为电子合同平台方用户
* Summary: 电子合同平台方注册
*/
public CreateContractPlatformResponse createContractPlatformEx(CreateContractPlatformRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.platform.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateContractPlatformResponse());
}
/**
* Description: 电子合同平台方提供用户信息,注册成为平台用户
* Summary: 电子合同平台方的用户注册
*/
public CreateContractUserResponse createContractUser(CreateContractUserRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createContractUserEx(request, headers, runtime);
}
/**
* Description: 电子合同平台方提供用户信息,注册成为平台用户
* Summary: 电子合同平台方的用户注册
*/
public CreateContractUserResponse createContractUserEx(CreateContractUserRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.user.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateContractUserResponse());
}
/**
* Description: 电子合同平台方发起签署流程,用户在H5页面完成手动签署
* Summary: 电子合同平台方发起手动签署流程
*/
public StartContractHandsignResponse startContractHandsign(StartContractHandsignRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.startContractHandsignEx(request, headers, runtime);
}
/**
* Description: 电子合同平台方发起签署流程,用户在H5页面完成手动签署
* Summary: 电子合同平台方发起手动签署流程
*/
public StartContractHandsignResponse startContractHandsignEx(StartContractHandsignRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.handsign.start", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new StartContractHandsignResponse());
}
/**
* Description: 查询签署流程的详细信息,包括流程配置、签署状态等
* Summary: 签署流程查询
*/
public QueryContractFlowResponse queryContractFlow(QueryContractFlowRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryContractFlowEx(request, headers, runtime);
}
/**
* Description: 查询签署流程的详细信息,包括流程配置、签署状态等
* Summary: 签署流程查询
*/
public QueryContractFlowResponse queryContractFlowEx(QueryContractFlowRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.flow.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryContractFlowResponse());
}
/**
* Description: 创建个人/机构图片印章
* Summary: 创建个人/机构图片印章
*/
public CreateContractAccountsealimageResponse createContractAccountsealimage(CreateContractAccountsealimageRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createContractAccountsealimageEx(request, headers, runtime);
}
/**
* Description: 创建个人/机构图片印章
* Summary: 创建个人/机构图片印章
*/
public CreateContractAccountsealimageResponse createContractAccountsealimageEx(CreateContractAccountsealimageRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.accountsealimage.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateContractAccountsealimageResponse());
}
/**
* Description: 采用文件直传的方式完成用户文件的上传。对接方通过该接口获取文件上传的授权地址
* Summary: 通过上传方式创建文件
*/
public GetContractFileuploadurlResponse getContractFileuploadurl(GetContractFileuploadurlRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.getContractFileuploadurlEx(request, headers, runtime);
}
/**
* Description: 采用文件直传的方式完成用户文件的上传。对接方通过该接口获取文件上传的授权地址
* Summary: 通过上传方式创建文件
*/
public GetContractFileuploadurlResponse getContractFileuploadurlEx(GetContractFileuploadurlRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.fileuploadurl.get", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new GetContractFileuploadurlResponse());
}
/**
* Description: 向指定流程中创建签署区,每个签署区视为一个任务,系统会自动按照流程流转。 签署区的添加必须在签署文档添加之后, 签署区信息内部包含签署文档信息(平台自动签无需指定签署人信息,默认签署人是对接的企业)。
签署区创建完成,流程开启后,系统将自动完成“对接平台自动盖章签署区”的盖章,对接平台可全程无感完成本次签署。
* Summary: 添加平台自动盖章签署区
*/
public AddContractPlatformsignfieldsResponse addContractPlatformsignfields(AddContractPlatformsignfieldsRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.addContractPlatformsignfieldsEx(request, headers, runtime);
}
/**
* Description: 向指定流程中创建签署区,每个签署区视为一个任务,系统会自动按照流程流转。 签署区的添加必须在签署文档添加之后, 签署区信息内部包含签署文档信息(平台自动签无需指定签署人信息,默认签署人是对接的企业)。
签署区创建完成,流程开启后,系统将自动完成“对接平台自动盖章签署区”的盖章,对接平台可全程无感完成本次签署。
* Summary: 添加平台自动盖章签署区
*/
public AddContractPlatformsignfieldsResponse addContractPlatformsignfieldsEx(AddContractPlatformsignfieldsRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.platformsignfields.add", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new AddContractPlatformsignfieldsResponse());
}
/**
* Description: 查询文件详情,包括文件名称、大小、下载地址等
* Summary: 查询文件详情
*/
public GetContractFileResponse getContractFile(GetContractFileRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.getContractFileEx(request, headers, runtime);
}
/**
* Description: 查询文件详情,包括文件名称、大小、下载地址等
* Summary: 查询文件详情
*/
public GetContractFileResponse getContractFileEx(GetContractFileRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.file.get", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new GetContractFileResponse());
}
/**
* Description: 查询个人所有印章
* Summary: 查询个人印章
*/
public QueryContractAccountsealsResponse queryContractAccountseals(QueryContractAccountsealsRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryContractAccountsealsEx(request, headers, runtime);
}
/**
* Description: 查询个人所有印章
* Summary: 查询个人印章
*/
public QueryContractAccountsealsResponse queryContractAccountsealsEx(QueryContractAccountsealsRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.accountseals.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryContractAccountsealsResponse());
}
/**
* Description: 查询机构所有印章
* Summary: 查询机构印章
*/
public QueryContractOrganizationsealsResponse queryContractOrganizationseals(QueryContractOrganizationsealsRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryContractOrganizationsealsEx(request, headers, runtime);
}
/**
* Description: 查询机构所有印章
* Summary: 查询机构印章
*/
public QueryContractOrganizationsealsResponse queryContractOrganizationsealsEx(QueryContractOrganizationsealsRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.organizationseals.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryContractOrganizationsealsResponse());
}
/**
* Description: 查询流程所有签署人列表。
* Summary: 查询流程签署人列表
*/
public QueryContractFlowsignerResponse queryContractFlowsigner(QueryContractFlowsignerRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryContractFlowsignerEx(request, headers, runtime);
}
/**
* Description: 查询流程所有签署人列表。
* Summary: 查询流程签署人列表
*/
public QueryContractFlowsignerResponse queryContractFlowsignerEx(QueryContractFlowsignerRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.flowsigner.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryContractFlowsignerResponse());
}
/**
* Description: 查询流程签署区列表,可以查询指定指定id或者签署人所属的签署区
* Summary: 查询签署区列表
*/
public QueryContractSignfieldsResponse queryContractSignfields(QueryContractSignfieldsRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryContractSignfieldsEx(request, headers, runtime);
}
/**
* Description: 查询流程签署区列表,可以查询指定指定id或者签署人所属的签署区
* Summary: 查询签署区列表
*/
public QueryContractSignfieldsResponse queryContractSignfieldsEx(QueryContractSignfieldsRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.signfields.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryContractSignfieldsResponse());
}
/**
* Description: 使用创建账号返回的账号id查询用户的账号。
* Summary: 查询个人账号
*/
public QueryContractAccountResponse queryContractAccount(QueryContractAccountRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryContractAccountEx(request, headers, runtime);
}
/**
* Description: 使用创建账号返回的账号id查询用户的账号。
* Summary: 查询个人账号
*/
public QueryContractAccountResponse queryContractAccountEx(QueryContractAccountRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.account.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryContractAccountResponse());
}
/**
* Description: 使用创建账号返回的账号id查询机构账号。
* Summary: 查询机构账号
*/
public QueryContractOrganizationResponse queryContractOrganization(QueryContractOrganizationRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryContractOrganizationEx(request, headers, runtime);
}
/**
* Description: 使用创建账号返回的账号id查询机构账号。
* Summary: 查询机构账号
*/
public QueryContractOrganizationResponse queryContractOrganizationEx(QueryContractOrganizationRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.organization.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryContractOrganizationResponse());
}
/**
* Description: 查询模板详情,包括文件模板基本信息和输入项组件信息
* Summary: 查询模板详情详情
*/
public QueryContractTemplateResponse queryContractTemplate(QueryContractTemplateRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryContractTemplateEx(request, headers, runtime);
}
/**
* Description: 查询模板详情,包括文件模板基本信息和输入项组件信息
* Summary: 查询模板详情详情
*/
public QueryContractTemplateResponse queryContractTemplateEx(QueryContractTemplateRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.template.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryContractTemplateResponse());
}
/**
* Description: 平台方制定签约模板和用户,发起手动签署流程,获得签署流程ID
* Summary: 创建签署流程
*/
public CreateContractSignflowResponse createContractSignflow(CreateContractSignflowRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createContractSignflowEx(request, headers, runtime);
}
/**
* Description: 平台方制定签约模板和用户,发起手动签署流程,获得签署流程ID
* Summary: 创建签署流程
*/
public CreateContractSignflowResponse createContractSignflowEx(CreateContractSignflowRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.signflow.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateContractSignflowResponse());
}
/**
* Description: 商户签署直付通协议
* Summary: 商户签署直付通协议
*/
public CreateContractRegisterzftResponse createContractRegisterzft(CreateContractRegisterzftRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createContractRegisterzftEx(request, headers, runtime);
}
/**
* Description: 商户签署直付通协议
* Summary: 商户签署直付通协议
*/
public CreateContractRegisterzftResponse createContractRegisterzftEx(CreateContractRegisterzftRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.registerzft.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateContractRegisterzftResponse());
}
/**
* Description: 创建模板的同时,指定平台方签署信息,完成智能合同模板创建
* Summary: 创建智能合同模板
*/
public CreateContractPlatformtemplateResponse createContractPlatformtemplate(CreateContractPlatformtemplateRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createContractPlatformtemplateEx(request, headers, runtime);
}
/**
* Description: 创建模板的同时,指定平台方签署信息,完成智能合同模板创建
* Summary: 创建智能合同模板
*/
public CreateContractPlatformtemplateResponse createContractPlatformtemplateEx(CreateContractPlatformtemplateRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.platformtemplate.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateContractPlatformtemplateResponse());
}
/**
* Description: 查询商户直付通入驻信息
* Summary: 查询商户直付通入驻信息
*/
public QueryContractMerchantzftResponse queryContractMerchantzft(QueryContractMerchantzftRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryContractMerchantzftEx(request, headers, runtime);
}
/**
* Description: 查询商户直付通入驻信息
* Summary: 查询商户直付通入驻信息
*/
public QueryContractMerchantzftResponse queryContractMerchantzftEx(QueryContractMerchantzftRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.merchantzft.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryContractMerchantzftResponse());
}
/**
* Description: 列举本租户合同相关交易
* Summary: 列举本租户合同相关交易
*/
public ListContractOuttradeidResponse listContractOuttradeid(ListContractOuttradeidRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.listContractOuttradeidEx(request, headers, runtime);
}
/**
* Description: 列举本租户合同相关交易
* Summary: 列举本租户合同相关交易
*/
public ListContractOuttradeidResponse listContractOuttradeidEx(ListContractOuttradeidRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.outtradeid.list", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ListContractOuttradeidResponse());
}
/**
* Description: 根据订单id查询订单代扣详情
* Summary: 根据订单id查询订单代扣详情
*/
public QueryContractTradedetailResponse queryContractTradedetail(QueryContractTradedetailRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryContractTradedetailEx(request, headers, runtime);
}
/**
* Description: 根据订单id查询订单代扣详情
* Summary: 根据订单id查询订单代扣详情
*/
public QueryContractTradedetailResponse queryContractTradedetailEx(QueryContractTradedetailRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.tradedetail.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryContractTradedetailResponse());
}
/**
* Description: 商户根据订单id退款
* Summary: 商户根据订单id退款
*/
public CreateContractMerchantrefundResponse createContractMerchantrefund(CreateContractMerchantrefundRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createContractMerchantrefundEx(request, headers, runtime);
}
/**
* Description: 商户根据订单id退款
* Summary: 商户根据订单id退款
*/
public CreateContractMerchantrefundResponse createContractMerchantrefundEx(CreateContractMerchantrefundRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.merchantrefund.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateContractMerchantrefundResponse());
}
/**
* Description: 创建蚂蚁区块链账户
* Summary: 创建蚂蚁区块链账户
*/
public CreateContractAdminaccountResponse createContractAdminaccount(CreateContractAdminaccountRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createContractAdminaccountEx(request, headers, runtime);
}
/**
* Description: 创建蚂蚁区块链账户
* Summary: 创建蚂蚁区块链账户
*/
public CreateContractAdminaccountResponse createContractAdminaccountEx(CreateContractAdminaccountRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.adminaccount.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateContractAdminaccountResponse());
}
/**
* Description: 商户根据合同id列举所有的tradeId
* Summary: 商户根据合同id列举所有的tradeId
*/
public ListContractTradeidsResponse listContractTradeids(ListContractTradeidsRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.listContractTradeidsEx(request, headers, runtime);
}
/**
* Description: 商户根据合同id列举所有的tradeId
* Summary: 商户根据合同id列举所有的tradeId
*/
public ListContractTradeidsResponse listContractTradeidsEx(ListContractTradeidsRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.tradeids.list", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ListContractTradeidsResponse());
}
/**
* Description: 商户上传代扣规则
* Summary: 商户上传代扣规则
*/
public CreateContractCommontriggerResponse createContractCommontrigger(CreateContractCommontriggerRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createContractCommontriggerEx(request, headers, runtime);
}
/**
* Description: 商户上传代扣规则
* Summary: 商户上传代扣规则
*/
public CreateContractCommontriggerResponse createContractCommontriggerEx(CreateContractCommontriggerRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.commontrigger.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateContractCommontriggerResponse());
}
/**
* Description: 商户入驻直付通
* Summary: 商户入驻直付通
*/
public CreateContractMerchantindirectzftResponse createContractMerchantindirectzft(CreateContractMerchantindirectzftRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createContractMerchantindirectzftEx(request, headers, runtime);
}
/**
* Description: 商户入驻直付通
* Summary: 商户入驻直付通
*/
public CreateContractMerchantindirectzftResponse createContractMerchantindirectzftEx(CreateContractMerchantindirectzftRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.merchantindirectzft.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateContractMerchantindirectzftResponse());
}
/**
* Description: 根据订单id查询直付通商户入驻信息
* Summary: 根据订单id查询直付通商户入驻信息
*/
public QueryContractMerchantindirectzftResponse queryContractMerchantindirectzft(QueryContractMerchantindirectzftRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryContractMerchantindirectzftEx(request, headers, runtime);
}
/**
* Description: 根据订单id查询直付通商户入驻信息
* Summary: 根据订单id查询直付通商户入驻信息
*/
public QueryContractMerchantindirectzftResponse queryContractMerchantindirectzftEx(QueryContractMerchantindirectzftRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.merchantindirectzft.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryContractMerchantindirectzftResponse());
}
/**
* Description: 获取支付对账文件的url
* Summary: 获取支付对账文件的url
*/
public QueryPayresultfileurlResponse queryPayresultfileurl(QueryPayresultfileurlRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryPayresultfileurlEx(request, headers, runtime);
}
/**
* Description: 获取支付对账文件的url
* Summary: 获取支付对账文件的url
*/
public QueryPayresultfileurlResponse queryPayresultfileurlEx(QueryPayresultfileurlRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.payresultfileurl.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryPayresultfileurlResponse());
}
/**
* Description: 智能合同图片上传
* Summary: 智能合同图片上传
*/
public CreateContractMerchantimageResponse createContractMerchantimage(CreateContractMerchantimageRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createContractMerchantimageEx(request, headers, runtime);
}
/**
* Description: 智能合同图片上传
* Summary: 智能合同图片上传
*/
public CreateContractMerchantimageResponse createContractMerchantimageEx(CreateContractMerchantimageRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.merchantimage.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateContractMerchantimageResponse());
}
/**
* Description: 取消智能合同剩余代扣条目
* Summary: 取消智能合同剩余代扣条目
*/
public CancelContractPaytradeResponse cancelContractPaytrade(CancelContractPaytradeRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.cancelContractPaytradeEx(request, headers, runtime);
}
/**
* Description: 取消智能合同剩余代扣条目
* Summary: 取消智能合同剩余代扣条目
*/
public CancelContractPaytradeResponse cancelContractPaytradeEx(CancelContractPaytradeRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.paytrade.cancel", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CancelContractPaytradeResponse());
}
/**
* Description: 创建手动签署流程
* Summary: 创建手动签署流程
*/
public CreateContractHandsignflowResponse createContractHandsignflow(CreateContractHandsignflowRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createContractHandsignflowEx(request, headers, runtime);
}
/**
* Description: 创建手动签署流程
* Summary: 创建手动签署流程
*/
public CreateContractHandsignflowResponse createContractHandsignflowEx(CreateContractHandsignflowRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.handsignflow.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateContractHandsignflowResponse());
}
/**
* Description: 向指定流程中创建签署区,每个签署区视为一个任务,系统会自动按照流程流转。 签署区的添加必须在签署文档添加之后, 签署区信息内部包含签署文档信息。签署区创建完成,流程开启后,通过获取签署地址接口,可获取用户手动签署链接,通过此链接可打开文件签署页面,进行人工确认签署。
* Summary: 添加电子合同签署方手动盖章签署区
*/
public CreateContractHandsignfieldResponse createContractHandsignfield(CreateContractHandsignfieldRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createContractHandsignfieldEx(request, headers, runtime);
}
/**
* Description: 向指定流程中创建签署区,每个签署区视为一个任务,系统会自动按照流程流转。 签署区的添加必须在签署文档添加之后, 签署区信息内部包含签署文档信息。签署区创建完成,流程开启后,通过获取签署地址接口,可获取用户手动签署链接,通过此链接可打开文件签署页面,进行人工确认签署。
* Summary: 添加电子合同签署方手动盖章签署区
*/
public CreateContractHandsignfieldResponse createContractHandsignfieldEx(CreateContractHandsignfieldRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.handsignfield.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateContractHandsignfieldResponse());
}
/**
* Description: 流程开启后,获取指定签署人的签署链接地址,如仅传入签署人账号id,则获取的签署任务链接仅包含本人的签署任务;如同时签署人账号id+机构id,则获取的签署任务链接包含机构与个人的签署任务;organizeId传入0,则返回的任务链接包含签署人“本人+所有代签机构”的签署任务。
* Summary: 获取签署地址
*/
public GetContractSignurlResponse getContractSignurl(GetContractSignurlRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.getContractSignurlEx(request, headers, runtime);
}
/**
* Description: 流程开启后,获取指定签署人的签署链接地址,如仅传入签署人账号id,则获取的签署任务链接仅包含本人的签署任务;如同时签署人账号id+机构id,则获取的签署任务链接包含机构与个人的签署任务;organizeId传入0,则返回的任务链接包含签署人“本人+所有代签机构”的签署任务。
* Summary: 获取签署地址
*/
public GetContractSignurlResponse getContractSignurlEx(GetContractSignurlRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.signurl.get", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new GetContractSignurlResponse());
}
/**
* Description: 可信付代扣规则内容创建
* Summary: 可信付代扣规则内容创建
*/
public CreateWithholdAgreementResponse createWithholdAgreement(CreateWithholdAgreementRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createWithholdAgreementEx(request, headers, runtime);
}
/**
* Description: 可信付代扣规则内容创建
* Summary: 可信付代扣规则内容创建
*/
public CreateWithholdAgreementResponse createWithholdAgreementEx(CreateWithholdAgreementRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.withhold.agreement.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateWithholdAgreementResponse());
}
/**
* Description: 查询消金代扣协议
* Summary: 查询可信付代扣协议内容
*/
public QueryWithholdAgreementResponse queryWithholdAgreement(QueryWithholdAgreementRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryWithholdAgreementEx(request, headers, runtime);
}
/**
* Description: 查询消金代扣协议
* Summary: 查询可信付代扣协议内容
*/
public QueryWithholdAgreementResponse queryWithholdAgreementEx(QueryWithholdAgreementRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.withhold.agreement.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryWithholdAgreementResponse());
}
/**
* Description: 查询可信付协议的入口
* Summary: 查询可信付协议的入口
*/
public QueryWithholdAgreementurlResponse queryWithholdAgreementurl(QueryWithholdAgreementurlRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryWithholdAgreementurlEx(request, headers, runtime);
}
/**
* Description: 查询可信付协议的入口
* Summary: 查询可信付协议的入口
*/
public QueryWithholdAgreementurlResponse queryWithholdAgreementurlEx(QueryWithholdAgreementurlRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.withhold.agreementurl.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryWithholdAgreementurlResponse());
}
/**
* Description: 后台录入商家的产品的逾期日
* Summary: 后台录入商家的产品的逾期日
*/
public CreateWithholdOverduetimeResponse createWithholdOverduetime(CreateWithholdOverduetimeRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createWithholdOverduetimeEx(request, headers, runtime);
}
/**
* Description: 后台录入商家的产品的逾期日
* Summary: 后台录入商家的产品的逾期日
*/
public CreateWithholdOverduetimeResponse createWithholdOverduetimeEx(CreateWithholdOverduetimeRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.withhold.overduetime.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateWithholdOverduetimeResponse());
}
/**
* Description: 可信付代扣的扣费请求
* Summary: 发送代扣请求
*/
public SendWithholdDeductResponse sendWithholdDeduct(SendWithholdDeductRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.sendWithholdDeductEx(request, headers, runtime);
}
/**
* Description: 可信付代扣的扣费请求
* Summary: 发送代扣请求
*/
public SendWithholdDeductResponse sendWithholdDeductEx(SendWithholdDeductRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.withhold.deduct.send", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new SendWithholdDeductResponse());
}
/**
* Description: 可信付代扣结果查询
* Summary: 可信付代扣结果查询
*/
public QueryWithholdPayresultResponse queryWithholdPayresult(QueryWithholdPayresultRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryWithholdPayresultEx(request, headers, runtime);
}
/**
* Description: 可信付代扣结果查询
* Summary: 可信付代扣结果查询
*/
public QueryWithholdPayresultResponse queryWithholdPayresultEx(QueryWithholdPayresultRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.withhold.payresult.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryWithholdPayresultResponse());
}
/**
* Description: 可信付退款请求
* Summary: 可信付退款请求
*/
public SendWithholdRefundResponse sendWithholdRefund(SendWithholdRefundRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.sendWithholdRefundEx(request, headers, runtime);
}
/**
* Description: 可信付退款请求
* Summary: 可信付退款请求
*/
public SendWithholdRefundResponse sendWithholdRefundEx(SendWithholdRefundRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.withhold.refund.send", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new SendWithholdRefundResponse());
}
/**
* Description: 创建邀请任务,被邀请人收到通知后需要注册并完成实名认证方可开通电子签名服务。
* Summary: 创建注册邀请任务
*/
public SendContractInvitationResponse sendContractInvitation(SendContractInvitationRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.sendContractInvitationEx(request, headers, runtime);
}
/**
* Description: 创建邀请任务,被邀请人收到通知后需要注册并完成实名认证方可开通电子签名服务。
* Summary: 创建注册邀请任务
*/
public SendContractInvitationResponse sendContractInvitationEx(SendContractInvitationRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.invitation.send", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new SendContractInvitationResponse());
}
/**
* Description: 查询代扣规则
* Summary: 查询代扣规则
*/
public ListContractPayruleResponse listContractPayrule(ListContractPayruleRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.listContractPayruleEx(request, headers, runtime);
}
/**
* Description: 查询代扣规则
* Summary: 查询代扣规则
*/
public ListContractPayruleResponse listContractPayruleEx(ListContractPayruleRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.payrule.list", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ListContractPayruleResponse());
}
/**
* Description: 获取可信付免签协议的二维码
* Summary: 获取可信付免签协议的二维码
*/
public CreateWithholdQrcodeResponse createWithholdQrcode(CreateWithholdQrcodeRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createWithholdQrcodeEx(request, headers, runtime);
}
/**
* Description: 获取可信付免签协议的二维码
* Summary: 获取可信付免签协议的二维码
*/
public CreateWithholdQrcodeResponse createWithholdQrcodeEx(CreateWithholdQrcodeRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.withhold.qrcode.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateWithholdQrcodeResponse());
}
/**
* Description: 取消某一期的代扣规则
* Summary: 取消某一期的代扣规则
*/
public CancelContractPaysingletradeResponse cancelContractPaysingletrade(CancelContractPaysingletradeRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.cancelContractPaysingletradeEx(request, headers, runtime);
}
/**
* Description: 取消某一期的代扣规则
* Summary: 取消某一期的代扣规则
*/
public CancelContractPaysingletradeResponse cancelContractPaysingletradeEx(CancelContractPaysingletradeRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.paysingletrade.cancel", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CancelContractPaysingletradeResponse());
}
/**
* Description: 使用区块链合同回调服务,需要申请加签时使用的key。该key每个平台方对应一个,不可变更,多次申请结果幂等。
* Summary: 申请区块链合同回调加签key
*/
public ApplyContractCallbackkeyResponse applyContractCallbackkey(ApplyContractCallbackkeyRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.applyContractCallbackkeyEx(request, headers, runtime);
}
/**
* Description: 使用区块链合同回调服务,需要申请加签时使用的key。该key每个平台方对应一个,不可变更,多次申请结果幂等。
* Summary: 申请区块链合同回调加签key
*/
public ApplyContractCallbackkeyResponse applyContractCallbackkeyEx(ApplyContractCallbackkeyRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.callbackkey.apply", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ApplyContractCallbackkeyResponse());
}
/**
* Description: 快速创建签署流程,完成添加待签文档、流程基本信息、签署方,支持自动开启、自动归档。
* Summary: 一步创建签署流程接口
*/
public CreateContractOnestepflowResponse createContractOnestepflow(CreateContractOnestepflowRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createContractOnestepflowEx(request, headers, runtime);
}
/**
* Description: 快速创建签署流程,完成添加待签文档、流程基本信息、签署方,支持自动开启、自动归档。
* Summary: 一步创建签署流程接口
*/
public CreateContractOnestepflowResponse createContractOnestepflowEx(CreateContractOnestepflowRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.onestepflow.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateContractOnestepflowResponse());
}
/**
* Description: 通过流程ID查询合同存证信息
* Summary: 查询合同存证信息
*/
public QueryContractNotaryResponse queryContractNotary(QueryContractNotaryRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryContractNotaryEx(request, headers, runtime);
}
/**
* Description: 通过流程ID查询合同存证信息
* Summary: 查询合同存证信息
*/
public QueryContractNotaryResponse queryContractNotaryEx(QueryContractNotaryRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.notary.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryContractNotaryResponse());
}
/**
* Description: 获取合同存证事务ID
* Summary: 获取合同存证事务ID
*/
public CreateEcocontractTransResponse createEcocontractTrans(CreateEcocontractTransRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createEcocontractTransEx(request, headers, runtime);
}
/**
* Description: 获取合同存证事务ID
* Summary: 获取合同存证事务ID
*/
public CreateEcocontractTransResponse createEcocontractTransEx(CreateEcocontractTransRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.ecocontract.trans.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateEcocontractTransResponse());
}
/**
* Description: 合同文本存证
* Summary: 合同文本存证
*/
public CreateEcocontractTextResponse createEcocontractText(CreateEcocontractTextRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createEcocontractTextEx(request, headers, runtime);
}
/**
* Description: 合同文本存证
* Summary: 合同文本存证
*/
public CreateEcocontractTextResponse createEcocontractTextEx(CreateEcocontractTextRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.ecocontract.text.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateEcocontractTextResponse());
}
/**
* Description: 搜索关键字坐标,以关键字左下角为原点去查询坐标
* Summary: 搜索关键字坐标
*/
public QueryContractWordspositionResponse queryContractWordsposition(QueryContractWordspositionRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryContractWordspositionEx(request, headers, runtime);
}
/**
* Description: 搜索关键字坐标,以关键字左下角为原点去查询坐标
* Summary: 搜索关键字坐标
*/
public QueryContractWordspositionResponse queryContractWordspositionEx(QueryContractWordspositionRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.wordsposition.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryContractWordspositionResponse());
}
/**
* Description: 执行签署人删除逻辑
* Summary: 删除签署人
*/
public DeleteContractSignerResponse deleteContractSigner(DeleteContractSignerRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.deleteContractSignerEx(request, headers, runtime);
}
/**
* Description: 执行签署人删除逻辑
* Summary: 删除签署人
*/
public DeleteContractSignerResponse deleteContractSignerEx(DeleteContractSignerRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.signer.delete", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new DeleteContractSignerResponse());
}
/**
* Description: 获取区块链合同存证证明
* Summary: 获取区块链合同存证证明
*/
public GetContractCertificateResponse getContractCertificate(GetContractCertificateRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.getContractCertificateEx(request, headers, runtime);
}
/**
* Description: 获取区块链合同存证证明
* Summary: 获取区块链合同存证证明
*/
public GetContractCertificateResponse getContractCertificateEx(GetContractCertificateRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.certificate.get", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new GetContractCertificateResponse());
}
/**
* Description: 已归档的合同,支持根据合同流程签署区查询已使用的印章id
* Summary: 根据合同流程签署区查询已使用的印章id
*/
public QueryContractSignfieldsealidResponse queryContractSignfieldsealid(QueryContractSignfieldsealidRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryContractSignfieldsealidEx(request, headers, runtime);
}
/**
* Description: 已归档的合同,支持根据合同流程签署区查询已使用的印章id
* Summary: 根据合同流程签署区查询已使用的印章id
*/
public QueryContractSignfieldsealidResponse queryContractSignfieldsealidEx(QueryContractSignfieldsealidRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.signfieldsealid.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryContractSignfieldsealidResponse());
}
/**
* Description: 本接口功能默认不开启,如有需求请联系技术支持。添加手动签署区,并启动签署流程之后,触发通知,提醒签署方执行签署。通知方式以创建流程时的配置为准(目前仅支持短信)。
* Summary: 通知签署方执行合同签署
*/
public NotifyContractSignerResponse notifyContractSigner(NotifyContractSignerRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.notifyContractSignerEx(request, headers, runtime);
}
/**
* Description: 本接口功能默认不开启,如有需求请联系技术支持。添加手动签署区,并启动签署流程之后,触发通知,提醒签署方执行签署。通知方式以创建流程时的配置为准(目前仅支持短信)。
* Summary: 通知签署方执行合同签署
*/
public NotifyContractSignerResponse notifyContractSignerEx(NotifyContractSignerRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.signer.notify", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new NotifyContractSignerResponse());
}
/**
* Description: 通过配置白名单,临时允许修改证件号/名称等所有字段以及经办人的信息,修改后从白名单中去除
* Summary: 修改平台方注册信息
*/
public UpdateContractPlatformResponse updateContractPlatform(UpdateContractPlatformRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.updateContractPlatformEx(request, headers, runtime);
}
/**
* Description: 通过配置白名单,临时允许修改证件号/名称等所有字段以及经办人的信息,修改后从白名单中去除
* Summary: 修改平台方注册信息
*/
public UpdateContractPlatformResponse updateContractPlatformEx(UpdateContractPlatformRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.platform.update", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new UpdateContractPlatformResponse());
}
/**
* Description: 个人的注册信息中证件信息为空时允许修改姓名、证件等各项信息,如果不为空,则不允许修改
* Summary: 修改用户注册信息
*/
public UpdateContractUserResponse updateContractUser(UpdateContractUserRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.updateContractUserEx(request, headers, runtime);
}
/**
* Description: 个人的注册信息中证件信息为空时允许修改姓名、证件等各项信息,如果不为空,则不允许修改
* Summary: 修改用户注册信息
*/
public UpdateContractUserResponse updateContractUserEx(UpdateContractUserRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.user.update", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new UpdateContractUserResponse());
}
/**
* Description: 机构的注册信息中证件信息为空时允许修改机构名、证件等各项信息,但不允许修改经办人信息,如果不为空,则无法修改
* Summary: 修改机构用户注册信息
*/
public UpdateContractOrganizationResponse updateContractOrganization(UpdateContractOrganizationRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.updateContractOrganizationEx(request, headers, runtime);
}
/**
* Description: 机构的注册信息中证件信息为空时允许修改机构名、证件等各项信息,但不允许修改经办人信息,如果不为空,则无法修改
* Summary: 修改机构用户注册信息
*/
public UpdateContractOrganizationResponse updateContractOrganizationEx(UpdateContractOrganizationRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.organization.update", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new UpdateContractOrganizationResponse());
}
/**
* Description: 商户入驻直付通新接口,通过此接口创建的商户,签约模式默认走单独签约授权模式(即不同商户都需要进行单独的代扣签约授权)。
* Summary: 商户入驻直付通新接口
*/
public ApplyContractMerchantResponse applyContractMerchant(ApplyContractMerchantRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.applyContractMerchantEx(request, headers, runtime);
}
/**
* Description: 商户入驻直付通新接口,通过此接口创建的商户,签约模式默认走单独签约授权模式(即不同商户都需要进行单独的代扣签约授权)。
* Summary: 商户入驻直付通新接口
*/
public ApplyContractMerchantResponse applyContractMerchantEx(ApplyContractMerchantRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.merchant.apply", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ApplyContractMerchantResponse());
}
/**
* Description: 直付通商户入驻确认(确认成功则表明入驻成功)
* Summary: 直付通商户入驻确认
*/
public ConfirmContractMerchantResponse confirmContractMerchant(ConfirmContractMerchantRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.confirmContractMerchantEx(request, headers, runtime);
}
/**
* Description: 直付通商户入驻确认(确认成功则表明入驻成功)
* Summary: 直付通商户入驻确认
*/
public ConfirmContractMerchantResponse confirmContractMerchantEx(ConfirmContractMerchantRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.merchant.confirm", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ConfirmContractMerchantResponse());
}
/**
* Description: 创建合同存证事务ID。私有云使用。
* Summary: 创建合同存证事务ID。私有云使用。
*/
public CreatePrivatecontractTransResponse createPrivatecontractTrans(CreatePrivatecontractTransRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createPrivatecontractTransEx(request, headers, runtime);
}
/**
* Description: 创建合同存证事务ID。私有云使用。
* Summary: 创建合同存证事务ID。私有云使用。
*/
public CreatePrivatecontractTransResponse createPrivatecontractTransEx(CreatePrivatecontractTransRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.privatecontract.trans.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreatePrivatecontractTransResponse());
}
/**
* Description: 合同文本存证。私有云使用。
* Summary: 合同文本存证。私有云使用。
*/
public CreatePrivatecontractTextResponse createPrivatecontractText(CreatePrivatecontractTextRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createPrivatecontractTextEx(request, headers, runtime);
}
/**
* Description: 合同文本存证。私有云使用。
* Summary: 合同文本存证。私有云使用。
*/
public CreatePrivatecontractTextResponse createPrivatecontractTextEx(CreatePrivatecontractTextRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.privatecontract.text.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreatePrivatecontractTextResponse());
}
/**
* Description: 个人二要素校验
* Summary: 个人二要素校验
*/
public VerifyPrivatepersonTwometaResponse verifyPrivatepersonTwometa(VerifyPrivatepersonTwometaRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.verifyPrivatepersonTwometaEx(request, headers, runtime);
}
/**
* Description: 个人二要素校验
* Summary: 个人二要素校验
*/
public VerifyPrivatepersonTwometaResponse verifyPrivatepersonTwometaEx(VerifyPrivatepersonTwometaRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.privateperson.twometa.verify", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new VerifyPrivatepersonTwometaResponse());
}
/**
* Description: 企业二要素校验
* Summary: 企业二要素校验
*/
public VerifyPrivatecompanyTwometaResponse verifyPrivatecompanyTwometa(VerifyPrivatecompanyTwometaRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.verifyPrivatecompanyTwometaEx(request, headers, runtime);
}
/**
* Description: 企业二要素校验
* Summary: 企业二要素校验
*/
public VerifyPrivatecompanyTwometaResponse verifyPrivatecompanyTwometaEx(VerifyPrivatecompanyTwometaRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.privatecompany.twometa.verify", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new VerifyPrivatecompanyTwometaResponse());
}
/**
* Description: 企业四要素校验
* Summary: 企业四要素校验
*/
public VerifyPrivatecompanyFourmetaResponse verifyPrivatecompanyFourmeta(VerifyPrivatecompanyFourmetaRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.verifyPrivatecompanyFourmetaEx(request, headers, runtime);
}
/**
* Description: 企业四要素校验
* Summary: 企业四要素校验
*/
public VerifyPrivatecompanyFourmetaResponse verifyPrivatecompanyFourmetaEx(VerifyPrivatecompanyFourmetaRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.privatecompany.fourmeta.verify", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new VerifyPrivatecompanyFourmetaResponse());
}
/**
* Description: 开放给私有云的外部用户的注册接口.
* Summary: 私有云的外部用户注册接口.
*/
public ApplyPrivatecontractCertResponse applyPrivatecontractCert(ApplyPrivatecontractCertRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.applyPrivatecontractCertEx(request, headers, runtime);
}
/**
* Description: 开放给私有云的外部用户的注册接口.
* Summary: 私有云的外部用户注册接口.
*/
public ApplyPrivatecontractCertResponse applyPrivatecontractCertEx(ApplyPrivatecontractCertRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.privatecontract.cert.apply", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ApplyPrivatecontractCertResponse());
}
/**
* Description: 代扣计划状态查询接口,仅能查询到由新状态机执行的代扣计划,未切换到新状态机的老数据查询不到
* Summary: 代扣计划状态查询
*/
public QueryContractTradestatusResponse queryContractTradestatus(QueryContractTradestatusRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryContractTradestatusEx(request, headers, runtime);
}
/**
* Description: 代扣计划状态查询接口,仅能查询到由新状态机执行的代扣计划,未切换到新状态机的老数据查询不到
* Summary: 代扣计划状态查询
*/
public QueryContractTradestatusResponse queryContractTradestatusEx(QueryContractTradestatusRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.tradestatus.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryContractTradestatusResponse());
}
/**
* Description: 代扣退款查询,仅支持新代扣状态机处理过的数据,老状态机处理的数据无法查到。
* Summary: 代扣退款查询
*/
public QueryContractRefundResponse queryContractRefund(QueryContractRefundRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryContractRefundEx(request, headers, runtime);
}
/**
* Description: 代扣退款查询,仅支持新代扣状态机处理过的数据,老状态机处理的数据无法查到。
* Summary: 代扣退款查询
*/
public QueryContractRefundResponse queryContractRefundEx(QueryContractRefundRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.refund.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryContractRefundResponse());
}
/**
* Description: 私有云合同服务通过调用公有云合同服务,获取可公网访问的外部客户的签署地址
* Summary: 私有云服务获取外部用户签署地址
*/
public GetPrivatecontractSignurlResponse getPrivatecontractSignurl(GetPrivatecontractSignurlRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.getPrivatecontractSignurlEx(request, headers, runtime);
}
/**
* Description: 私有云合同服务通过调用公有云合同服务,获取可公网访问的外部客户的签署地址
* Summary: 私有云服务获取外部用户签署地址
*/
public GetPrivatecontractSignurlResponse getPrivatecontractSignurlEx(GetPrivatecontractSignurlRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.privatecontract.signurl.get", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new GetPrivatecontractSignurlResponse());
}
/**
* Description: 商户入驻直付通进度查询,替代twc.notary.contract.merchantindirectzft.query
* Summary: 商户入驻直付通进度查询
*/
public QueryContractMerchantorderResponse queryContractMerchantorder(QueryContractMerchantorderRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryContractMerchantorderEx(request, headers, runtime);
}
/**
* Description: 商户入驻直付通进度查询,替代twc.notary.contract.merchantindirectzft.query
* Summary: 商户入驻直付通进度查询
*/
public QueryContractMerchantorderResponse queryContractMerchantorderEx(QueryContractMerchantorderRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.merchantorder.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryContractMerchantorderResponse());
}
/**
* Description: 修改商户进件信息,单商户可能被多个用户代理,信息修改会生效到所有代理用户上。
* Summary: 商户进件信息修改
*/
public UpdateContractMerchantResponse updateContractMerchant(UpdateContractMerchantRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.updateContractMerchantEx(request, headers, runtime);
}
/**
* Description: 修改商户进件信息,单商户可能被多个用户代理,信息修改会生效到所有代理用户上。
* Summary: 商户进件信息修改
*/
public UpdateContractMerchantResponse updateContractMerchantEx(UpdateContractMerchantRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.merchant.update", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new UpdateContractMerchantResponse());
}
/**
* Description: 一个二级商户可以挂接多个平台方用户,此接口可以对已进件的商户进行挂接操作。
* Summary: 二级商户代理挂接接口
*/
public BindContractMerchantResponse bindContractMerchant(BindContractMerchantRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.bindContractMerchantEx(request, headers, runtime);
}
/**
* Description: 一个二级商户可以挂接多个平台方用户,此接口可以对已进件的商户进行挂接操作。
* Summary: 二级商户代理挂接接口
*/
public BindContractMerchantResponse bindContractMerchantEx(BindContractMerchantRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.merchant.bind", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new BindContractMerchantResponse());
}
/**
* Description: 初始化私有化合同服务实例,生成服务验签的公/私钥,以及回调使用的公/私钥
* Summary: 初始化新的私有化合同服务实例
*/
public InitPrivatecontractIntanceResponse initPrivatecontractIntance(InitPrivatecontractIntanceRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.initPrivatecontractIntanceEx(request, headers, runtime);
}
/**
* Description: 初始化私有化合同服务实例,生成服务验签的公/私钥,以及回调使用的公/私钥
* Summary: 初始化新的私有化合同服务实例
*/
public InitPrivatecontractIntanceResponse initPrivatecontractIntanceEx(InitPrivatecontractIntanceRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.privatecontract.intance.init", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new InitPrivatecontractIntanceResponse());
}
/**
* Description: 更新已有的私有化合同服务实例信息,如私有化服务地址
* Summary: 更新私有化合同服务实例信息
*/
public UpdatePrivatecontractIntanceResponse updatePrivatecontractIntance(UpdatePrivatecontractIntanceRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.updatePrivatecontractIntanceEx(request, headers, runtime);
}
/**
* Description: 更新已有的私有化合同服务实例信息,如私有化服务地址
* Summary: 更新私有化合同服务实例信息
*/
public UpdatePrivatecontractIntanceResponse updatePrivatecontractIntanceEx(UpdatePrivatecontractIntanceRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.privatecontract.intance.update", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new UpdatePrivatecontractIntanceResponse());
}
/**
* Description: 开放给私有云的外部用户的证书更新接口.
* Summary: 私有云用户证书更新接口.
*/
public UpdatePrivatecontractCertResponse updatePrivatecontractCert(UpdatePrivatecontractCertRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.updatePrivatecontractCertEx(request, headers, runtime);
}
/**
* Description: 开放给私有云的外部用户的证书更新接口.
* Summary: 私有云用户证书更新接口.
*/
public UpdatePrivatecontractCertResponse updatePrivatecontractCertEx(UpdatePrivatecontractCertRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.privatecontract.cert.update", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new UpdatePrivatecontractCertResponse());
}
/**
* Description: 修改商户进件申请信息状态数据,只允许超管租户操作
* Summary: 商户进件申请信息重置
*/
public ResetContractMerchantapplyResponse resetContractMerchantapply(ResetContractMerchantapplyRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.resetContractMerchantapplyEx(request, headers, runtime);
}
/**
* Description: 修改商户进件申请信息状态数据,只允许超管租户操作
* Summary: 商户进件申请信息重置
*/
public ResetContractMerchantapplyResponse resetContractMerchantapplyEx(ResetContractMerchantapplyRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.merchantapply.reset", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ResetContractMerchantapplyResponse());
}
/**
* Description: 内部接口,校验私有化合同服务实例权限状态,可能为开通/释放/恢复/停服等
* Summary: 校验私有化合同服务实例权限情况
*/
public CheckPrivatecontractProvisionResponse checkPrivatecontractProvision(CheckPrivatecontractProvisionRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.checkPrivatecontractProvisionEx(request, headers, runtime);
}
/**
* Description: 内部接口,校验私有化合同服务实例权限状态,可能为开通/释放/恢复/停服等
* Summary: 校验私有化合同服务实例权限情况
*/
public CheckPrivatecontractProvisionResponse checkPrivatecontractProvisionEx(CheckPrivatecontractProvisionRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.privatecontract.provision.check", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CheckPrivatecontractProvisionResponse());
}
/**
* Description: 私有化合同服务实例计量数据推送
* Summary: 私有化合同服务实例计量数据推送
*/
public PushPrivatecontractGaugeResponse pushPrivatecontractGauge(PushPrivatecontractGaugeRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.pushPrivatecontractGaugeEx(request, headers, runtime);
}
/**
* Description: 私有化合同服务实例计量数据推送
* Summary: 私有化合同服务实例计量数据推送
*/
public PushPrivatecontractGaugeResponse pushPrivatecontractGaugeEx(PushPrivatecontractGaugeRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.privatecontract.gauge.push", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new PushPrivatecontractGaugeResponse());
}
/**
* Description: 法院代扣链路,扣款前需要进行账户预校验,验证此接口是否可以进行付款
* Summary: 法院代扣账户扣款预校验
*/
public CheckContractCourtdeductResponse checkContractCourtdeduct(CheckContractCourtdeductRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.checkContractCourtdeductEx(request, headers, runtime);
}
/**
* Description: 法院代扣链路,扣款前需要进行账户预校验,验证此接口是否可以进行付款
* Summary: 法院代扣账户扣款预校验
*/
public CheckContractCourtdeductResponse checkContractCourtdeductEx(CheckContractCourtdeductRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.courtdeduct.check", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CheckContractCourtdeductResponse());
}
/**
* Description: 法院代扣计划创建
* Summary: 法院代扣计划创建
*/
public CreateContractCourtdeductResponse createContractCourtdeduct(CreateContractCourtdeductRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createContractCourtdeductEx(request, headers, runtime);
}
/**
* Description: 法院代扣计划创建
* Summary: 法院代扣计划创建
*/
public CreateContractCourtdeductResponse createContractCourtdeductEx(CreateContractCourtdeductRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.courtdeduct.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateContractCourtdeductResponse());
}
/**
* Description: 法院代扣执行扣款
* Summary: 法院代扣执行扣款
*/
public ExecContractCourtdeductResponse execContractCourtdeduct(ExecContractCourtdeductRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.execContractCourtdeductEx(request, headers, runtime);
}
/**
* Description: 法院代扣执行扣款
* Summary: 法院代扣执行扣款
*/
public ExecContractCourtdeductResponse execContractCourtdeductEx(ExecContractCourtdeductRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.courtdeduct.exec", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ExecContractCourtdeductResponse());
}
/**
* Description: 文本签名
* Summary: 文本签接口
*/
public GetContractTextsignResponse getContractTextsign(GetContractTextsignRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.getContractTextsignEx(request, headers, runtime);
}
/**
* Description: 文本签名
* Summary: 文本签接口
*/
public GetContractTextsignResponse getContractTextsignEx(GetContractTextsignRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.textsign.get", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new GetContractTextsignResponse());
}
/**
* Description: 文本验签
* Summary: 文本验签接口
*/
public VerifyContractTextsignResponse verifyContractTextsign(VerifyContractTextsignRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.verifyContractTextsignEx(request, headers, runtime);
}
/**
* Description: 文本验签
* Summary: 文本验签接口
*/
public VerifyContractTextsignResponse verifyContractTextsignEx(VerifyContractTextsignRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.textsign.verify", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new VerifyContractTextsignResponse());
}
/**
* Description: 文件签验签
* Summary: 文件签验签
*/
public VerifyContractDocsignResponse verifyContractDocsign(VerifyContractDocsignRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.verifyContractDocsignEx(request, headers, runtime);
}
/**
* Description: 文件签验签
* Summary: 文件签验签
*/
public VerifyContractDocsignResponse verifyContractDocsignEx(VerifyContractDocsignRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "twc.notary.contract.docsign.verify", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new VerifyContractDocsignResponse());
}
/**
* Description: 删除签署区
* Summary: 删除签署区
*/
public DeleteContractSignfieldResponse deleteContractSignfield(DeleteContractSignfieldRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map