com.egzosn.pay.common.bean.outbuilder.TextBuilder Maven / Gradle / Ivy
package com.egzosn.pay.common.bean.outbuilder;
import com.egzosn.pay.common.bean.PayOutMessage;
/**
* source chanjarster/weixin-java-tools
* @author egan
*
* email [email protected]
* date 2016-6-1 11:40:30
*
*/
public class TextBuilder extends BaseBuilder {
private String content;
public TextBuilder content(String content) {
this.content = content;
return this;
}
@Override
public PayOutMessage build() {
PayTextOutMessage message = new PayTextOutMessage();
setCommon(message);
message.setContent(content);
return message;
}
}