All Downloads are FREE. Search and download functionalities are using the official Maven repository.

me.chanjar.weixin.cp.bean.outxmlbuilder.TaskCardBuilder Maven / Gradle / Ivy

There is a newer version: 4.6.7.B
Show newest version
package me.chanjar.weixin.cp.bean.outxmlbuilder;

import me.chanjar.weixin.cp.bean.message.WxCpXmlOutTaskCardMessage;

/**
 * 任务卡片消息builder
 *
 * @author tao zhang
 */
public final class TaskCardBuilder extends BaseBuilder {

  private String replaceName;

  /**
   * Replace name task card builder.
   *
   * @param replaceName the replace name
   * @return the task card builder
   */
  public TaskCardBuilder replaceName(String replaceName) {
    this.replaceName = replaceName;
    return this;
  }

  @Override
  public WxCpXmlOutTaskCardMessage build() {
    WxCpXmlOutTaskCardMessage m = new WxCpXmlOutTaskCardMessage();
    setCommon(m);
    m.setReplaceName(this.replaceName);
    return m;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy