All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alipay.api.domain.AlipayOpenAppMiniTemplatemessageSendModel Maven / Gradle / Ivy

The newest version!
package com.alipay.api.domain;

import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;

/**
 * 小程序发送模板消息
 *
 * @author auto create
 * @since 1.0, 2017-09-14 13:48:10
 */
public class AlipayOpenAppMiniTemplatemessageSendModel extends AlipayObject {

	private static final long serialVersionUID = 4318299155482131638L;

	/**
	 * 开发者需要发送模板消息中的自定义部分来替换模板的占位符
	 */
	@ApiField("data")
	private String data;

	/**
	 * 用户发生的交易行为的交易号,或者用户在小程序产生表单提交的表单号,用于信息发送的校验
	 */
	@ApiField("form_id")
	private String formId;

	/**
	 * 小程序的跳转页面,用于消息中心用户点击之后详细跳转的小程序页面
	 */
	@ApiField("page")
	private String page;

	/**
	 * 发送消息的支付宝账号
	 */
	@ApiField("to_user_id")
	private String toUserId;

	/**
	 * 用户申请的模板id号,固定的模板id会发送固定的消息
	 */
	@ApiField("user_template_id")
	private String userTemplateId;

	public String getData() {
		return this.data;
	}
	public void setData(String data) {
		this.data = data;
	}

	public String getFormId() {
		return this.formId;
	}
	public void setFormId(String formId) {
		this.formId = formId;
	}

	public String getPage() {
		return this.page;
	}
	public void setPage(String page) {
		this.page = page;
	}

	public String getToUserId() {
		return this.toUserId;
	}
	public void setToUserId(String toUserId) {
		this.toUserId = toUserId;
	}

	public String getUserTemplateId() {
		return this.userTemplateId;
	}
	public void setUserTemplateId(String userTemplateId) {
		this.userTemplateId = userTemplateId;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy