com.foxinmy.weixin4j.response.TransferCustomerResponse Maven / Gradle / Ivy
package com.foxinmy.weixin4j.response;
/**
* 消息转移到客服
*
* @className TransferCustomerResponse
* @author jinyu([email protected])
* @date 2015年5月5日
* @since JDK 1.6
* @see 转移消息到多客服
*/
public class TransferCustomerResponse implements WeixinResponse {
/**
* 指定会话接入的客服账号
*/
private String kfAccount;
public TransferCustomerResponse(String kfAccount) {
this.kfAccount = kfAccount;
}
public String getKfAccount() {
return kfAccount;
}
@Override
public String toContent() {
String content = "";
if (kfAccount != null && !kfAccount.trim().isEmpty()) {
content = String
.format(" ",
kfAccount);
}
return content;
}
@Override
public String getMsgType() {
return "transfer_customer_service";
}
}