Package com.foxinmy.weixin4j.model.card
Class GiftCardPage.Builder
- java.lang.Object
-
- com.foxinmy.weixin4j.model.card.GiftCardPage.Builder
-
- Enclosing class:
- GiftCardPage
public static class GiftCardPage.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GiftCardPage.Builder
address(String address)
设置商家地址GiftCardPage.Builder
bannerPicUrl(String url)
设置礼品卡货架主题页顶部banner图片GiftCardPage.Builder
categoryList(String title)
添加一个主题分类GiftCardPage.Builder
cell1(String title, String url)
设置商家自定义链接GiftCardPage.Builder
cell2(String title, String url)
设置商家自定义链接GiftCardPage.Builder
description(String description)
设置商家使用说明GiftCardPage.Builder
needReceipt(boolean needReceipt)
设置该货架的订单是否支持开发票GiftCardPage.Builder
pageId(String pageId)
GiftCardPage.Builder
servicePhone(String phoneNo)
设置商家服务电话GiftCardPage.Builder
supportBuyForSelf(boolean supportBuyForSelf)
设置礼品卡货架是否支持买给自己GiftCardPage.Builder
supportMulti(boolean supportMulti)
设置是否支持一次购买多张及发送至群GiftCardPage.Builder
themeList(PageTheme theme)
添加一个主题GiftCardPage.Builder
title(String title)
设置礼品卡货架名称
-
-
-
Method Detail
-
pageId
public GiftCardPage.Builder pageId(String pageId)
-
title
public GiftCardPage.Builder title(String title)
设置礼品卡货架名称- Parameters:
title
-- Returns:
-
supportMulti
public GiftCardPage.Builder supportMulti(boolean supportMulti)
设置是否支持一次购买多张及发送至群- Parameters:
supportMulti
-- Returns:
-
supportBuyForSelf
public GiftCardPage.Builder supportBuyForSelf(boolean supportBuyForSelf)
设置礼品卡货架是否支持买给自己- Parameters:
supportBuyForSelf
-- Returns:
-
bannerPicUrl
public GiftCardPage.Builder bannerPicUrl(String url)
设置礼品卡货架主题页顶部banner图片- Parameters:
url
-- Returns:
-
themeList
public GiftCardPage.Builder themeList(PageTheme theme)
添加一个主题- Parameters:
theme
-- Returns:
-
categoryList
public GiftCardPage.Builder categoryList(String title)
添加一个主题分类- Parameters:
title
-- Returns:
-
address
public GiftCardPage.Builder address(String address)
设置商家地址- Parameters:
address
-- Returns:
-
servicePhone
public GiftCardPage.Builder servicePhone(String phoneNo)
设置商家服务电话- Parameters:
phoneNo
-- Returns:
-
description
public GiftCardPage.Builder description(String description)
设置商家使用说明- Parameters:
description
-- Returns:
-
needReceipt
public GiftCardPage.Builder needReceipt(boolean needReceipt)
设置该货架的订单是否支持开发票- Parameters:
needReceipt
-- Returns:
-
cell1
public GiftCardPage.Builder cell1(String title, String url)
设置商家自定义链接- Parameters:
title
-url
-- Returns:
-
cell2
public GiftCardPage.Builder cell2(String title, String url)
设置商家自定义链接- Parameters:
title
-url
-- Returns:
-
-