public class TemplateCardBuilder extends BaseBuilder<TemplateCardBuilder>
模板卡片消息Builder 用法: WxCustomMessage m = WxCustomMessage.TEMPLATECARD().title(...)....toUser(...).build();
构造器和说明 |
---|
TemplateCardBuilder() |
public TemplateCardBuilder cardType(java.lang.String cardType)
public TemplateCardBuilder cardImageUrl(java.lang.String cardImageUrl)
public TemplateCardBuilder cardImageAspectRatio(java.lang.Float cardImageAspectRatio)
public TemplateCardBuilder sourceIconUrl(java.lang.String sourceIconUrl)
public TemplateCardBuilder sourceDesc(java.lang.String sourceDesc)
public TemplateCardBuilder mainTitleTitle(java.lang.String mainTitleTitle)
public TemplateCardBuilder mainTitleDesc(java.lang.String mainTitleDesc)
public TemplateCardBuilder emphasisContentTitle(java.lang.String emphasisContentTitle)
public TemplateCardBuilder emphasisContentDesc(java.lang.String emphasisContentDesc)
public TemplateCardBuilder subTitleText(java.lang.String subTitleText)
public TemplateCardBuilder verticalContents(java.util.List<VerticalContent> verticalContents)
public TemplateCardBuilder horizontalContents(java.util.List<HorizontalContent> horizontalContents)
public TemplateCardBuilder jumps(java.util.List<TemplateCardJump> jumps)
public TemplateCardBuilder cardActionType(java.lang.Integer cardActionType)
public TemplateCardBuilder cardActionUrl(java.lang.String cardActionUrl)
public TemplateCardBuilder cardActionAppid(java.lang.String cardActionAppid)
public TemplateCardBuilder cardActionPagepath(java.lang.String cardActionPagepath)
public TemplateCardBuilder taskId(java.lang.String taskId)
public TemplateCardBuilder buttons(java.util.List<TemplateCardButton> buttons)
public TemplateCardBuilder checkboxQuestionKey(java.lang.String checkboxQuestionKey)
public TemplateCardBuilder checkboxMode(java.lang.Integer checkboxMode)
public TemplateCardBuilder options(java.util.List<CheckboxOption> options)
public TemplateCardBuilder submitButtonText(java.lang.String submitButtonText)
public TemplateCardBuilder submitButtonKey(java.lang.String submitButtonKey)
public TemplateCardBuilder selects(java.util.List<MultipleSelect> selects)
public TemplateCardBuilder quoteArea(QuoteArea quoteArea)
public WxCpMessage build()
build
在类中 BaseBuilder<TemplateCardBuilder>