com.alipay.api.response.AlipayMobilePublicMessageTotalSendResponse Java Examples

The following examples show how to use com.alipay.api.response.AlipayMobilePublicMessageTotalSendResponse. 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 appAuthToken
 *            商户授权后获取的app_auth_token
 * @param model
 * @return
 * @throws AlipayApiException
 */
@Deprecated
public static AlipayMobilePublicMessageTotalSendResponse messageTotalSendText(String appAuthToken, SendMessageTextMore model,AlipayConfig config) throws AlipayApiException {
	AlipayMobilePublicMessageTotalSendRequest request = new AlipayMobilePublicMessageTotalSendRequest();
	request.putOtherTextParam("app_auth_token", appAuthToken);
	String json = "";
	json = JSONObject.toJSONString(model);
	request.setBizContent(json);
	return AlipayClientFactory.getAlipayClientInstance(config).execute(request);
}
 
Example #2
Source File: JwSendMessageAPI.java    From jeewx-api with Apache License 2.0 5 votes vote down vote up
/**
 * 群发消息(图文)
 * 
 * @param appAuthToken
 *            商户授权后获取的app_auth_token
 * @param model
 * @return
 * @throws AlipayApiException
 */
@Deprecated
public static AlipayMobilePublicMessageTotalSendResponse messageTotalSendImageText(String appAuthToken, SendMessageImageTextMore model,AlipayConfig config) throws AlipayApiException {
	AlipayMobilePublicMessageTotalSendRequest request = new AlipayMobilePublicMessageTotalSendRequest();
	request.putOtherTextParam("app_auth_token", appAuthToken);
	String json = "";
	json = JSONObject.toJSONString(model);
	request.setBizContent(json);
	return AlipayClientFactory.getAlipayClientInstance(config).execute(request);
}
 
Example #3
Source File: AlipayMobilePublicMessageTotalSendRequest.java    From alipay-sdk-java-all with Apache License 2.0 4 votes vote down vote up
public Class<AlipayMobilePublicMessageTotalSendResponse> getResponseClass() {
	return AlipayMobilePublicMessageTotalSendResponse.class;
}
 
Example #4
Source File: AlipayMobilePublicMessageTotalSendRequest.java    From alipay-sdk with Apache License 2.0 4 votes vote down vote up
public Class<AlipayMobilePublicMessageTotalSendResponse> getResponseClass() {
	return AlipayMobilePublicMessageTotalSendResponse.class;
}
 
Example #5
Source File: AlipayMobilePublicMessageTotalSendRequest.java    From pay with Apache License 2.0 4 votes vote down vote up
public Class<AlipayMobilePublicMessageTotalSendResponse> getResponseClass() {
	return AlipayMobilePublicMessageTotalSendResponse.class;
}
 
Example #6
Source File: JwSendMessageAPI.java    From jeewx-api with Apache License 2.0 3 votes vote down vote up
/**
 * 群发消息(文本)
 * 
 * @param appAuthToken
 *            商户授权后获取的app_auth_token
 * @param model
 * @return
 * @throws AlipayApiException
 */
public static AlipayMobilePublicMessageTotalSendResponse messageTotalSend(String appAuthToken, String content,AlipayConfig config) throws AlipayApiException {
	AlipayMobilePublicMessageTotalSendRequest request = new AlipayMobilePublicMessageTotalSendRequest();
	request.putOtherTextParam("app_auth_token", appAuthToken);
	request.setBizContent(content);
	return AlipayClientFactory.getAlipayClientInstance(config).execute(request);
}