com.alipay.api.response.AlipayOpenPublicTemplateMessageGetResponse Java Examples

The following examples show how to use com.alipay.api.response.AlipayOpenPublicTemplateMessageGetResponse. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: JwSendMessageAPI.java    From jeewx-api with Apache License 2.0 5 votes vote down vote up
/**
 * 获取模板详情
 * @param templateId
 * @param config
 * @return
 * @throws AlipayApiException
 */
public static AlipayOpenPublicTemplateMessageGetResponse templateMessageGet(String templateId,AlipayConfig config) throws AlipayApiException{
	AlipayOpenPublicTemplateMessageGetRequest request = new AlipayOpenPublicTemplateMessageGetRequest();
	JSONObject json = new JSONObject();
	json.put("template_id", templateId);
	request.setBizContent(json.toJSONString());
	return AlipayClientFactory.getAlipayClientInstance(config).execute(request);
}
 
Example #2
Source File: AlipayOpenPublicTemplateMessageGetRequest.java    From alipay-sdk-java-all with Apache License 2.0 4 votes vote down vote up
public Class<AlipayOpenPublicTemplateMessageGetResponse> getResponseClass() {
	return AlipayOpenPublicTemplateMessageGetResponse.class;
}
 
Example #3
Source File: AlipayOpenPublicTemplateMessageGetRequest.java    From alipay-sdk with Apache License 2.0 4 votes vote down vote up
public Class<AlipayOpenPublicTemplateMessageGetResponse> getResponseClass() {
	return AlipayOpenPublicTemplateMessageGetResponse.class;
}
 
Example #4
Source File: AlipayOpenPublicTemplateMessageGetRequest.java    From pay with Apache License 2.0 4 votes vote down vote up
public Class<AlipayOpenPublicTemplateMessageGetResponse> getResponseClass() {
	return AlipayOpenPublicTemplateMessageGetResponse.class;
}