com.foxinmy.weixin4j.mp.event.KfSwitchEventMessage 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 KfSwitchEventMessage
* @author jinyu([email protected])
* @date 2015年3月22日
* @since JDK 1.6
* @see 会话状态通知事件
*/
public class KfSwitchEventMessage extends EventMessage {
private static final long serialVersionUID = 4319501074109623413L;
public KfSwitchEventMessage() {
super(EventType.kf_switch_session.name());
}
/**
* 来自的客服账号
*/
@XmlElement(name = "FromKfAccount")
private String fromKfAccount;
/**
* 转移给客服账号
*/
@XmlElement(name = "ToKfAccount")
private String toKfAccount;
public String getFromKfAccount() {
return fromKfAccount;
}
public String getToKfAccount() {
return toKfAccount;
}
@Override
public String toString() {
return "KfSwitchEventMessage [fromKfAccount=" + fromKfAccount
+ ", toKfAccount=" + toKfAccount + "]";
}
}