public class FavorBudgetParams extends Object
| Modifier and Type | Field and Description |
|---|---|
private Integer |
currentMaxCoupons
当前批次最大发放个数,当传入
targetMaxCoupons大于0时,必传 |
private Integer |
currentMaxCouponsByDay
当前单天发放上限个数 ,当传入
targetMaxCouponsByDay大于0时,必填 |
private String |
modifyBudgetRequestNo
修改预算请求单据号
|
private Integer |
targetMaxCoupons
目标批次最大发放个数,同
targetMaxCouponsByDay二选一 |
private Integer |
targetMaxCouponsByDay
目标单天发放上限个数,同
targetMaxCoupons二选一 |
| Constructor and Description |
|---|
FavorBudgetParams(Integer targetMaxCoupons,
Integer targetMaxCouponsByDay,
String modifyBudgetRequestNo)
Instantiates a new Busi favor budget params.
|
| Modifier and Type | Method and Description |
|---|---|
FavorBudgetParams |
currentMaxCoupons(Integer currentMaxCoupons)
Current max coupons busi favor budget params.
|
FavorBudgetParams |
currentMaxCouponsByDay(Integer currentMaxCouponsByDay)
Current max coupons by day busi favor budget params.
|
static FavorBudgetParams |
withTargetMaxCoupons(Integer targetMaxCoupons,
String modifyBudgetRequestNo)
With target max coupons busi favor budget params.
|
static FavorBudgetParams |
withTargetMaxCouponsByDay(Integer targetMaxCouponsByDay,
String modifyBudgetRequestNo)
With target max coupons by day busi favor budget params.
|
private final Integer targetMaxCoupons
targetMaxCouponsByDay二选一private final Integer targetMaxCouponsByDay
targetMaxCoupons二选一private Integer currentMaxCoupons
targetMaxCoupons大于0时,必传private Integer currentMaxCouponsByDay
targetMaxCouponsByDay大于0时,必填private final String modifyBudgetRequestNo
FavorBudgetParams(Integer targetMaxCoupons, Integer targetMaxCouponsByDay, String modifyBudgetRequestNo)
targetMaxCoupons - the target max couponstargetMaxCouponsByDay - the target max coupons by daymodifyBudgetRequestNo - the modify budget request nopublic static FavorBudgetParams withTargetMaxCouponsByDay(Integer targetMaxCouponsByDay, String modifyBudgetRequestNo)
targetMaxCouponsByDay - the target max coupons by daymodifyBudgetRequestNo - the modify budget request nopublic static FavorBudgetParams withTargetMaxCoupons(Integer targetMaxCoupons, String modifyBudgetRequestNo)
targetMaxCoupons - the target max couponsmodifyBudgetRequestNo - the modify budget request nopublic FavorBudgetParams currentMaxCoupons(Integer currentMaxCoupons)
currentMaxCoupons - the current max couponspublic FavorBudgetParams currentMaxCouponsByDay(Integer currentMaxCouponsByDay)
currentMaxCouponsByDay - the current max coupons by dayCopyright © 2023. All rights reserved.