| Package | Description |
|---|---|
| cn.felord.payment.wechat.v3.domain.busifavor |
| Modifier and Type | Field and Description |
|---|---|
private StockSendRule |
StockDetailResponse.stockSendRule
券发放规则
|
private StockSendRule |
FavorCreateParams.stockSendRule
券发放规则
|
| Modifier and Type | Method and Description |
|---|---|
StockSendRule |
StockSendRule.maxCoupons(Integer maxCoupons)
Max coupons stock send rule.
|
StockSendRule |
StockSendRule.maxCouponsByDay(Integer maxCouponsByDay)
Max coupons by day stock send rule.
|
StockSendRule |
StockSendRule.maxCouponsPerUser(Integer maxCouponsPerUser)
Max coupons per user stock send rule.
|
StockSendRule |
StockSendRule.naturalPersonLimit(Boolean naturalPersonLimit)
Natural person limit stock send rule.
|
StockSendRule |
StockSendRule.preventApiAbuse(Boolean preventApiAbuse)
Prevent api abuse stock send rule.
|
StockSendRule |
StockSendRule.shareable(Boolean shareable)
Shareable stock send rule.
|
StockSendRule |
StockSendRule.transferable(Boolean transferable)
Transferable stock send rule.
|
| Modifier and Type | Method and Description |
|---|---|
static FavorCreateParams |
FavorCreateParams.discount(String stockName,
String belongMerchant,
String goodsName,
BusiFavorUseMethod useMethod,
CouponAvailableTime availableTime,
DiscountCoupon discountCoupon,
CouponCodeMode couponCodeMode,
StockSendRule stockSendRule,
String outRequestNo)
折扣券
|
static FavorCreateParams |
FavorCreateParams.exchange(String stockName,
String belongMerchant,
String goodsName,
BusiFavorUseMethod useMethod,
CouponAvailableTime availableTime,
ExchangeCoupon exchangeCoupon,
CouponCodeMode couponCodeMode,
StockSendRule stockSendRule,
String outRequestNo)
换购券
|
static FavorCreateParams |
FavorCreateParams.normal(String stockName,
String belongMerchant,
String goodsName,
BusiFavorUseMethod useMethod,
CouponAvailableTime availableTime,
FixedNormalCoupon fixedNormalCoupon,
CouponCodeMode couponCodeMode,
StockSendRule stockSendRule,
String outRequestNo)
满减券
|
| Constructor and Description |
|---|
FavorCreateParams(String stockName,
String belongMerchant,
String goodsName,
StockType stockType,
CouponUseRule couponUseRule,
CouponCodeMode couponCodeMode,
StockSendRule stockSendRule,
String outRequestNo)
Instantiates a new Favor create params.
|
Copyright © 2023. All rights reserved.