public class AlipayMobileStdPublicMessageCustomApi extends Object
| 构造器和说明 |
|---|
AlipayMobileStdPublicMessageCustomApi() |
AlipayMobileStdPublicMessageCustomApi(ApiClient apiClient) |
| 限定符和类型 | 方法和说明 |
|---|---|
ApiClient |
getApiClient() |
String |
getCustomBaseUrl() |
int |
getHostIndex() |
Object |
send(AlipayMobileStdPublicMessageCustomSendModel alipayMobileStdPublicMessageCustomSendModel)
异步单发消息
商户给单个用户发送消息
|
Object |
send(AlipayMobileStdPublicMessageCustomSendModel alipayMobileStdPublicMessageCustomSendModel,
CustomizedParams customizedParams) |
okhttp3.Call |
sendAsync(AlipayMobileStdPublicMessageCustomSendModel alipayMobileStdPublicMessageCustomSendModel,
ApiCallback<Object> _callback)
异步单发消息 (asynchronously)
商户给单个用户发送消息
|
okhttp3.Call |
sendAsync(AlipayMobileStdPublicMessageCustomSendModel alipayMobileStdPublicMessageCustomSendModel,
ApiCallback<Object> _callback,
CustomizedParams customizedParams) |
okhttp3.Call |
sendCall(AlipayMobileStdPublicMessageCustomSendModel alipayMobileStdPublicMessageCustomSendModel,
ApiCallback _callback,
CustomizedParams customizedParams)
Build call for send
|
ApiResponse<Object> |
sendWithHttpInfo(AlipayMobileStdPublicMessageCustomSendModel alipayMobileStdPublicMessageCustomSendModel,
CustomizedParams customizedParams)
异步单发消息
商户给单个用户发送消息
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public AlipayMobileStdPublicMessageCustomApi()
public AlipayMobileStdPublicMessageCustomApi(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 sendCall(AlipayMobileStdPublicMessageCustomSendModel alipayMobileStdPublicMessageCustomSendModel, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
alipayMobileStdPublicMessageCustomSendModel - (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 Object send(AlipayMobileStdPublicMessageCustomSendModel alipayMobileStdPublicMessageCustomSendModel) throws ApiException
alipayMobileStdPublicMessageCustomSendModel - (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 Object send(AlipayMobileStdPublicMessageCustomSendModel alipayMobileStdPublicMessageCustomSendModel, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<Object> sendWithHttpInfo(AlipayMobileStdPublicMessageCustomSendModel alipayMobileStdPublicMessageCustomSendModel, CustomizedParams customizedParams) throws ApiException
alipayMobileStdPublicMessageCustomSendModel - (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 sendAsync(AlipayMobileStdPublicMessageCustomSendModel alipayMobileStdPublicMessageCustomSendModel, ApiCallback<Object> _callback) throws ApiException
alipayMobileStdPublicMessageCustomSendModel - (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 sendAsync(AlipayMobileStdPublicMessageCustomSendModel alipayMobileStdPublicMessageCustomSendModel, ApiCallback<Object> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionCopyright © 2024. All rights reserved.