public class AlipayOpenPublicTemplateMessageApi extends Object
| 构造器和说明 |
|---|
AlipayOpenPublicTemplateMessageApi() |
AlipayOpenPublicTemplateMessageApi(ApiClient apiClient) |
| 限定符和类型 | 方法和说明 |
|---|---|
AlipayOpenPublicTemplateMessageGetResponseModel |
get(String templateId)
消息模板领取接口
帮助服务窗开发者从服务窗平台(fuwu.alipay.com)公共模板库里领取一个行业的消息模板--消息模板是一种消息的样式,如消费提醒、账单提醒等,主要用于isv帮助商户领取消息模板。
|
AlipayOpenPublicTemplateMessageGetResponseModel |
get(String templateId,
CustomizedParams customizedParams) |
ApiClient |
getApiClient() |
okhttp3.Call |
getAsync(String templateId,
ApiCallback<AlipayOpenPublicTemplateMessageGetResponseModel> _callback)
消息模板领取接口 (asynchronously)
帮助服务窗开发者从服务窗平台(fuwu.alipay.com)公共模板库里领取一个行业的消息模板--消息模板是一种消息的样式,如消费提醒、账单提醒等,主要用于isv帮助商户领取消息模板。
|
okhttp3.Call |
getAsync(String templateId,
ApiCallback<AlipayOpenPublicTemplateMessageGetResponseModel> _callback,
CustomizedParams customizedParams) |
okhttp3.Call |
getCall(String templateId,
ApiCallback _callback,
CustomizedParams customizedParams)
Build call for get
|
String |
getCustomBaseUrl() |
int |
getHostIndex() |
ApiResponse<AlipayOpenPublicTemplateMessageGetResponseModel> |
getWithHttpInfo(String templateId,
CustomizedParams customizedParams)
消息模板领取接口
帮助服务窗开发者从服务窗平台(fuwu.alipay.com)公共模板库里领取一个行业的消息模板--消息模板是一种消息的样式,如消费提醒、账单提醒等,主要用于isv帮助商户领取消息模板。
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public AlipayOpenPublicTemplateMessageApi()
public AlipayOpenPublicTemplateMessageApi(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 getCall(String templateId, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
templateId - 消息母板id,登陆生活号后台(fuwu.alipay.com),点击菜单“模板消息”,点击“模板库”,即可看到相应模板的消息母板id (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 AlipayOpenPublicTemplateMessageGetResponseModel get(String templateId) throws ApiException
templateId - 消息母板id,登陆生活号后台(fuwu.alipay.com),点击菜单“模板消息”,点击“模板库”,即可看到相应模板的消息母板id (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 AlipayOpenPublicTemplateMessageGetResponseModel get(String templateId, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AlipayOpenPublicTemplateMessageGetResponseModel> getWithHttpInfo(String templateId, CustomizedParams customizedParams) throws ApiException
templateId - 消息母板id,登陆生活号后台(fuwu.alipay.com),点击菜单“模板消息”,点击“模板库”,即可看到相应模板的消息母板id (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 getAsync(String templateId, ApiCallback<AlipayOpenPublicTemplateMessageGetResponseModel> _callback) throws ApiException
templateId - 消息母板id,登陆生活号后台(fuwu.alipay.com),点击菜单“模板消息”,点击“模板库”,即可看到相应模板的消息母板id (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 getAsync(String templateId, ApiCallback<AlipayOpenPublicTemplateMessageGetResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionCopyright © 2024. All rights reserved.