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

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

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

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

/**
 * 模板卡片更新点击用户的按钮点击文案消息builder
 *
 * @author nickname263
 */
public class UpdateButtonBuilder extends BaseBuilder {


  private String replaceName;

  /**
   * Replace name update button builder.
   *
   * @param replaceName the replace name
   * @return the update button builder
   */
  public UpdateButtonBuilder replaceName(String replaceName) {
    this.replaceName = replaceName;
    return this;
  }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy