com.jfinal.weixin.sdk.msg.in.card.InMerChantOrderEvent Maven / Gradle / Ivy
package com.jfinal.weixin.sdk.msg.in.card;
import com.jfinal.weixin.sdk.msg.in.event.EventInMsg;
/**
* 微信小店订单支付成功接口消息
*
* <xml>
* <ToUserName><![CDATA[gh_7638cbc70355]]></ToUserName>
* <FromUserName><![CDATA[o_CBes6AP0_HPzsRwzpe6kXF6FnM]]></FromUserName>
* <CreateTime>1463387703</CreateTime>
* <MsgType><![CDATA[event]]></MsgType>
* <Event><![CDATA[merchant_order]]></Event>
* <OrderId><![CDATA[12924804247712204496]]></OrderId>
* <OrderStatus>2</OrderStatus>
* <ProductId><![CDATA[p_CBes1Evak4u6Gd5l-T0yYlk5dk]]></ProductId>
* <SkuInfo><![CDATA[]]></SkuInfo>
* </xml>
*
*/
@SuppressWarnings("serial")
public class InMerChantOrderEvent extends EventInMsg {
public static final String EVENT = "merchant_order";
private String orderId;
private Integer orderStatus;
private String productId;
private String skuInfo;
public InMerChantOrderEvent(String toUserName, String fromUserName, Integer createTime) {
super(toUserName, fromUserName, createTime, EVENT);
}
public String getOrderId() {
return orderId;
}
public void setOrderId(String orderId) {
this.orderId = orderId;
}
public Integer getOrderStatus() {
return orderStatus;
}
public void setOrderStatus(Integer orderStatus) {
this.orderStatus = orderStatus;
}
public String getProductId() {
return productId;
}
public void setProductId(String productId) {
this.productId = productId;
}
public String getSkuInfo() {
return skuInfo;
}
public void setSkuInfo(String skuInfo) {
this.skuInfo = skuInfo;
}
}