com.antgroup.antchain.openapi.insurance_saas.Client Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-insurance_saas Show documentation
Show all versions of openapi-insurance_saas Show documentation
Ant Chain INSURANCE_SAAS SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.insurance_saas;
import com.aliyun.tea.*;
import com.aliyun.tea.interceptor.InterceptorChain;
import com.aliyun.tea.interceptor.RuntimeOptionsInterceptor;
import com.aliyun.tea.interceptor.RequestInterceptor;
import com.aliyun.tea.interceptor.ResponseInterceptor;
import com.antgroup.antchain.openapi.insurance_saas.models.*;
public class Client {
private final static InterceptorChain interceptorChain = InterceptorChain.create();
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(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);
}
/**
* Encapsulate the request and invoke the network
* @param action api name
* @param protocol http or https
* @param method e.g. GET
* @param pathname pathname of every api
* @param request which contains request params
* @param runtime which controls some details of call api, such as retry times
* @return the response
*/
public java.util.Map doRequest(String version, String action, String protocol, String method, String pathname, java.util.Map request, java.util.Map headers, com.aliyun.teautil.models.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.7.10"),
new TeaPair("_prod_code", "INSURANCE_SAAS"),
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, "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_, interceptorChain);
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);
}
public void addRuntimeOptionsInterceptor(RuntimeOptionsInterceptor interceptor) {
interceptorChain.addRuntimeOptionsInterceptor(interceptor);
}
public void addRequestInterceptor(RequestInterceptor interceptor) {
interceptorChain.addRequestInterceptor(interceptor);
}
public void addResponseInterceptor(ResponseInterceptor interceptor) {
interceptorChain.addResponseInterceptor(interceptor);
}
/**
* Description: 保险询报价结果查询
* Summary: 保险询报价结果查询
*/
public QueryInquiryResponse queryInquiry(QueryInquiryRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryInquiryEx(request, headers, runtime);
}
/**
* Description: 保险询报价结果查询
* Summary: 保险询报价结果查询
*/
public QueryInquiryResponse queryInquiryEx(QueryInquiryRequest request, java.util.Map headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "antcloud.insurance.inquiry.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryInquiryResponse());
}
/**
* Description: 保险产品询价
* Summary: 保险产品询价
*/
public SubmitInquiryResponse submitInquiry(SubmitInquiryRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.submitInquiryEx(request, headers, runtime);
}
/**
* Description: 保险产品询价
* Summary: 保险产品询价
*/
public SubmitInquiryResponse submitInquiryEx(SubmitInquiryRequest request, java.util.Map headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "antcloud.insurance.inquiry.submit", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new SubmitInquiryResponse());
}
/**
* Description: 历史灾害查询
* Summary: 历史灾害数据查询
*/
public QueryDataDisasterResponse queryDataDisaster(QueryDataDisasterRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryDataDisasterEx(request, headers, runtime);
}
/**
* Description: 历史灾害查询
* Summary: 历史灾害数据查询
*/
public QueryDataDisasterResponse queryDataDisasterEx(QueryDataDisasterRequest request, java.util.Map headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "antcloud.insurance.data.disaster.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryDataDisasterResponse());
}
/**
* Description: 实时天气预警
* Summary: 实时天气预警
*/
public QueryDataWeatherResponse queryDataWeather(QueryDataWeatherRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryDataWeatherEx(request, headers, runtime);
}
/**
* Description: 实时天气预警
* Summary: 实时天气预警
*/
public QueryDataWeatherResponse queryDataWeatherEx(QueryDataWeatherRequest request, java.util.Map headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "antcloud.insurance.data.weather.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryDataWeatherResponse());
}
/**
* Description: 报价接口同步接口
* Summary: 报价接口同步接口
*/
public SyncQuoteResponse syncQuote(SyncQuoteRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.syncQuoteEx(request, headers, runtime);
}
/**
* Description: 报价接口同步接口
* Summary: 报价接口同步接口
*/
public SyncQuoteResponse syncQuoteEx(SyncQuoteRequest request, java.util.Map headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "antcloud.insurance.quote.sync", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new SyncQuoteResponse());
}
/**
* Description: 承保自核申请接口
* Summary: 承保自核申请接口
*/
public ApplyUnderwritingResponse applyUnderwriting(ApplyUnderwritingRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.applyUnderwritingEx(request, headers, runtime);
}
/**
* Description: 承保自核申请接口
* Summary: 承保自核申请接口
*/
public ApplyUnderwritingResponse applyUnderwritingEx(ApplyUnderwritingRequest request, java.util.Map headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "antcloud.insurance.underwriting.apply", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ApplyUnderwritingResponse());
}
/**
* Description: 承保自核结果查询接口
* Summary: 承保自核结果查询接口
*/
public QueryUnderwritingResponse queryUnderwriting(QueryUnderwritingRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryUnderwritingEx(request, headers, runtime);
}
/**
* Description: 承保自核结果查询接口
* Summary: 承保自核结果查询接口
*/
public QueryUnderwritingResponse queryUnderwritingEx(QueryUnderwritingRequest request, java.util.Map headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "antcloud.insurance.underwriting.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryUnderwritingResponse());
}
/**
* Description: 根据保单号查询保单附件,并返回一个有效期为7天的ossurl
* Summary: 保险科技保单附件查询接口
*/
public QueryPolicyFileResponse queryPolicyFile(QueryPolicyFileRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryPolicyFileEx(request, headers, runtime);
}
/**
* Description: 根据保单号查询保单附件,并返回一个有效期为7天的ossurl
* Summary: 保险科技保单附件查询接口
*/
public QueryPolicyFileResponse queryPolicyFileEx(QueryPolicyFileRequest request, java.util.Map headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "antcloud.insurance.policy.file.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryPolicyFileResponse());
}
/**
* Description: 保险SaaS投保申请接口
* Summary: 投保申请接口
*/
public ApplyInsureResponse applyInsure(ApplyInsureRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.applyInsureEx(request, headers, runtime);
}
/**
* Description: 保险SaaS投保申请接口
* Summary: 投保申请接口
*/
public ApplyInsureResponse applyInsureEx(ApplyInsureRequest request, java.util.Map headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "antcloud.insurance.insure.apply", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ApplyInsureResponse());
}
/**
* Description: 保单结果同步,注意:基于投保信息的保单结果同步。
* Summary: 保单结果同步(依赖投保申请)
*/
public NotifyPolicyResultResponse notifyPolicyResult(NotifyPolicyResultRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.notifyPolicyResultEx(request, headers, runtime);
}
/**
* Description: 保单结果同步,注意:基于投保信息的保单结果同步。
* Summary: 保单结果同步(依赖投保申请)
*/
public NotifyPolicyResultResponse notifyPolicyResultEx(NotifyPolicyResultRequest request, java.util.Map headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "antcloud.insurance.policy.result.notify", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new NotifyPolicyResultResponse());
}
/**
* Description: 报案接口
* Summary: 保险科技 报案接口
*/
public ApplyClaimResponse applyClaim(ApplyClaimRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.applyClaimEx(request, headers, runtime);
}
/**
* Description: 报案接口
* Summary: 保险科技 报案接口
*/
public ApplyClaimResponse applyClaimEx(ApplyClaimRequest request, java.util.Map headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "antcloud.insurance.claim.apply", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ApplyClaimResponse());
}
/**
* Description: 报案撤销(场景端)
* Summary: 报案撤销(场景端)
*/
public CancelClaimResponse cancelClaim(CancelClaimRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.cancelClaimEx(request, headers, runtime);
}
/**
* Description: 报案撤销(场景端)
* Summary: 报案撤销(场景端)
*/
public CancelClaimResponse cancelClaimEx(CancelClaimRequest request, java.util.Map headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "antcloud.insurance.claim.cancel", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CancelClaimResponse());
}
/**
* Description: 报案材料更新(场景端)
* Summary: 报案材料更新(场景端)
*/
public UpdateClaimMaterialResponse updateClaimMaterial(UpdateClaimMaterialRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.updateClaimMaterialEx(request, headers, runtime);
}
/**
* Description: 报案材料更新(场景端)
* Summary: 报案材料更新(场景端)
*/
public UpdateClaimMaterialResponse updateClaimMaterialEx(UpdateClaimMaterialRequest request, java.util.Map headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "antcloud.insurance.claim.material.update", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new UpdateClaimMaterialResponse());
}
/**
* Description: 理赔结果确认(场景端)
* Summary: 理赔结果确认(场景端)
*/
public ConfirmClaimSettleResponse confirmClaimSettle(ConfirmClaimSettleRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.confirmClaimSettleEx(request, headers, runtime);
}
/**
* Description: 理赔结果确认(场景端)
* Summary: 理赔结果确认(场景端)
*/
public ConfirmClaimSettleResponse confirmClaimSettleEx(ConfirmClaimSettleRequest request, java.util.Map headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "antcloud.insurance.claim.settle.confirm", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ConfirmClaimSettleResponse());
}
/**
* Description: 理赔结案通知(保司端)
* Summary: 理赔结案通知(保司端)
*/
public FinishClaimSettleResponse finishClaimSettle(FinishClaimSettleRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.finishClaimSettleEx(request, headers, runtime);
}
/**
* Description: 理赔结案通知(保司端)
* Summary: 理赔结案通知(保司端)
*/
public FinishClaimSettleResponse finishClaimSettleEx(FinishClaimSettleRequest request, java.util.Map headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "antcloud.insurance.claim.settle.finish", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new FinishClaimSettleResponse());
}
/**
* Description: 保险批改自核接口
* Summary: 保险批改自核接口
*/
public ApplyEndorsementStrategyResponse applyEndorsementStrategy(ApplyEndorsementStrategyRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.applyEndorsementStrategyEx(request, headers, runtime);
}
/**
* Description: 保险批改自核接口
* Summary: 保险批改自核接口
*/
public ApplyEndorsementStrategyResponse applyEndorsementStrategyEx(ApplyEndorsementStrategyRequest request, java.util.Map headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "antcloud.insurance.endorsement.strategy.apply", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ApplyEndorsementStrategyResponse());
}
/**
* Description: 保单信息离线同步
* Summary: 保单信息离线同步
*/
public SyncPolicyResultResponse syncPolicyResult(SyncPolicyResultRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.syncPolicyResultEx(request, headers, runtime);
}
/**
* Description: 保单信息离线同步
* Summary: 保单信息离线同步
*/
public SyncPolicyResultResponse syncPolicyResultEx(SyncPolicyResultRequest request, java.util.Map headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "antcloud.insurance.policy.result.sync", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new SyncPolicyResultResponse());
}
/**
* Description: 基于通知单号查询保险投保结果
* Summary: 保险投保结果查询
*/
public QueryInsureResultResponse queryInsureResult(QueryInsureResultRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryInsureResultEx(request, headers, runtime);
}
/**
* Description: 基于通知单号查询保险投保结果
* Summary: 保险投保结果查询
*/
public QueryInsureResultResponse queryInsureResultEx(QueryInsureResultRequest request, java.util.Map headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "antcloud.insurance.insure.result.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryInsureResultResponse());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy