com.antgroup.antchain.openapi.baasdt.Client Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-baasdt Show documentation
Show all versions of openapi-baasdt Show documentation
Ant Chain BAASDT SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.baasdt;
import com.aliyun.tea.*;
import com.antgroup.antchain.openapi.baasdt.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.3.82"),
new TeaPair("_prod_code", "BAASDT"),
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_);
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: 创建卡密,卡密托管服务调用,需要传入交易的签名
* Summary: 数字商品服务-电子券卡密服务-创建卡密
*/
public ExecCardCreateResponse execCardCreate(ExecCardCreateRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.execCardCreateEx(request, headers, runtime);
}
/**
* Description: 创建卡密,卡密托管服务调用,需要传入交易的签名
* Summary: 数字商品服务-电子券卡密服务-创建卡密
*/
public ExecCardCreateResponse execCardCreateEx(ExecCardCreateRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.card.create.exec", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ExecCardCreateResponse());
}
/**
* Description: 查询卡密,卡密托管服务调用,需要传入交易的签名
* Summary: 数字商品服务-电子券卡密服务-查询卡密
*/
public ExecCardQueryResponse execCardQuery(ExecCardQueryRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.execCardQueryEx(request, headers, runtime);
}
/**
* Description: 查询卡密,卡密托管服务调用,需要传入交易的签名
* Summary: 数字商品服务-电子券卡密服务-查询卡密
*/
public ExecCardQueryResponse execCardQueryEx(ExecCardQueryRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.card.query.exec", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ExecCardQueryResponse());
}
/**
* Description: 记名卡密,卡密托管服务调用,需要传入交易的签名
* Summary: 数字商品服务-电子券卡密服务-记名卡发行
*/
public ExecCardBindnameResponse execCardBindname(ExecCardBindnameRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.execCardBindnameEx(request, headers, runtime);
}
/**
* Description: 记名卡密,卡密托管服务调用,需要传入交易的签名
* Summary: 数字商品服务-电子券卡密服务-记名卡发行
*/
public ExecCardBindnameResponse execCardBindnameEx(ExecCardBindnameRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.card.bindname.exec", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ExecCardBindnameResponse());
}
/**
* Description: 充值卡密,卡密托管服务调用,需要传入交易的签名
* Summary: 数字商品服务-电子券卡密服务-充值卡密
*/
public ExecCardChargeResponse execCardCharge(ExecCardChargeRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.execCardChargeEx(request, headers, runtime);
}
/**
* Description: 充值卡密,卡密托管服务调用,需要传入交易的签名
* Summary: 数字商品服务-电子券卡密服务-充值卡密
*/
public ExecCardChargeResponse execCardChargeEx(ExecCardChargeRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.card.charge.exec", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ExecCardChargeResponse());
}
/**
* Description: 核销卡密,卡密托管服务调用,需要传入交易的签名
* Summary: 数字商品服务-电子券卡密服务-核销卡密
*/
public ExecCardWriteoffResponse execCardWriteoff(ExecCardWriteoffRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.execCardWriteoffEx(request, headers, runtime);
}
/**
* Description: 核销卡密,卡密托管服务调用,需要传入交易的签名
* Summary: 数字商品服务-电子券卡密服务-核销卡密
*/
public ExecCardWriteoffResponse execCardWriteoffEx(ExecCardWriteoffRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.card.writeoff.exec", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ExecCardWriteoffResponse());
}
/**
* Description: 过期卡密,卡密托管服务调用,需要传入交易的签名
* Summary: 数字商品服务-电子券卡密服务-过期卡密
*/
public ExecCardExpiredResponse execCardExpired(ExecCardExpiredRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.execCardExpiredEx(request, headers, runtime);
}
/**
* Description: 过期卡密,卡密托管服务调用,需要传入交易的签名
* Summary: 数字商品服务-电子券卡密服务-过期卡密
*/
public ExecCardExpiredResponse execCardExpiredEx(ExecCardExpiredRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.card.expired.exec", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ExecCardExpiredResponse());
}
/**
* Description: 风控禁用卡密,卡密托管服务调用,需要传入交易的签名
* Summary: 数字商品服务-电子券卡密服务-风控禁用
*/
public ExecCardForbiddenResponse execCardForbidden(ExecCardForbiddenRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.execCardForbiddenEx(request, headers, runtime);
}
/**
* Description: 风控禁用卡密,卡密托管服务调用,需要传入交易的签名
* Summary: 数字商品服务-电子券卡密服务-风控禁用
*/
public ExecCardForbiddenResponse execCardForbiddenEx(ExecCardForbiddenRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.card.forbidden.exec", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ExecCardForbiddenResponse());
}
/**
* Description: 充值重置卡密,卡密托管服务调用,需要传入交易的签名
* Summary: 数字商品服务-电子券卡密服务-充值重置
*/
public ExecCardChargeresetResponse execCardChargereset(ExecCardChargeresetRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.execCardChargeresetEx(request, headers, runtime);
}
/**
* Description: 充值重置卡密,卡密托管服务调用,需要传入交易的签名
* Summary: 数字商品服务-电子券卡密服务-充值重置
*/
public ExecCardChargeresetResponse execCardChargeresetEx(ExecCardChargeresetRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.card.chargereset.exec", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ExecCardChargeresetResponse());
}
/**
* Description: 个人或机构账户注册
* Summary: 数字商品服务-消费卡服务-个人/机构注册
*/
public CreateConsumecardAccountResponse createConsumecardAccount(CreateConsumecardAccountRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createConsumecardAccountEx(request, headers, runtime);
}
/**
* Description: 个人或机构账户注册
* Summary: 数字商品服务-消费卡服务-个人/机构注册
*/
public CreateConsumecardAccountResponse createConsumecardAccountEx(CreateConsumecardAccountRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.account.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateConsumecardAccountResponse());
}
/**
* Description: 个人/机构账户注销
* Summary: 数字商品服务-消费卡服务-个人/机构注销
*/
public OfflineConsumecardAccountResponse offlineConsumecardAccount(OfflineConsumecardAccountRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.offlineConsumecardAccountEx(request, headers, runtime);
}
/**
* Description: 个人/机构账户注销
* Summary: 数字商品服务-消费卡服务-个人/机构注销
*/
public OfflineConsumecardAccountResponse offlineConsumecardAccountEx(OfflineConsumecardAccountRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.account.offline", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new OfflineConsumecardAccountResponse());
}
/**
* Description: 企业消费卡余额回退
* Summary: 数字商品服务-消费卡服务-企业消费卡回退
*/
public ReclaimConsumecardWalletResponse reclaimConsumecardWallet(ReclaimConsumecardWalletRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.reclaimConsumecardWalletEx(request, headers, runtime);
}
/**
* Description: 企业消费卡余额回退
* Summary: 数字商品服务-消费卡服务-企业消费卡回退
*/
public ReclaimConsumecardWalletResponse reclaimConsumecardWalletEx(ReclaimConsumecardWalletRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.wallet.reclaim", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ReclaimConsumecardWalletResponse());
}
/**
* Description: 个人/机构账户禁用
* Summary: 数字商品服务-消费卡服务-账户禁用
*/
public FreezeConsumecardAccountResponse freezeConsumecardAccount(FreezeConsumecardAccountRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.freezeConsumecardAccountEx(request, headers, runtime);
}
/**
* Description: 个人/机构账户禁用
* Summary: 数字商品服务-消费卡服务-账户禁用
*/
public FreezeConsumecardAccountResponse freezeConsumecardAccountEx(FreezeConsumecardAccountRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.account.freeze", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new FreezeConsumecardAccountResponse());
}
/**
* Description: 个人/机构账户解禁
* Summary: 数字商品服务-消费卡服务-账户解禁
*/
public UnfreezeConsumecardAccountResponse unfreezeConsumecardAccount(UnfreezeConsumecardAccountRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.unfreezeConsumecardAccountEx(request, headers, runtime);
}
/**
* Description: 个人/机构账户解禁
* Summary: 数字商品服务-消费卡服务-账户解禁
*/
public UnfreezeConsumecardAccountResponse unfreezeConsumecardAccountEx(UnfreezeConsumecardAccountRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.account.unfreeze", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new UnfreezeConsumecardAccountResponse());
}
/**
* Description: 消费卡风控调整(特殊权限,暂不开放)
* Summary: 数字商品服务-消费卡服务-消费卡风控调整
*/
public UpdateConsumecardRiskcontrolResponse updateConsumecardRiskcontrol(UpdateConsumecardRiskcontrolRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.updateConsumecardRiskcontrolEx(request, headers, runtime);
}
/**
* Description: 消费卡风控调整(特殊权限,暂不开放)
* Summary: 数字商品服务-消费卡服务-消费卡风控调整
*/
public UpdateConsumecardRiskcontrolResponse updateConsumecardRiskcontrolEx(UpdateConsumecardRiskcontrolRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.riskcontrol.update", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new UpdateConsumecardRiskcontrolResponse());
}
/**
* Description: 账单查询
* Summary: 数字商品服务-消费卡服务-账单查询
*/
public QueryConsumecardBillResponse queryConsumecardBill(QueryConsumecardBillRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryConsumecardBillEx(request, headers, runtime);
}
/**
* Description: 账单查询
* Summary: 数字商品服务-消费卡服务-账单查询
*/
public QueryConsumecardBillResponse queryConsumecardBillEx(QueryConsumecardBillRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.bill.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryConsumecardBillResponse());
}
/**
* Description: 企业消费卡充值冻结
* Summary: 数字商品服务-消费卡服务-消费卡充值冻结
*/
public ChargeConsumecardWalletResponse chargeConsumecardWallet(ChargeConsumecardWalletRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.chargeConsumecardWalletEx(request, headers, runtime);
}
/**
* Description: 企业消费卡充值冻结
* Summary: 数字商品服务-消费卡服务-消费卡充值冻结
*/
public ChargeConsumecardWalletResponse chargeConsumecardWalletEx(ChargeConsumecardWalletRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.wallet.charge", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ChargeConsumecardWalletResponse());
}
/**
* Description: 更账户信息
* Summary: 数字商品服务-消费卡服务-更新账户
*/
public UpdateConsumecardAccountResponse updateConsumecardAccount(UpdateConsumecardAccountRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.updateConsumecardAccountEx(request, headers, runtime);
}
/**
* Description: 更账户信息
* Summary: 数字商品服务-消费卡服务-更新账户
*/
public UpdateConsumecardAccountResponse updateConsumecardAccountEx(UpdateConsumecardAccountRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.account.update", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new UpdateConsumecardAccountResponse());
}
/**
* Description: 账单创建
* Summary: 数字商品服务-消费卡服务-账单创建
*/
public CreateConsumecardBillResponse createConsumecardBill(CreateConsumecardBillRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createConsumecardBillEx(request, headers, runtime);
}
/**
* Description: 账单创建
* Summary: 数字商品服务-消费卡服务-账单创建
*/
public CreateConsumecardBillResponse createConsumecardBillEx(CreateConsumecardBillRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.bill.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateConsumecardBillResponse());
}
/**
* Description: 账单创建确认成功或失败
* Summary: 数字商品服务-消费卡服务-账单创建确认
*/
public ConfirmConsumecardBillcreateResponse confirmConsumecardBillcreate(ConfirmConsumecardBillcreateRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.confirmConsumecardBillcreateEx(request, headers, runtime);
}
/**
* Description: 账单创建确认成功或失败
* Summary: 数字商品服务-消费卡服务-账单创建确认
*/
public ConfirmConsumecardBillcreateResponse confirmConsumecardBillcreateEx(ConfirmConsumecardBillcreateRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.billcreate.confirm", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ConfirmConsumecardBillcreateResponse());
}
/**
* Description: 账单取消
* Summary: 数字商品服务-消费卡服务-取消账单
*/
public CancelConsumecardBillResponse cancelConsumecardBill(CancelConsumecardBillRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.cancelConsumecardBillEx(request, headers, runtime);
}
/**
* Description: 账单取消
* Summary: 数字商品服务-消费卡服务-取消账单
*/
public CancelConsumecardBillResponse cancelConsumecardBillEx(CancelConsumecardBillRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.bill.cancel", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CancelConsumecardBillResponse());
}
/**
* Description: 账单支付
* Summary: 数字商品服务-消费卡服务-账单支付
*/
public ExecConsumecardBillpayResponse execConsumecardBillpay(ExecConsumecardBillpayRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.execConsumecardBillpayEx(request, headers, runtime);
}
/**
* Description: 账单支付
* Summary: 数字商品服务-消费卡服务-账单支付
*/
public ExecConsumecardBillpayResponse execConsumecardBillpayEx(ExecConsumecardBillpayRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.billpay.exec", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ExecConsumecardBillpayResponse());
}
/**
* Description: 账单核销和交易核销,传入交易类型和订单Id
* Summary: 数字商品服务-消费卡服务-账单和交易核销
*/
public ExecConsumecardOrderwriteoffResponse execConsumecardOrderwriteoff(ExecConsumecardOrderwriteoffRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.execConsumecardOrderwriteoffEx(request, headers, runtime);
}
/**
* Description: 账单核销和交易核销,传入交易类型和订单Id
* Summary: 数字商品服务-消费卡服务-账单和交易核销
*/
public ExecConsumecardOrderwriteoffResponse execConsumecardOrderwriteoffEx(ExecConsumecardOrderwriteoffRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.orderwriteoff.exec", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ExecConsumecardOrderwriteoffResponse());
}
/**
* Description: 处理买家的退款申请,接受退款或者拒绝退款
* Summary: 数字商品服务-消费卡服务-账单退款处理
*/
public ConfirmConsumecardBillrefundResponse confirmConsumecardBillrefund(ConfirmConsumecardBillrefundRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.confirmConsumecardBillrefundEx(request, headers, runtime);
}
/**
* Description: 处理买家的退款申请,接受退款或者拒绝退款
* Summary: 数字商品服务-消费卡服务-账单退款处理
*/
public ConfirmConsumecardBillrefundResponse confirmConsumecardBillrefundEx(ConfirmConsumecardBillrefundRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.billrefund.confirm", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ConfirmConsumecardBillrefundResponse());
}
/**
* Description: 查询账户信息
* Summary: 数字商品服务-消费卡服务-查询账户信息
*/
public QueryConsumecardAccountResponse queryConsumecardAccount(QueryConsumecardAccountRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryConsumecardAccountEx(request, headers, runtime);
}
/**
* Description: 查询账户信息
* Summary: 数字商品服务-消费卡服务-查询账户信息
*/
public QueryConsumecardAccountResponse queryConsumecardAccountEx(QueryConsumecardAccountRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.account.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryConsumecardAccountResponse());
}
/**
* Description: 开通钱包
* Summary: 数字商品服务-消费卡服务-开通钱包
*/
public OpenConsumecardWalletResponse openConsumecardWallet(OpenConsumecardWalletRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.openConsumecardWalletEx(request, headers, runtime);
}
/**
* Description: 开通钱包
* Summary: 数字商品服务-消费卡服务-开通钱包
*/
public OpenConsumecardWalletResponse openConsumecardWalletEx(OpenConsumecardWalletRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.wallet.open", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new OpenConsumecardWalletResponse());
}
/**
* Description: 查询钱包信息
* Summary: 数字商品服务-消费卡服务-查询钱包
*/
public QueryConsumecardWalletResponse queryConsumecardWallet(QueryConsumecardWalletRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryConsumecardWalletEx(request, headers, runtime);
}
/**
* Description: 查询钱包信息
* Summary: 数字商品服务-消费卡服务-查询钱包
*/
public QueryConsumecardWalletResponse queryConsumecardWalletEx(QueryConsumecardWalletRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.wallet.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryConsumecardWalletResponse());
}
/**
* Description: 充值并兑换token,资金托管员权限,运营平台无权限。
* Summary: 数字商品服务-消费卡服务-充值并兑换资产
*/
public ExecConsumecardWalletchargetotokenResponse execConsumecardWalletchargetotoken(ExecConsumecardWalletchargetotokenRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.execConsumecardWalletchargetotokenEx(request, headers, runtime);
}
/**
* Description: 充值并兑换token,资金托管员权限,运营平台无权限。
* Summary: 数字商品服务-消费卡服务-充值并兑换资产
*/
public ExecConsumecardWalletchargetotokenResponse execConsumecardWalletchargetotokenEx(ExecConsumecardWalletchargetotokenRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.walletchargetotoken.exec", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ExecConsumecardWalletchargetotokenResponse());
}
/**
* Description: 湮灭自己发行的token并提现
* Summary: 数字商品服务-消费卡服务-湮灭资产并提现
*/
public ExecConsumecardWalletredeemtokenResponse execConsumecardWalletredeemtoken(ExecConsumecardWalletredeemtokenRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.execConsumecardWalletredeemtokenEx(request, headers, runtime);
}
/**
* Description: 湮灭自己发行的token并提现
* Summary: 数字商品服务-消费卡服务-湮灭资产并提现
*/
public ExecConsumecardWalletredeemtokenResponse execConsumecardWalletredeemtokenEx(ExecConsumecardWalletredeemtokenRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.walletredeemtoken.exec", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ExecConsumecardWalletredeemtokenResponse());
}
/**
* Description: 买家发起交易
* Summary: 数字商品服务-消费卡服务-买家发起交易
*/
public StartConsumecardPurchaseResponse startConsumecardPurchase(StartConsumecardPurchaseRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.startConsumecardPurchaseEx(request, headers, runtime);
}
/**
* Description: 买家发起交易
* Summary: 数字商品服务-消费卡服务-买家发起交易
*/
public StartConsumecardPurchaseResponse startConsumecardPurchaseEx(StartConsumecardPurchaseRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.purchase.start", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new StartConsumecardPurchaseResponse());
}
/**
* Description: 取消交易,买家发起
* Summary: 数字商品服务-消费卡服务-买家取消交易
*/
public CancelConsumecardBuyerpurchaseResponse cancelConsumecardBuyerpurchase(CancelConsumecardBuyerpurchaseRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.cancelConsumecardBuyerpurchaseEx(request, headers, runtime);
}
/**
* Description: 取消交易,买家发起
* Summary: 数字商品服务-消费卡服务-买家取消交易
*/
public CancelConsumecardBuyerpurchaseResponse cancelConsumecardBuyerpurchaseEx(CancelConsumecardBuyerpurchaseRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.buyerpurchase.cancel", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CancelConsumecardBuyerpurchaseResponse());
}
/**
* Description: 买家申请退款
* Summary: 数字商品服务-消费卡服务-买家申请退款
*/
public ApplyConsumecardPurchaserefundResponse applyConsumecardPurchaserefund(ApplyConsumecardPurchaserefundRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.applyConsumecardPurchaserefundEx(request, headers, runtime);
}
/**
* Description: 买家申请退款
* Summary: 数字商品服务-消费卡服务-买家申请退款
*/
public ApplyConsumecardPurchaserefundResponse applyConsumecardPurchaserefundEx(ApplyConsumecardPurchaserefundRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.purchaserefund.apply", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ApplyConsumecardPurchaserefundResponse());
}
/**
* Description: 买家申请售后
* Summary: 数字商品服务-消费卡服务-买家申请售后
*/
public ApplyConsumecardPurchasereplaceResponse applyConsumecardPurchasereplace(ApplyConsumecardPurchasereplaceRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.applyConsumecardPurchasereplaceEx(request, headers, runtime);
}
/**
* Description: 买家申请售后
* Summary: 数字商品服务-消费卡服务-买家申请售后
*/
public ApplyConsumecardPurchasereplaceResponse applyConsumecardPurchasereplaceEx(ApplyConsumecardPurchasereplaceRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.purchasereplace.apply", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ApplyConsumecardPurchasereplaceResponse());
}
/**
* Description: 买家确认收货
* Summary: 数字商品服务-消费卡服务-买家确认收货
*/
public ExecConsumecardPurchasereceiveResponse execConsumecardPurchasereceive(ExecConsumecardPurchasereceiveRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.execConsumecardPurchasereceiveEx(request, headers, runtime);
}
/**
* Description: 买家确认收货
* Summary: 数字商品服务-消费卡服务-买家确认收货
*/
public ExecConsumecardPurchasereceiveResponse execConsumecardPurchasereceiveEx(ExecConsumecardPurchasereceiveRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.purchasereceive.exec", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ExecConsumecardPurchasereceiveResponse());
}
/**
* Description: 卖家拒绝交易
* Summary: 数字商品服务-消费卡服务-卖家拒绝交易
*/
public RefuseConsumecardPurchaseResponse refuseConsumecardPurchase(RefuseConsumecardPurchaseRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.refuseConsumecardPurchaseEx(request, headers, runtime);
}
/**
* Description: 卖家拒绝交易
* Summary: 数字商品服务-消费卡服务-卖家拒绝交易
*/
public RefuseConsumecardPurchaseResponse refuseConsumecardPurchaseEx(RefuseConsumecardPurchaseRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.purchase.refuse", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new RefuseConsumecardPurchaseResponse());
}
/**
* Description: 卖家退款操作。可以同意退款和拒绝退款。
* Summary: 数字商品服务-消费卡服务-卖家退款操作
*/
public SetConsumecardPurchaserefundResponse setConsumecardPurchaserefund(SetConsumecardPurchaserefundRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.setConsumecardPurchaserefundEx(request, headers, runtime);
}
/**
* Description: 卖家退款操作。可以同意退款和拒绝退款。
* Summary: 数字商品服务-消费卡服务-卖家退款操作
*/
public SetConsumecardPurchaserefundResponse setConsumecardPurchaserefundEx(SetConsumecardPurchaserefundRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.purchaserefund.set", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new SetConsumecardPurchaserefundResponse());
}
/**
* Description: 卖家换货操作。可以同意换货,拒绝换货
* Summary: 数字商品服务-消费卡服务-卖家换货操作
*/
public SetConsumecardPurchasereplaceResponse setConsumecardPurchasereplace(SetConsumecardPurchasereplaceRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.setConsumecardPurchasereplaceEx(request, headers, runtime);
}
/**
* Description: 卖家换货操作。可以同意换货,拒绝换货
* Summary: 数字商品服务-消费卡服务-卖家换货操作
*/
public SetConsumecardPurchasereplaceResponse setConsumecardPurchasereplaceEx(SetConsumecardPurchasereplaceRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.purchasereplace.set", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new SetConsumecardPurchasereplaceResponse());
}
/**
* Description: 卖家接单
* Summary: 数字商品服务-消费卡服务-卖家接单
*/
public ConfirmConsumecardPurchaseResponse confirmConsumecardPurchase(ConfirmConsumecardPurchaseRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.confirmConsumecardPurchaseEx(request, headers, runtime);
}
/**
* Description: 卖家接单
* Summary: 数字商品服务-消费卡服务-卖家接单
*/
public ConfirmConsumecardPurchaseResponse confirmConsumecardPurchaseEx(ConfirmConsumecardPurchaseRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.purchase.confirm", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ConfirmConsumecardPurchaseResponse());
}
/**
* Description: 卖家发货
* Summary: 数字商品服务-消费卡服务-卖家发货
*/
public SendConsumecardPurchaseResponse sendConsumecardPurchase(SendConsumecardPurchaseRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.sendConsumecardPurchaseEx(request, headers, runtime);
}
/**
* Description: 卖家发货
* Summary: 数字商品服务-消费卡服务-卖家发货
*/
public SendConsumecardPurchaseResponse sendConsumecardPurchaseEx(SendConsumecardPurchaseRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.purchase.send", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new SendConsumecardPurchaseResponse());
}
/**
* Description: 卖家售后补发货
* Summary: 数字商品服务-消费卡服务-卖家售后补发货
*/
public ReplaceConsumecardPurchaseResponse replaceConsumecardPurchase(ReplaceConsumecardPurchaseRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.replaceConsumecardPurchaseEx(request, headers, runtime);
}
/**
* Description: 卖家售后补发货
* Summary: 数字商品服务-消费卡服务-卖家售后补发货
*/
public ReplaceConsumecardPurchaseResponse replaceConsumecardPurchaseEx(ReplaceConsumecardPurchaseRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.purchase.replace", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ReplaceConsumecardPurchaseResponse());
}
/**
* Description: 发布商品
* Summary: 数字商品服务-消费卡服务-发布商品
*/
public CreateConsumecardGoodsResponse createConsumecardGoods(CreateConsumecardGoodsRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createConsumecardGoodsEx(request, headers, runtime);
}
/**
* Description: 发布商品
* Summary: 数字商品服务-消费卡服务-发布商品
*/
public CreateConsumecardGoodsResponse createConsumecardGoodsEx(CreateConsumecardGoodsRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.goods.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateConsumecardGoodsResponse());
}
/**
* Description: 更新商品信息
* Summary: 数字商品服务-消费卡服务-更新商品信息
*/
public UpdateConsumecardGoodsResponse updateConsumecardGoods(UpdateConsumecardGoodsRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.updateConsumecardGoodsEx(request, headers, runtime);
}
/**
* Description: 更新商品信息
* Summary: 数字商品服务-消费卡服务-更新商品信息
*/
public UpdateConsumecardGoodsResponse updateConsumecardGoodsEx(UpdateConsumecardGoodsRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.goods.update", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new UpdateConsumecardGoodsResponse());
}
/**
* Description: 商品开放购买权限给指定账户
* Summary: 数字商品服务-消费卡服务-开放购买权限
*/
public OpenConsumecardGoodstocustomResponse openConsumecardGoodstocustom(OpenConsumecardGoodstocustomRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.openConsumecardGoodstocustomEx(request, headers, runtime);
}
/**
* Description: 商品开放购买权限给指定账户
* Summary: 数字商品服务-消费卡服务-开放购买权限
*/
public OpenConsumecardGoodstocustomResponse openConsumecardGoodstocustomEx(OpenConsumecardGoodstocustomRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.goodstocustom.open", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new OpenConsumecardGoodstocustomResponse());
}
/**
* Description: 新增商品类别
* Summary: 数字商品服务-消费卡服务-新增商品类别
*/
public CreateConsumecardGoodscategoryResponse createConsumecardGoodscategory(CreateConsumecardGoodscategoryRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createConsumecardGoodscategoryEx(request, headers, runtime);
}
/**
* Description: 新增商品类别
* Summary: 数字商品服务-消费卡服务-新增商品类别
*/
public CreateConsumecardGoodscategoryResponse createConsumecardGoodscategoryEx(CreateConsumecardGoodscategoryRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.goodscategory.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateConsumecardGoodscategoryResponse());
}
/**
* Description: 设置商品一客一价
* Summary: 数字商品服务-消费卡服务-设置一客一价
*/
public SetConsumecardGoodscustompriceResponse setConsumecardGoodscustomprice(SetConsumecardGoodscustompriceRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.setConsumecardGoodscustompriceEx(request, headers, runtime);
}
/**
* Description: 设置商品一客一价
* Summary: 数字商品服务-消费卡服务-设置一客一价
*/
public SetConsumecardGoodscustompriceResponse setConsumecardGoodscustompriceEx(SetConsumecardGoodscustompriceRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.goodscustomprice.set", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new SetConsumecardGoodscustompriceResponse());
}
/**
* Description: 上传图片获取URL
* Summary: 数字商品服务-消费卡服务-上传图片
*/
public UploadConsumecardGoodsimageResponse uploadConsumecardGoodsimage(UploadConsumecardGoodsimageRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.uploadConsumecardGoodsimageEx(request, headers, runtime);
}
/**
* Description: 上传图片获取URL
* Summary: 数字商品服务-消费卡服务-上传图片
*/
public UploadConsumecardGoodsimageResponse uploadConsumecardGoodsimageEx(UploadConsumecardGoodsimageRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.goodsimage.upload", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new UploadConsumecardGoodsimageResponse());
}
/**
* Description: 机构订单提现试算
* Summary: 数字商品服务-消费卡服务-企业提现试算
*/
public ExecConsumecardOrdertrywithdrawResponse execConsumecardOrdertrywithdraw(ExecConsumecardOrdertrywithdrawRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.execConsumecardOrdertrywithdrawEx(request, headers, runtime);
}
/**
* Description: 机构订单提现试算
* Summary: 数字商品服务-消费卡服务-企业提现试算
*/
public ExecConsumecardOrdertrywithdrawResponse execConsumecardOrdertrywithdrawEx(ExecConsumecardOrdertrywithdrawRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.ordertrywithdraw.exec", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ExecConsumecardOrdertrywithdrawResponse());
}
/**
* Description: 机构订单提现(区块区间模式),传入要提现的区块区间,提现该区间的交易
* Summary: 数字商品服务-消费卡服务-根据区块提现
*/
public ExecConsumecardOrderwithdrawbyblocknumResponse execConsumecardOrderwithdrawbyblocknum(ExecConsumecardOrderwithdrawbyblocknumRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.execConsumecardOrderwithdrawbyblocknumEx(request, headers, runtime);
}
/**
* Description: 机构订单提现(区块区间模式),传入要提现的区块区间,提现该区间的交易
* Summary: 数字商品服务-消费卡服务-根据区块提现
*/
public ExecConsumecardOrderwithdrawbyblocknumResponse execConsumecardOrderwithdrawbyblocknumEx(ExecConsumecardOrderwithdrawbyblocknumRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.orderwithdrawbyblocknum.exec", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ExecConsumecardOrderwithdrawbyblocknumResponse());
}
/**
* Description: 机构订单提现(订单列表模式),传入要提现的订单ID列表
* Summary: 数字商品服务-消费卡服务-根据订单表提现
*/
public ExecConsumecardOrderwithdrawbyidsResponse execConsumecardOrderwithdrawbyids(ExecConsumecardOrderwithdrawbyidsRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.execConsumecardOrderwithdrawbyidsEx(request, headers, runtime);
}
/**
* Description: 机构订单提现(订单列表模式),传入要提现的订单ID列表
* Summary: 数字商品服务-消费卡服务-根据订单表提现
*/
public ExecConsumecardOrderwithdrawbyidsResponse execConsumecardOrderwithdrawbyidsEx(ExecConsumecardOrderwithdrawbyidsRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.orderwithdrawbyids.exec", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ExecConsumecardOrderwithdrawbyidsResponse());
}
/**
* Description: 根据提现单号获取提现结果
* Summary: 数字商品服务-消费卡服务-获取提现结果
*/
public GetConsumecardOrderwithdrawresultResponse getConsumecardOrderwithdrawresult(GetConsumecardOrderwithdrawresultRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.getConsumecardOrderwithdrawresultEx(request, headers, runtime);
}
/**
* Description: 根据提现单号获取提现结果
* Summary: 数字商品服务-消费卡服务-获取提现结果
*/
public GetConsumecardOrderwithdrawresultResponse getConsumecardOrderwithdrawresultEx(GetConsumecardOrderwithdrawresultRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.orderwithdrawresult.get", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new GetConsumecardOrderwithdrawresultResponse());
}
/**
* Description: 注销前需要回退资金,查询账户可回退金额
* Summary: 数字商品服务-消费卡服务-查询可回退金额
*/
public QueryConsumecardWalletredeemableResponse queryConsumecardWalletredeemable(QueryConsumecardWalletredeemableRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryConsumecardWalletredeemableEx(request, headers, runtime);
}
/**
* Description: 注销前需要回退资金,查询账户可回退金额
* Summary: 数字商品服务-消费卡服务-查询可回退金额
*/
public QueryConsumecardWalletredeemableResponse queryConsumecardWalletredeemableEx(QueryConsumecardWalletredeemableRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.walletredeemable.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryConsumecardWalletredeemableResponse());
}
/**
* Description: 发布商品是异步流程,根据requestId查询商品发布结果
* Summary: 数字商品服务-消费卡服务-查询商品发布
*/
public QueryConsumecardGoodscreateresultResponse queryConsumecardGoodscreateresult(QueryConsumecardGoodscreateresultRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryConsumecardGoodscreateresultEx(request, headers, runtime);
}
/**
* Description: 发布商品是异步流程,根据requestId查询商品发布结果
* Summary: 数字商品服务-消费卡服务-查询商品发布
*/
public QueryConsumecardGoodscreateresultResponse queryConsumecardGoodscreateresultEx(QueryConsumecardGoodscreateresultRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.goodscreateresult.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryConsumecardGoodscreateresultResponse());
}
/**
* Description: 查询消费卡商品信息
* Summary: 数字商品服务-消费卡服务-查询商品信息
*/
public QueryConsumecardGoodsResponse queryConsumecardGoods(QueryConsumecardGoodsRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryConsumecardGoodsEx(request, headers, runtime);
}
/**
* Description: 查询消费卡商品信息
* Summary: 数字商品服务-消费卡服务-查询商品信息
*/
public QueryConsumecardGoodsResponse queryConsumecardGoodsEx(QueryConsumecardGoodsRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.goods.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryConsumecardGoodsResponse());
}
/**
* Description: 账单退款申请
* Summary: 数字商品服务-消费卡服务-账单退款申请
*/
public ApplyConsumecardBillrefundResponse applyConsumecardBillrefund(ApplyConsumecardBillrefundRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.applyConsumecardBillrefundEx(request, headers, runtime);
}
/**
* Description: 账单退款申请
* Summary: 数字商品服务-消费卡服务-账单退款申请
*/
public ApplyConsumecardBillrefundResponse applyConsumecardBillrefundEx(ApplyConsumecardBillrefundRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.billrefund.apply", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ApplyConsumecardBillrefundResponse());
}
/**
* Description: 查询交易信息
* Summary: 数字商品服务-消费卡服务-交易查询
*/
public QueryConsumecardPurchaseResponse queryConsumecardPurchase(QueryConsumecardPurchaseRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryConsumecardPurchaseEx(request, headers, runtime);
}
/**
* Description: 查询交易信息
* Summary: 数字商品服务-消费卡服务-交易查询
*/
public QueryConsumecardPurchaseResponse queryConsumecardPurchaseEx(QueryConsumecardPurchaseRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.purchase.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryConsumecardPurchaseResponse());
}
/**
* Description: 获取特定高度的区块信息
* Summary: 数字商品服务-消费卡服务-获取区块
*/
public QueryConsumecardBlockResponse queryConsumecardBlock(QueryConsumecardBlockRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryConsumecardBlockEx(request, headers, runtime);
}
/**
* Description: 获取特定高度的区块信息
* Summary: 数字商品服务-消费卡服务-获取区块
*/
public QueryConsumecardBlockResponse queryConsumecardBlockEx(QueryConsumecardBlockRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.block.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryConsumecardBlockResponse());
}
/**
* Description: 查询最新区块高度
* Summary: 数字商品服务-消费卡服务-查最新区块高度
*/
public QueryConsumecardLastblocknumberResponse queryConsumecardLastblocknumber(QueryConsumecardLastblocknumberRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryConsumecardLastblocknumberEx(request, headers, runtime);
}
/**
* Description: 查询最新区块高度
* Summary: 数字商品服务-消费卡服务-查最新区块高度
*/
public QueryConsumecardLastblocknumberResponse queryConsumecardLastblocknumberEx(QueryConsumecardLastblocknumberRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.lastblocknumber.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryConsumecardLastblocknumberResponse());
}
/**
* Description: 更新商品信息是异步流程,根据requestId查询商品更新结果
* Summary: 数字商品服务-消费卡服务-更新结果查询
*/
public QueryConsumecardGoodsupdateresultResponse queryConsumecardGoodsupdateresult(QueryConsumecardGoodsupdateresultRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryConsumecardGoodsupdateresultEx(request, headers, runtime);
}
/**
* Description: 更新商品信息是异步流程,根据requestId查询商品更新结果
* Summary: 数字商品服务-消费卡服务-更新结果查询
*/
public QueryConsumecardGoodsupdateresultResponse queryConsumecardGoodsupdateresultEx(QueryConsumecardGoodsupdateresultRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.goodsupdateresult.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryConsumecardGoodsupdateresultResponse());
}
/**
* Description: 卖家取消交易
* Summary: 数字商品服务--消费卡服务-卖家取消交易
*/
public CancelConsumecardSellerpurchaseResponse cancelConsumecardSellerpurchase(CancelConsumecardSellerpurchaseRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.cancelConsumecardSellerpurchaseEx(request, headers, runtime);
}
/**
* Description: 卖家取消交易
* Summary: 数字商品服务--消费卡服务-卖家取消交易
*/
public CancelConsumecardSellerpurchaseResponse cancelConsumecardSellerpurchaseEx(CancelConsumecardSellerpurchaseRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.sellerpurchase.cancel", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CancelConsumecardSellerpurchaseResponse());
}
/**
* Description: 配置商品和账单的手续费信息
* Summary: 数字商品服务-消费卡服务-配置手续费
*/
public SetConsumecardCommissionResponse setConsumecardCommission(SetConsumecardCommissionRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.setConsumecardCommissionEx(request, headers, runtime);
}
/**
* Description: 配置商品和账单的手续费信息
* Summary: 数字商品服务-消费卡服务-配置手续费
*/
public SetConsumecardCommissionResponse setConsumecardCommissionEx(SetConsumecardCommissionRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.commission.set", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new SetConsumecardCommissionResponse());
}
/**
* Description: 删除手续费配置
* Summary: 数字商品服务-消费卡服务-删除手续费配置
*/
public RemoveConsumecardCommissionResponse removeConsumecardCommission(RemoveConsumecardCommissionRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.removeConsumecardCommissionEx(request, headers, runtime);
}
/**
* Description: 删除手续费配置
* Summary: 数字商品服务-消费卡服务-删除手续费配置
*/
public RemoveConsumecardCommissionResponse removeConsumecardCommissionEx(RemoveConsumecardCommissionRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.commission.remove", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new RemoveConsumecardCommissionResponse());
}
/**
* Description: 查询手续费信息
* Summary: 数字商品服务-消费卡服务-查询手续费信息
*/
public QueryConsumecardCommissionResponse queryConsumecardCommission(QueryConsumecardCommissionRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryConsumecardCommissionEx(request, headers, runtime);
}
/**
* Description: 查询手续费信息
* Summary: 数字商品服务-消费卡服务-查询手续费信息
*/
public QueryConsumecardCommissionResponse queryConsumecardCommissionEx(QueryConsumecardCommissionRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.commission.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryConsumecardCommissionResponse());
}
/**
* Description: 设置手续费管理员,手续费的增删改查需要由手续费管理员操作。平台管理员可以设置手续费管理员。
* Summary: 数字商品服务-消费卡服务-设置手续费管理
*/
public SetConsumecardCommissionmanagerResponse setConsumecardCommissionmanager(SetConsumecardCommissionmanagerRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.setConsumecardCommissionmanagerEx(request, headers, runtime);
}
/**
* Description: 设置手续费管理员,手续费的增删改查需要由手续费管理员操作。平台管理员可以设置手续费管理员。
* Summary: 数字商品服务-消费卡服务-设置手续费管理
*/
public SetConsumecardCommissionmanagerResponse setConsumecardCommissionmanagerEx(SetConsumecardCommissionmanagerRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.commissionmanager.set", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new SetConsumecardCommissionmanagerResponse());
}
/**
* Description: 设置商品状态,可以设置为上线或下线
* Summary: 数字商品服务-消费卡服务-设置商品状态
*/
public SetConsumecardGoodsstatusResponse setConsumecardGoodsstatus(SetConsumecardGoodsstatusRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.setConsumecardGoodsstatusEx(request, headers, runtime);
}
/**
* Description: 设置商品状态,可以设置为上线或下线
* Summary: 数字商品服务-消费卡服务-设置商品状态
*/
public SetConsumecardGoodsstatusResponse setConsumecardGoodsstatusEx(SetConsumecardGoodsstatusRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.goodsstatus.set", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new SetConsumecardGoodsstatusResponse());
}
/**
* Description: 个人用户来账付款协议签约
* Summary: 数字商品-消费卡服务-个人用户签约
*/
public CreateConsumecardReceiptcontractResponse createConsumecardReceiptcontract(CreateConsumecardReceiptcontractRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createConsumecardReceiptcontractEx(request, headers, runtime);
}
/**
* Description: 个人用户来账付款协议签约
* Summary: 数字商品-消费卡服务-个人用户签约
*/
public CreateConsumecardReceiptcontractResponse createConsumecardReceiptcontractEx(CreateConsumecardReceiptcontractRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.receiptcontract.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateConsumecardReceiptcontractResponse());
}
/**
* Description: 来账协议解约接口
* Summary: 数字商品-消费卡服务-个人协议解约
*/
public RemoveConsumecardReceiptcontractResponse removeConsumecardReceiptcontract(RemoveConsumecardReceiptcontractRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.removeConsumecardReceiptcontractEx(request, headers, runtime);
}
/**
* Description: 来账协议解约接口
* Summary: 数字商品-消费卡服务-个人协议解约
*/
public RemoveConsumecardReceiptcontractResponse removeConsumecardReceiptcontractEx(RemoveConsumecardReceiptcontractRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.receiptcontract.remove", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new RemoveConsumecardReceiptcontractResponse());
}
/**
* Description: 来账协议查询接口
* Summary: 数字商品-消费卡服务-个人协议查询
*/
public QueryConsumecardReceiptcontractResponse queryConsumecardReceiptcontract(QueryConsumecardReceiptcontractRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryConsumecardReceiptcontractEx(request, headers, runtime);
}
/**
* Description: 来账协议查询接口
* Summary: 数字商品-消费卡服务-个人协议查询
*/
public QueryConsumecardReceiptcontractResponse queryConsumecardReceiptcontractEx(QueryConsumecardReceiptcontractRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.receiptcontract.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryConsumecardReceiptcontractResponse());
}
/**
* Description: 收单协议签约
* Summary: 数字商品-消费卡服务-商家用户签约
*/
public CreateConsumecardBillingcontractResponse createConsumecardBillingcontract(CreateConsumecardBillingcontractRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createConsumecardBillingcontractEx(request, headers, runtime);
}
/**
* Description: 收单协议签约
* Summary: 数字商品-消费卡服务-商家用户签约
*/
public CreateConsumecardBillingcontractResponse createConsumecardBillingcontractEx(CreateConsumecardBillingcontractRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.billingcontract.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateConsumecardBillingcontractResponse());
}
/**
* Description: 收单协议解约
* Summary: 数字商品-消费卡服务-商家协议解约
*/
public RemoveConsumecardBillingcontractResponse removeConsumecardBillingcontract(RemoveConsumecardBillingcontractRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.removeConsumecardBillingcontractEx(request, headers, runtime);
}
/**
* Description: 收单协议解约
* Summary: 数字商品-消费卡服务-商家协议解约
*/
public RemoveConsumecardBillingcontractResponse removeConsumecardBillingcontractEx(RemoveConsumecardBillingcontractRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.billingcontract.remove", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new RemoveConsumecardBillingcontractResponse());
}
/**
* Description: 收单协议签约查询
* Summary: 数字商品-消费卡服务-商家协议查询
*/
public QueryConsumecardBillingcontractResponse queryConsumecardBillingcontract(QueryConsumecardBillingcontractRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryConsumecardBillingcontractEx(request, headers, runtime);
}
/**
* Description: 收单协议签约查询
* Summary: 数字商品-消费卡服务-商家协议查询
*/
public QueryConsumecardBillingcontractResponse queryConsumecardBillingcontractEx(QueryConsumecardBillingcontractRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.billingcontract.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryConsumecardBillingcontractResponse());
}
/**
* Description: 增加一级分账方
* Summary: 数字商品服务-消费卡服务-增加一级分账方
*/
public AddConsumecardCommissionpartyResponse addConsumecardCommissionparty(AddConsumecardCommissionpartyRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.addConsumecardCommissionpartyEx(request, headers, runtime);
}
/**
* Description: 增加一级分账方
* Summary: 数字商品服务-消费卡服务-增加一级分账方
*/
public AddConsumecardCommissionpartyResponse addConsumecardCommissionpartyEx(AddConsumecardCommissionpartyRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.commissionparty.add", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new AddConsumecardCommissionpartyResponse());
}
/**
* Description: 删除一级分账方
* Summary: 数字商品服务-消费卡服务-删除一级分账方
*/
public RemoveConsumecardCommissionpartyResponse removeConsumecardCommissionparty(RemoveConsumecardCommissionpartyRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.removeConsumecardCommissionpartyEx(request, headers, runtime);
}
/**
* Description: 删除一级分账方
* Summary: 数字商品服务-消费卡服务-删除一级分账方
*/
public RemoveConsumecardCommissionpartyResponse removeConsumecardCommissionpartyEx(RemoveConsumecardCommissionpartyRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.commissionparty.remove", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new RemoveConsumecardCommissionpartyResponse());
}
/**
* Description: 增加手续费周期
* Summary: 数字商品服务-消费卡服务-增加手续费周期
*/
public AddConsumecardCommissionperiodResponse addConsumecardCommissionperiod(AddConsumecardCommissionperiodRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.addConsumecardCommissionperiodEx(request, headers, runtime);
}
/**
* Description: 增加手续费周期
* Summary: 数字商品服务-消费卡服务-增加手续费周期
*/
public AddConsumecardCommissionperiodResponse addConsumecardCommissionperiodEx(AddConsumecardCommissionperiodRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.commissionperiod.add", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new AddConsumecardCommissionperiodResponse());
}
/**
* Description: 删除手续费周期
* Summary: 数字商品服务-消费卡服务-删除手续费周期
*/
public RemoveConsumecardCommissionperiodResponse removeConsumecardCommissionperiod(RemoveConsumecardCommissionperiodRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.removeConsumecardCommissionperiodEx(request, headers, runtime);
}
/**
* Description: 删除手续费周期
* Summary: 数字商品服务-消费卡服务-删除手续费周期
*/
public RemoveConsumecardCommissionperiodResponse removeConsumecardCommissionperiodEx(RemoveConsumecardCommissionperiodRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.commissionperiod.remove", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new RemoveConsumecardCommissionperiodResponse());
}
/**
* Description: 查询统计信息
* Summary: 数字商品服务-消费卡服务-查询统计信息
*/
public QueryConsumecardCounterResponse queryConsumecardCounter(QueryConsumecardCounterRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryConsumecardCounterEx(request, headers, runtime);
}
/**
* Description: 查询统计信息
* Summary: 数字商品服务-消费卡服务-查询统计信息
*/
public QueryConsumecardCounterResponse queryConsumecardCounterEx(QueryConsumecardCounterRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.counter.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryConsumecardCounterResponse());
}
/**
* Description: 管理接口:配置场景码权限信息
* Summary: 数字商品服务-消费卡服务-场景码配置
*/
public SetConsumecardProductcodeResponse setConsumecardProductcode(SetConsumecardProductcodeRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.setConsumecardProductcodeEx(request, headers, runtime);
}
/**
* Description: 管理接口:配置场景码权限信息
* Summary: 数字商品服务-消费卡服务-场景码配置
*/
public SetConsumecardProductcodeResponse setConsumecardProductcodeEx(SetConsumecardProductcodeRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.productcode.set", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new SetConsumecardProductcodeResponse());
}
/**
* Description: 查询已配置的场景码信息
* Summary: 数字商品服务-消费卡服务-查询场景码配置
*/
public QueryConsumecardProductcodeResponse queryConsumecardProductcode(QueryConsumecardProductcodeRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryConsumecardProductcodeEx(request, headers, runtime);
}
/**
* Description: 查询已配置的场景码信息
* Summary: 数字商品服务-消费卡服务-查询场景码配置
*/
public QueryConsumecardProductcodeResponse queryConsumecardProductcodeEx(QueryConsumecardProductcodeRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.productcode.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryConsumecardProductcodeResponse());
}
/**
* Description: 删除场景码配置
* Summary: 数字商品服务-消费卡服务-删除场景码配置
*/
public RemoveConsumecardProductcodeResponse removeConsumecardProductcode(RemoveConsumecardProductcodeRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.removeConsumecardProductcodeEx(request, headers, runtime);
}
/**
* Description: 删除场景码配置
* Summary: 数字商品服务-消费卡服务-删除场景码配置
*/
public RemoveConsumecardProductcodeResponse removeConsumecardProductcodeEx(RemoveConsumecardProductcodeRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.productcode.remove", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new RemoveConsumecardProductcodeResponse());
}
/**
* Description: 根据图片不可访问URl 获取可以访问的临时URL
* Summary: 数字商品服务-消费卡服务-查询图片URL
*/
public QueryConsumecardGoodsimageResponse queryConsumecardGoodsimage(QueryConsumecardGoodsimageRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryConsumecardGoodsimageEx(request, headers, runtime);
}
/**
* Description: 根据图片不可访问URl 获取可以访问的临时URL
* Summary: 数字商品服务-消费卡服务-查询图片URL
*/
public QueryConsumecardGoodsimageResponse queryConsumecardGoodsimageEx(QueryConsumecardGoodsimageRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.goodsimage.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryConsumecardGoodsimageResponse());
}
/**
* Description: 文件API,上传文件
* Summary: 数字商品服务-文件服务-上传文件
*/
public UploadConsumecardFileResponse uploadConsumecardFile(UploadConsumecardFileRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.uploadConsumecardFileEx(request, headers, runtime);
}
/**
* Description: 文件API,上传文件
* Summary: 数字商品服务-文件服务-上传文件
*/
public UploadConsumecardFileResponse uploadConsumecardFileEx(UploadConsumecardFileRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
if (!com.aliyun.teautil.Common.isUnset(request.fileObject)) {
CreateAntcloudGatewayxFileUploadRequest uploadReq = CreateAntcloudGatewayxFileUploadRequest.build(TeaConverter.buildMap(
new TeaPair("authToken", request.authToken),
new TeaPair("apiCode", "baas.antdao.consumecard.file.upload"),
new TeaPair("fileName", request.fileObjectName)
));
CreateAntcloudGatewayxFileUploadResponse uploadResp = this.createAntcloudGatewayxFileUploadEx(uploadReq, headers, runtime);
if (!com.antgroup.antchain.openapi.antchain.util.AntchainUtils.isSuccess(uploadResp.resultCode, "ok")) {
UploadConsumecardFileResponse uploadConsumecardFileResponse = UploadConsumecardFileResponse.build(TeaConverter.buildMap(
new TeaPair("reqMsgId", uploadResp.reqMsgId),
new TeaPair("resultCode", uploadResp.resultCode),
new TeaPair("resultMsg", uploadResp.resultMsg)
));
return uploadConsumecardFileResponse;
}
java.util.Map uploadHeaders = com.antgroup.antchain.openapi.antchain.util.AntchainUtils.parseUploadHeaders(uploadResp.uploadHeaders);
com.antgroup.antchain.openapi.antchain.util.AntchainUtils.putObject(request.fileObject, uploadHeaders, uploadResp.uploadUrl);
request.fileId = uploadResp.fileId;
}
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.consumecard.file.upload", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new UploadConsumecardFileResponse());
}
/**
* Description: 查询电子券详细信息。只有批次管理员,过期观察员可以查看,其他商户没有查看权限。
* Summary: 数字商品服务-电子券服务-查询电子券
*/
public QueryCouponResponse queryCoupon(QueryCouponRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryCouponEx(request, headers, runtime);
}
/**
* Description: 查询电子券详细信息。只有批次管理员,过期观察员可以查看,其他商户没有查看权限。
* Summary: 数字商品服务-电子券服务-查询电子券
*/
public QueryCouponResponse queryCouponEx(QueryCouponRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.coupon.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryCouponResponse());
}
/**
* Description: 创建单个电子券接口
* Summary: 数字商品服务-电子券服务-创建单个电子券
*/
public CreateCouponResponse createCoupon(CreateCouponRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createCouponEx(request, headers, runtime);
}
/**
* Description: 创建单个电子券接口
* Summary: 数字商品服务-电子券服务-创建单个电子券
*/
public CreateCouponResponse createCouponEx(CreateCouponRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.coupon.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateCouponResponse());
}
/**
* Description: 将电子券更新为禁用状态,不能再进行其他状态更新
* Summary: 数字商品服务-电子券服务-电子券风控禁用
*/
public ExecCouponForbiddenResponse execCouponForbidden(ExecCouponForbiddenRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.execCouponForbiddenEx(request, headers, runtime);
}
/**
* Description: 将电子券更新为禁用状态,不能再进行其他状态更新
* Summary: 数字商品服务-电子券服务-电子券风控禁用
*/
public ExecCouponForbiddenResponse execCouponForbiddenEx(ExecCouponForbiddenRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.coupon.forbidden.exec", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ExecCouponForbiddenResponse());
}
/**
* Description: 将电子券更新为可用状态
* Summary: 数字商品服务-电子券服务-电子券风控启用
*/
public ExecCouponEnableResponse execCouponEnable(ExecCouponEnableRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.execCouponEnableEx(request, headers, runtime);
}
/**
* Description: 将电子券更新为可用状态
* Summary: 数字商品服务-电子券服务-电子券风控启用
*/
public ExecCouponEnableResponse execCouponEnableEx(ExecCouponEnableRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.coupon.enable.exec", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ExecCouponEnableResponse());
}
/**
* Description: 将电子券状态更新为过期
* Summary: 数字商品服务-电子券服务-电子券过期
*/
public ExecCouponExpireResponse execCouponExpire(ExecCouponExpireRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.execCouponExpireEx(request, headers, runtime);
}
/**
* Description: 将电子券状态更新为过期
* Summary: 数字商品服务-电子券服务-电子券过期
*/
public ExecCouponExpireResponse execCouponExpireEx(ExecCouponExpireRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.coupon.expire.exec", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ExecCouponExpireResponse());
}
/**
* Description: 将电子券状态更新为核销
* Summary: 数字商品服务-电子券服务-电子券核销
*/
public ExecCouponWriteoffResponse execCouponWriteoff(ExecCouponWriteoffRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.execCouponWriteoffEx(request, headers, runtime);
}
/**
* Description: 将电子券状态更新为核销
* Summary: 数字商品服务-电子券服务-电子券核销
*/
public ExecCouponWriteoffResponse execCouponWriteoffEx(ExecCouponWriteoffRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.coupon.writeoff.exec", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ExecCouponWriteoffResponse());
}
/**
* Description: 更新电子券的激活码状态为已超时
* Summary: 数字商品服务-电子券服务-券激活码超时
*/
public ExecCouponTimeoutResponse execCouponTimeout(ExecCouponTimeoutRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.execCouponTimeoutEx(request, headers, runtime);
}
/**
* Description: 更新电子券的激活码状态为已超时
* Summary: 数字商品服务-电子券服务-券激活码超时
*/
public ExecCouponTimeoutResponse execCouponTimeoutEx(ExecCouponTimeoutRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.coupon.timeout.exec", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ExecCouponTimeoutResponse());
}
/**
* Description: 商户上传激活码,激活电子券
* Summary: 数字商品服务-电子券服务-激活电子券
*/
public ExecCouponActivateResponse execCouponActivate(ExecCouponActivateRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.execCouponActivateEx(request, headers, runtime);
}
/**
* Description: 商户上传激活码,激活电子券
* Summary: 数字商品服务-电子券服务-激活电子券
*/
public ExecCouponActivateResponse execCouponActivateEx(ExecCouponActivateRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.coupon.activate.exec", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ExecCouponActivateResponse());
}
/**
* Description: 将电子券转让给其他用户
* Summary: 数字商品服务-电子券服务-电子券转让
*/
public ExecCouponTransferResponse execCouponTransfer(ExecCouponTransferRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.execCouponTransferEx(request, headers, runtime);
}
/**
* Description: 将电子券转让给其他用户
* Summary: 数字商品服务-电子券服务-电子券转让
*/
public ExecCouponTransferResponse execCouponTransferEx(ExecCouponTransferRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.coupon.transfer.exec", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ExecCouponTransferResponse());
}
/**
* Description: 记名电子券创建时没有记录用户信息,可以调用本接口将用户信息更新到电子券上。记名电子券若没有用户信息,则无法进行绑定激活。
* Summary: 数字商品服务-电子券服务-电子券记名
*/
public ExecCouponSignResponse execCouponSign(ExecCouponSignRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.execCouponSignEx(request, headers, runtime);
}
/**
* Description: 记名电子券创建时没有记录用户信息,可以调用本接口将用户信息更新到电子券上。记名电子券若没有用户信息,则无法进行绑定激活。
* Summary: 数字商品服务-电子券服务-电子券记名
*/
public ExecCouponSignResponse execCouponSignEx(ExecCouponSignRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.coupon.sign.exec", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ExecCouponSignResponse());
}
/**
* Description: 绑定电子券,更新为“绑定”状态
* Summary: 数字商品服务-电子券服务-绑定电子券
*/
public ExecCouponBindResponse execCouponBind(ExecCouponBindRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.execCouponBindEx(request, headers, runtime);
}
/**
* Description: 绑定电子券,更新为“绑定”状态
* Summary: 数字商品服务-电子券服务-绑定电子券
*/
public ExecCouponBindResponse execCouponBindEx(ExecCouponBindRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.coupon.bind.exec", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ExecCouponBindResponse());
}
/**
* Description: 传入数量一次性创建多张电子券,支持不记名电子券或同名电子券创建。每次最多创建100张电子券
* Summary: 数字商品服务-电子券服务-电子券批量创建
*/
public BatchcreateCouponResponse batchcreateCoupon(BatchcreateCouponRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.batchcreateCouponEx(request, headers, runtime);
}
/**
* Description: 传入数量一次性创建多张电子券,支持不记名电子券或同名电子券创建。每次最多创建100张电子券
* Summary: 数字商品服务-电子券服务-电子券批量创建
*/
public BatchcreateCouponResponse batchcreateCouponEx(BatchcreateCouponRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.coupon.batchcreate", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new BatchcreateCouponResponse());
}
/**
* Description: 电子券列表创建 支持传入不同的电子券信息列表,列表中每个电子券信息可以不相同
* Summary: 数字商品服务-电子券服务-电子券列表创建
*/
public CreateCouponListResponse createCouponList(CreateCouponListRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createCouponListEx(request, headers, runtime);
}
/**
* Description: 电子券列表创建 支持传入不同的电子券信息列表,列表中每个电子券信息可以不相同
* Summary: 数字商品服务-电子券服务-电子券列表创建
*/
public CreateCouponListResponse createCouponListEx(CreateCouponListRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.coupon.list.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateCouponListResponse());
}
/**
* Description: 创建电子券批次,定义该批次的信息和是否记名,创建批次的商户自动成为批次管理员。
* Summary: 数字商品服务-电子券服务-创建电子券批次
*/
public CreateCouponCollectionResponse createCouponCollection(CreateCouponCollectionRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createCouponCollectionEx(request, headers, runtime);
}
/**
* Description: 创建电子券批次,定义该批次的信息和是否记名,创建批次的商户自动成为批次管理员。
* Summary: 数字商品服务-电子券服务-创建电子券批次
*/
public CreateCouponCollectionResponse createCouponCollectionEx(CreateCouponCollectionRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.coupon.collection.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateCouponCollectionResponse());
}
/**
* Description: 输入批次ID,查询批次详情。只有批次管理员,过期观察员可以查看,其他商户没有查看权限。
* Summary: 数字商品服务-电子券服务-电子券批次查询
*/
public QueryCouponCollectionResponse queryCouponCollection(QueryCouponCollectionRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryCouponCollectionEx(request, headers, runtime);
}
/**
* Description: 输入批次ID,查询批次详情。只有批次管理员,过期观察员可以查看,其他商户没有查看权限。
* Summary: 数字商品服务-电子券服务-电子券批次查询
*/
public QueryCouponCollectionResponse queryCouponCollectionEx(QueryCouponCollectionRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.coupon.collection.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryCouponCollectionResponse());
}
/**
* Description: 查询调用商户下的用户信息
* Summary: 数字商品服务-商户管理-查询用户信息
*/
public QueryMerchantUserResponse queryMerchantUser(QueryMerchantUserRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryMerchantUserEx(request, headers, runtime);
}
/**
* Description: 查询调用商户下的用户信息
* Summary: 数字商品服务-商户管理-查询用户信息
*/
public QueryMerchantUserResponse queryMerchantUserEx(QueryMerchantUserRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.merchant.user.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryMerchantUserResponse());
}
/**
* Description: 创建商户管理下的用户
* Summary: 数字商品服务-商户管理-商户创建用户
*/
public CreateMerchantUserResponse createMerchantUser(CreateMerchantUserRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createMerchantUserEx(request, headers, runtime);
}
/**
* Description: 创建商户管理下的用户
* Summary: 数字商品服务-商户管理-商户创建用户
*/
public CreateMerchantUserResponse createMerchantUserEx(CreateMerchantUserRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.merchant.user.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateMerchantUserResponse());
}
/**
* Description: 查询管理员创建的商户信息(可查询自身的商户信息)
* Summary: 数字商品服务-商户管理-查询商户信息
*/
public QueryMerchantResponse queryMerchant(QueryMerchantRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryMerchantEx(request, headers, runtime);
}
/**
* Description: 查询管理员创建的商户信息(可查询自身的商户信息)
* Summary: 数字商品服务-商户管理-查询商户信息
*/
public QueryMerchantResponse queryMerchantEx(QueryMerchantRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.merchant.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryMerchantResponse());
}
/**
* Description: 上传图片到OSS,以备风控检查。仅权益发行方可使用,采购方不可使用。上传的图片单张不超过1M。
* Summary: 数字商品服务-OSS服务-上传图片
*/
public UploadImageResponse uploadImage(UploadImageRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.uploadImageEx(request, headers, runtime);
}
/**
* Description: 上传图片到OSS,以备风控检查。仅权益发行方可使用,采购方不可使用。上传的图片单张不超过1M。
* Summary: 数字商品服务-OSS服务-上传图片
*/
public UploadImageResponse uploadImageEx(UploadImageRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.image.upload", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new UploadImageResponse());
}
/**
* Description: 获取kms中对应用户的公钥
* Summary: 数字商品服务-密钥管理-获取用户公钥
*/
public GetPkiPublickeyResponse getPkiPublickey(GetPkiPublickeyRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.getPkiPublickeyEx(request, headers, runtime);
}
/**
* Description: 获取kms中对应用户的公钥
* Summary: 数字商品服务-密钥管理-获取用户公钥
*/
public GetPkiPublickeyResponse getPkiPublickeyEx(GetPkiPublickeyRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.pki.publickey.get", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new GetPkiPublickeyResponse());
}
/**
* Description: ECC公钥加密接口
* Summary: 数字商品服务-密钥管理-公钥加密
*/
public ExecPkiEncryptResponse execPkiEncrypt(ExecPkiEncryptRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.execPkiEncryptEx(request, headers, runtime);
}
/**
* Description: ECC公钥加密接口
* Summary: 数字商品服务-密钥管理-公钥加密
*/
public ExecPkiEncryptResponse execPkiEncryptEx(ExecPkiEncryptRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.pki.encrypt.exec", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ExecPkiEncryptResponse());
}
/**
* Description: ECC解密算法接口
* Summary: 数字商品服务-密钥管理-私钥解密
*/
public ExecPkiDecryptResponse execPkiDecrypt(ExecPkiDecryptRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.execPkiDecryptEx(request, headers, runtime);
}
/**
* Description: ECC解密算法接口
* Summary: 数字商品服务-密钥管理-私钥解密
*/
public ExecPkiDecryptResponse execPkiDecryptEx(ExecPkiDecryptRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.pki.decrypt.exec", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ExecPkiDecryptResponse());
}
/**
* Description: 更新商户的友商信息
* Summary: 数字商品服务-商户管理-更新商户友商
*/
public UpdateMerchantFriendResponse updateMerchantFriend(UpdateMerchantFriendRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.updateMerchantFriendEx(request, headers, runtime);
}
/**
* Description: 更新商户的友商信息
* Summary: 数字商品服务-商户管理-更新商户友商
*/
public UpdateMerchantFriendResponse updateMerchantFriendEx(UpdateMerchantFriendRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.merchant.friend.update", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new UpdateMerchantFriendResponse());
}
/**
* Description: 商品供应商户发布一个商品
* Summary: 数字商品服务-商品服务-创建商品
*/
public CreateEquityResponse createEquity(CreateEquityRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.createEquityEx(request, headers, runtime);
}
/**
* Description: 商品供应商户发布一个商品
* Summary: 数字商品服务-商品服务-创建商品
*/
public CreateEquityResponse createEquityEx(CreateEquityRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.equity.create", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new CreateEquityResponse());
}
/**
* Description: 该接口不使用,合并至 baas.antdao.equity.status.update
下线商品
* Summary: 数字商品服务-商品服务-下线商品
*/
public OfflineEquityResponse offlineEquity(OfflineEquityRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.offlineEquityEx(request, headers, runtime);
}
/**
* Description: 该接口不使用,合并至 baas.antdao.equity.status.update
下线商品
* Summary: 数字商品服务-商品服务-下线商品
*/
public OfflineEquityResponse offlineEquityEx(OfflineEquityRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.equity.offline", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new OfflineEquityResponse());
}
/**
* Description: 该接口不使用,合并至baas.antdao.equity.status.update
冻结权益
* Summary: 数字商品服务-商品服务-冻结商品
*/
public FreezeEquityResponse freezeEquity(FreezeEquityRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.freezeEquityEx(request, headers, runtime);
}
/**
* Description: 该接口不使用,合并至baas.antdao.equity.status.update
冻结权益
* Summary: 数字商品服务-商品服务-冻结商品
*/
public FreezeEquityResponse freezeEquityEx(FreezeEquityRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.equity.freeze", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new FreezeEquityResponse());
}
/**
* Description: 授权兑换—非公开商品商户配置
* Summary: 数字商品服务-商品服务-授权兑换
*/
public OpenEquityMerchantResponse openEquityMerchant(OpenEquityMerchantRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.openEquityMerchantEx(request, headers, runtime);
}
/**
* Description: 授权兑换—非公开商品商户配置
* Summary: 数字商品服务-商品服务-授权兑换
*/
public OpenEquityMerchantResponse openEquityMerchantEx(OpenEquityMerchantRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.equity.merchant.open", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new OpenEquityMerchantResponse());
}
/**
* Description: 用户兑换价格设置
* Summary: 数字商品服务-商品服务-用户兑换价格设置
*/
public AuthEquityMerchantuserpriceResponse authEquityMerchantuserprice(AuthEquityMerchantuserpriceRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.authEquityMerchantuserpriceEx(request, headers, runtime);
}
/**
* Description: 用户兑换价格设置
* Summary: 数字商品服务-商品服务-用户兑换价格设置
*/
public AuthEquityMerchantuserpriceResponse authEquityMerchantuserpriceEx(AuthEquityMerchantuserpriceRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.equity.merchantuserprice.auth", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new AuthEquityMerchantuserpriceResponse());
}
/**
* Description: 该接口不使用,合并至 baas.antdao.equity.update
更新商品价格
* Summary: 数字商品服务-商品服务-更新商品价格
*/
public UpdateEquityDefaultpriceResponse updateEquityDefaultprice(UpdateEquityDefaultpriceRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.updateEquityDefaultpriceEx(request, headers, runtime);
}
/**
* Description: 该接口不使用,合并至 baas.antdao.equity.update
更新商品价格
* Summary: 数字商品服务-商品服务-更新商品价格
*/
public UpdateEquityDefaultpriceResponse updateEquityDefaultpriceEx(UpdateEquityDefaultpriceRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.equity.defaultprice.update", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new UpdateEquityDefaultpriceResponse());
}
/**
* Description: 更新商品自定义定价
* Summary: 数字商品服务-商品服务-更新自定义定价
*/
public UpdateEquityTenantpriceResponse updateEquityTenantprice(UpdateEquityTenantpriceRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.updateEquityTenantpriceEx(request, headers, runtime);
}
/**
* Description: 更新商品自定义定价
* Summary: 数字商品服务-商品服务-更新自定义定价
*/
public UpdateEquityTenantpriceResponse updateEquityTenantpriceEx(UpdateEquityTenantpriceRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.equity.tenantprice.update", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new UpdateEquityTenantpriceResponse());
}
/**
* Description: 该接口不使用,合并至 baas.antdao.equity.update
增加权益库存
* Summary: 数字商品服务-商品服务-增加权益库存
*/
public AddEquityCountResponse addEquityCount(AddEquityCountRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.addEquityCountEx(request, headers, runtime);
}
/**
* Description: 该接口不使用,合并至 baas.antdao.equity.update
增加权益库存
* Summary: 数字商品服务-商品服务-增加权益库存
*/
public AddEquityCountResponse addEquityCountEx(AddEquityCountRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.equity.count.add", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new AddEquityCountResponse());
}
/**
* Description: 该接口不使用,合并至 baas.antdao.equity.update
更新兑换限制规则
* Summary: 数字商品服务-商品服务-更新兑换限制规则
*/
public UpdateEquityExchangelimitResponse updateEquityExchangelimit(UpdateEquityExchangelimitRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.updateEquityExchangelimitEx(request, headers, runtime);
}
/**
* Description: 该接口不使用,合并至 baas.antdao.equity.update
更新兑换限制规则
* Summary: 数字商品服务-商品服务-更新兑换限制规则
*/
public UpdateEquityExchangelimitResponse updateEquityExchangelimitEx(UpdateEquityExchangelimitRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.equity.exchangelimit.update", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new UpdateEquityExchangelimitResponse());
}
/**
* Description: 该接口不使用,合并至 baas.antdao.equity.update
更新商品有效期
* Summary: 数字商品服务-商品服务-更新有效期
*/
public UpdateEquityValidtimeResponse updateEquityValidtime(UpdateEquityValidtimeRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.updateEquityValidtimeEx(request, headers, runtime);
}
/**
* Description: 该接口不使用,合并至 baas.antdao.equity.update
更新商品有效期
* Summary: 数字商品服务-商品服务-更新有效期
*/
public UpdateEquityValidtimeResponse updateEquityValidtimeEx(UpdateEquityValidtimeRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.equity.validtime.update", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new UpdateEquityValidtimeResponse());
}
/**
* Description: 查询商品信息
* Summary: 数字商品服务-商品服务-查询商品信息
*/
public QueryEquityResponse queryEquity(QueryEquityRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.queryEquityEx(request, headers, runtime);
}
/**
* Description: 查询商品信息
* Summary: 数字商品服务-商品服务-查询商品信息
*/
public QueryEquityResponse queryEquityEx(QueryEquityRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.equity.query", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new QueryEquityResponse());
}
/**
* Description: 用户身份发起兑换
* Summary: 数字商品服务-兑换服务-用户身份发起兑换
*/
public ExecExchangeByuserResponse execExchangeByuser(ExecExchangeByuserRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.execExchangeByuserEx(request, headers, runtime);
}
/**
* Description: 用户身份发起兑换
* Summary: 数字商品服务-兑换服务-用户身份发起兑换
*/
public ExecExchangeByuserResponse execExchangeByuserEx(ExecExchangeByuserRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.exchange.byuser.exec", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ExecExchangeByuserResponse());
}
/**
* Description: 商户身份发起兑换
* Summary: 数字商品服务-兑换服务-商户身份发起兑换
*/
public ExecExchangeBymerchantResponse execExchangeBymerchant(ExecExchangeBymerchantRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.execExchangeBymerchantEx(request, headers, runtime);
}
/**
* Description: 商户身份发起兑换
* Summary: 数字商品服务-兑换服务-商户身份发起兑换
*/
public ExecExchangeBymerchantResponse execExchangeBymerchantEx(ExecExchangeBymerchantRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.exchange.bymerchant.exec", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ExecExchangeBymerchantResponse());
}
/**
* Description: 确认接单接口。注意:若确认接单则必须发货!如果不能确保发货则直接调用缺货接口。
* Summary: 数字商品服务-兑换服务-确认接单
*/
public ConfirmExchangeResponse confirmExchange(ConfirmExchangeRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.confirmExchangeEx(request, headers, runtime);
}
/**
* Description: 确认接单接口。注意:若确认接单则必须发货!如果不能确保发货则直接调用缺货接口。
* Summary: 数字商品服务-兑换服务-确认接单
*/
public ConfirmExchangeResponse confirmExchangeEx(ConfirmExchangeRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.exchange.confirm", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ConfirmExchangeResponse());
}
/**
* Description: 拒绝发货。供应商可由于缺货,商品不满足发货条件,意外状态下使用。
* Summary: 数字商品服务-兑换服务-拒绝发货
*/
public ExecExchangeOutofstoreResponse execExchangeOutofstore(ExecExchangeOutofstoreRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.execExchangeOutofstoreEx(request, headers, runtime);
}
/**
* Description: 拒绝发货。供应商可由于缺货,商品不满足发货条件,意外状态下使用。
* Summary: 数字商品服务-兑换服务-拒绝发货
*/
public ExecExchangeOutofstoreResponse execExchangeOutofstoreEx(ExecExchangeOutofstoreRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.exchange.outofstore.exec", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ExecExchangeOutofstoreResponse());
}
/**
* Description: 兑换发货
* Summary: 数字商品服务-兑换服务-兑换发货
*/
public SendExchangeResponse sendExchange(SendExchangeRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.sendExchangeEx(request, headers, runtime);
}
/**
* Description: 兑换发货
* Summary: 数字商品服务-兑换服务-兑换发货
*/
public SendExchangeResponse sendExchangeEx(SendExchangeRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.exchange.send", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new SendExchangeResponse());
}
/**
* Description: 用户身份确认收货
* Summary: 数字商品服务-兑换服务-用户身份确认收货
*/
public ExecExchangeReceivebyuserResponse execExchangeReceivebyuser(ExecExchangeReceivebyuserRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.execExchangeReceivebyuserEx(request, headers, runtime);
}
/**
* Description: 用户身份确认收货
* Summary: 数字商品服务-兑换服务-用户身份确认收货
*/
public ExecExchangeReceivebyuserResponse execExchangeReceivebyuserEx(ExecExchangeReceivebyuserRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.exchange.receivebyuser.exec", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ExecExchangeReceivebyuserResponse());
}
/**
* Description: 资产过期
* Summary: 数字商品服务-资产服务-资产过期
*/
public ExecAssetExpireResponse execAssetExpire(ExecAssetExpireRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map headers = new java.util.HashMap<>();
return this.execAssetExpireEx(request, headers, runtime);
}
/**
* Description: 资产过期
* Summary: 数字商品服务-资产服务-资产过期
*/
public ExecAssetExpireResponse execAssetExpireEx(ExecAssetExpireRequest request, java.util.Map headers, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
return TeaModel.toModel(this.doRequest("1.0", "baas.antdao.asset.expire.exec", "HTTPS", "POST", "/gateway.do", TeaModel.buildMap(request), headers, runtime), new ExecAssetExpireResponse());
}
/**
* Description: 检索资产流转流水
* Summary: 数字商品服务-资产服务-查询资产流转流水
*/
public QueryAssetInstructionResponse queryAssetInstruction(QueryAssetInstructionRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
java.util.Map