Uses of Class
com.foxinmy.weixin4j.model.card.CouponBaseInfo.Builder
-
Packages that use CouponBaseInfo.Builder Package Description com.foxinmy.weixin4j.model.card -
-
Uses of CouponBaseInfo.Builder in com.foxinmy.weixin4j.model.card
Methods in com.foxinmy.weixin4j.model.card that return CouponBaseInfo.Builder Modifier and Type Method Description CouponBaseInfo.Builder
CouponBaseInfo.Builder. activeAt(int days, int beginDays)
设置卡券在领取多少天后有效CouponBaseInfo.Builder
CouponBaseInfo.Builder. activeAt(int days, int beginDays, Date endTime)
设置卡券在领取多少天后有效CouponBaseInfo.Builder
CouponBaseInfo.Builder. activeAt(Date beginTime, Date endTime)
设置卡券在某个时间范围有效CouponBaseInfo.Builder
CouponBaseInfo.Builder. bindOpenId(boolean bindOpenId)
设置是否指定用户领取,填写true或falseCouponBaseInfo.Builder
CouponBaseInfo.Builder. brandName(String brandName)
设置商户名字CouponBaseInfo.Builder
CouponBaseInfo.Builder. canGiveFriend(boolean canGiveFriend)
设置卡券是否可转赠CouponBaseInfo.Builder
CouponBaseInfo.Builder. canShare(boolean canShare)
设置卡券领取页面是否可分享。CouponBaseInfo.Builder
CouponBaseInfo.Builder. cardColor(CardColor cardColor)
设置卡券颜色CouponBaseInfo.Builder
CouponBaseInfo.Builder. centerAppBrandPass(String pass)
CouponBaseInfo.Builder
CouponBaseInfo.Builder. centerAppBrandUserName(String name)
CouponBaseInfo.Builder
CouponBaseInfo.Builder. centerSubTitle(String centerSubTitle)
设置显示在入口下方的提示语 ,仅在卡券状态正常(可以核销)时显示。CouponBaseInfo.Builder
CouponBaseInfo.Builder. centerTitle(String centerTitle)
设置卡券顶部居中的按钮,仅在卡券状态正常(可以核销)时显示CouponBaseInfo.Builder
CouponBaseInfo.Builder. centerUrl(String centerUrl)
设置顶部居中的url ,仅在卡券状态正常(可以核销)时显示CouponBaseInfo.Builder
CouponBaseInfo.Builder. codeType(CardCodeType codeType)
设置码型CouponBaseInfo.Builder
CouponBaseInfo.Builder. customAppBrandPass(String pass)
CouponBaseInfo.Builder
CouponBaseInfo.Builder. customAppBrandUserName(String name)
static CouponBaseInfo.Builder
CardCoupons. customBase()
卡券基础信息构造器CouponBaseInfo.Builder
CouponBaseInfo.Builder. customSubTitle(String customSubTitle)
设置显示在入口右侧的提示语CouponBaseInfo.Builder
CouponBaseInfo.Builder. customTitle(String customTitle)
设置自定义跳转外链的入口名字CouponBaseInfo.Builder
CouponBaseInfo.Builder. customUrl(String customUrl)
设置自定义跳转的URLCouponBaseInfo.Builder
CouponBaseInfo.Builder. description(String description)
设置卡券使用说明CouponBaseInfo.Builder
CouponBaseInfo.Builder. limitNum(int limitNum)
设置每人可领券的数量限制,不填写默认为50。CouponBaseInfo.Builder
CouponBaseInfo.Builder. locationIds(String... locationIds)
设置门店位置poiid。具备线下门店 的商户为必填CouponBaseInfo.Builder
CouponBaseInfo.Builder. logoUrl(String logoUrl)
设置商户logoCouponBaseInfo.Builder
CouponBaseInfo.Builder. maxGiveFriendTimes(int times)
CouponBaseInfo.Builder
CouponBaseInfo.Builder. needPushOnView(boolean needPushOnView)
CouponBaseInfo.Builder
CouponBaseInfo.Builder. notice(String notice)
设置卡券使用提醒CouponBaseInfo.Builder
CouponBaseInfo.Builder. price(int price)
CouponBaseInfo.Builder
CouponBaseInfo.Builder. promotionAppBrandPass(String pass)
CouponBaseInfo.Builder
CouponBaseInfo.Builder. promotionAppBrandUserName(String userName)
CouponBaseInfo.Builder
CouponBaseInfo.Builder. promotionSubTitle(String promotionSubTitle)
设置显示在营销入口右侧的提示语CouponBaseInfo.Builder
CouponBaseInfo.Builder. promotionTitle(String promotionTitle)
设置营销场景的自定义入口名称CouponBaseInfo.Builder
CouponBaseInfo.Builder. promotionUrl(String promotionUrl)
设置入口跳转外链的地址链接。CouponBaseInfo.Builder
CouponBaseInfo.Builder. quantity(int quantity)
设置卡券库存的数量CouponBaseInfo.Builder
CouponBaseInfo.Builder. servicePhone(String servicePhone)
设置客服电话CouponBaseInfo.Builder
CouponBaseInfo.Builder. source(String source)
设置第三方来源名,例如同程旅游、大众点评。CouponBaseInfo.Builder
CouponBaseInfo.Builder. title(String title)
设置卡券名CouponBaseInfo.Builder
CouponBaseInfo.Builder. useCustomCode(boolean useCustomCode)
设置是否自定义Code码Methods in com.foxinmy.weixin4j.model.card with parameters of type CouponBaseInfo.Builder Modifier and Type Method Description static CardCoupon
CardCoupons. createCashCoupon(CouponBaseInfo.Builder builder, double reduceCost, double leastCost)
创建代金券static CardCoupon
CardCoupons. createDiscountCoupon(CouponBaseInfo.Builder builder, int discount)
创建折扣券static CardCoupon
CardCoupons. createGeneralCoupon(CouponBaseInfo.Builder builder, String explain)
创建普通优惠券static GiftCard
CardCoupons. createGiftCard(CouponBaseInfo.Builder baseBuilder, GiftCard.Builder giftCardBuilder)
创建储值类礼品卡static CardCoupon
CardCoupons. createGiftCoupon(CouponBaseInfo.Builder builder, String explain)
创建普通优惠券static CardCoupon
CardCoupons. createGrouponCoupon(CouponBaseInfo.Builder builder, String explain)
创建团购券static MemberCard
CardCoupons. createMemberCard(CouponBaseInfo.Builder baseBuilder, MemberCard.Builder memberCardBudiler)
static VoucherCard
CardCoupons. createVoucherCard(CouponBaseInfo.Builder baseBuilder, GiftCard.Builder giftCardBuilder)
创建单品类礼品卡
-