com.foxinmy.weixin4j.mp.event.KfCreateEventMessage Maven / Gradle / Ivy
package com.foxinmy.weixin4j.mp.event;
import javax.xml.bind.annotation.XmlElement;
import com.foxinmy.weixin4j.message.event.EventMessage;
import com.foxinmy.weixin4j.type.EventType;
/**
* 客服接入会话事件
*
* @className KfCreateEventMessage
* @author jinyu([email protected])
* @date 2015年3月22日
* @since JDK 1.6
* @see 会话状态通知事件
*/
public class KfCreateEventMessage extends EventMessage {
private static final long serialVersionUID = -8968189700999202108L;
public KfCreateEventMessage() {
super(EventType.kf_create_session.name());
}
/**
* 客服账号
*/
@XmlElement(name = "KfAccount")
private String kfAccount;
public String getKfAccount() {
return kfAccount;
}
@Override
public String toString() {
return "KfCreateEventMessage [kfAccount=" + kfAccount + ", ="
+ super.toString() + "]";
}
}