public class AlipayMerchantLiveChannelApi extends Object
| 构造器和说明 |
|---|
AlipayMerchantLiveChannelApi() |
AlipayMerchantLiveChannelApi(ApiClient apiClient) |
| 限定符和类型 | 方法和说明 |
|---|---|
ApiClient |
getApiClient() |
String |
getCustomBaseUrl() |
int |
getHostIndex() |
AlipayMerchantLiveChannelQueryResponseModel |
query(String secret)
渠道信息查询
根据直播等内容域跳转小程序下单时携带的orderStartId,回查业务主体信息(如操作人、主播、直播、文章等,用于外部业务信息补全、返佣等)。
|
AlipayMerchantLiveChannelQueryResponseModel |
query(String secret,
CustomizedParams customizedParams) |
okhttp3.Call |
queryAsync(String secret,
ApiCallback<AlipayMerchantLiveChannelQueryResponseModel> _callback)
渠道信息查询 (asynchronously)
根据直播等内容域跳转小程序下单时携带的orderStartId,回查业务主体信息(如操作人、主播、直播、文章等,用于外部业务信息补全、返佣等)。
|
okhttp3.Call |
queryAsync(String secret,
ApiCallback<AlipayMerchantLiveChannelQueryResponseModel> _callback,
CustomizedParams customizedParams) |
okhttp3.Call |
queryCall(String secret,
ApiCallback _callback,
CustomizedParams customizedParams)
Build call for query
|
ApiResponse<AlipayMerchantLiveChannelQueryResponseModel> |
queryWithHttpInfo(String secret,
CustomizedParams customizedParams)
渠道信息查询
根据直播等内容域跳转小程序下单时携带的orderStartId,回查业务主体信息(如操作人、主播、直播、文章等,用于外部业务信息补全、返佣等)。
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public AlipayMerchantLiveChannelApi()
public AlipayMerchantLiveChannelApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public String getCustomBaseUrl()
public void setCustomBaseUrl(String customBaseUrl)
public okhttp3.Call queryCall(String secret, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
secret - 渠道下单参数(orderStartId) (optional)_callback - Callback for upload/download progresscustomizedParams - ApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public AlipayMerchantLiveChannelQueryResponseModel query(String secret) throws ApiException
secret - 渠道下单参数(orderStartId) (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public AlipayMerchantLiveChannelQueryResponseModel query(String secret, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AlipayMerchantLiveChannelQueryResponseModel> queryWithHttpInfo(String secret, CustomizedParams customizedParams) throws ApiException
secret - 渠道下单参数(orderStartId) (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public okhttp3.Call queryAsync(String secret, ApiCallback<AlipayMerchantLiveChannelQueryResponseModel> _callback) throws ApiException
secret - 渠道下单参数(orderStartId) (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public okhttp3.Call queryAsync(String secret, ApiCallback<AlipayMerchantLiveChannelQueryResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionCopyright © 2024. All rights reserved.