com.foxinmy.weixin4j.mp.event.KfCloseEventMessage 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 KfCloseEventMessage
* @author jinyu([email protected])
* @date 2015年3月22日
* @since JDK 1.6
* @see 会话状态通知事件
*/
public class KfCloseEventMessage extends EventMessage {
private static final long serialVersionUID = 3644449346935205541L;
public KfCloseEventMessage() {
super(EventType.kf_close_session.name());
}
/**
* 客服账号
*/
@XmlElement(name = "KfAccount")
private String kfAccount;
public String getKfAccount() {
return kfAccount;
}
@Override
public String toString() {
return "KfCloseEventMessage [kfAccount=" + kfAccount + ", ="
+ super.toString() + "]";
}
}