com.wechat.pay.java.service.merchantexclusivecoupon.model.ModifyBudgetRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wechatpay-java Show documentation
Show all versions of wechatpay-java Show documentation
A Java SDK for WeChat Pay APIv3
// Copyright 2021 Tencent Inc. All rights reserved.
//
// 营销商家券对外API
//
// No description provided (generated by Openapi Generator
// https://github.com/openapitools/openapi-generator)
//
// API version: 0.0.11
// Code generated by WechatPay APIv3 Generator based on [OpenAPI
// Generator](https://openapi-generator.tech); DO NOT EDIT.
package com.wechat.pay.java.service.merchantexclusivecoupon.model;
import static com.wechat.pay.java.core.util.StringUtil.toIndentedString;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
/** ModifyBudgetRequest */
public class ModifyBudgetRequest {
/** 批次号 说明:批次号 */
@SerializedName("stock_id")
@Expose(serialize = false)
private String stockId;
/**
* 目标批次最大发放个数 说明:批次最大发放个数,target\\_max\\_coupons与target\\_max\\_coupons\\_by\\_day只能修改一个
* 注:目标批次即修改后的批次
*/
@SerializedName("target_max_coupons")
private Long targetMaxCoupons;
/**
* 当前批次最大发放个数 说明:当前批次最大发放个数,当传入target\\_max\\_coupons大于0时,current\\_max\\_coupons必传 注:当前批次即未修改的批次
*/
@SerializedName("current_max_coupons")
private Long currentMaxCoupons;
/**
* 目标单天发放上限个数 说明:单天发放上限个数,target\\_max\\_coupons与target\\_max\\_coupons\\_by\\_day只能修改一个
* 注:目标批次即修改后的批次
*/
@SerializedName("target_max_coupons_by_day")
private Long targetMaxCouponsByDay;
/**
* 当前单天发放上限个数 说明:当前单天发放上限个数
* ,当传入target\\_max\\_coupons\\_by\\_day大于0时,current\\_max\\_coupons\\_by\\_day必填 注:当前批次即未修改的批次
*/
@SerializedName("current_max_coupons_by_day")
private Long currentMaxCouponsByDay;
/** 修改预算请求单据号 说明:修改预算请求单据号 */
@SerializedName("modify_budget_request_no")
private String modifyBudgetRequestNo;
public String getStockId() {
return stockId;
}
public void setStockId(String stockId) {
this.stockId = stockId;
}
public Long getTargetMaxCoupons() {
return targetMaxCoupons;
}
public void setTargetMaxCoupons(Long targetMaxCoupons) {
this.targetMaxCoupons = targetMaxCoupons;
}
public Long getCurrentMaxCoupons() {
return currentMaxCoupons;
}
public void setCurrentMaxCoupons(Long currentMaxCoupons) {
this.currentMaxCoupons = currentMaxCoupons;
}
public Long getTargetMaxCouponsByDay() {
return targetMaxCouponsByDay;
}
public void setTargetMaxCouponsByDay(Long targetMaxCouponsByDay) {
this.targetMaxCouponsByDay = targetMaxCouponsByDay;
}
public Long getCurrentMaxCouponsByDay() {
return currentMaxCouponsByDay;
}
public void setCurrentMaxCouponsByDay(Long currentMaxCouponsByDay) {
this.currentMaxCouponsByDay = currentMaxCouponsByDay;
}
public String getModifyBudgetRequestNo() {
return modifyBudgetRequestNo;
}
public void setModifyBudgetRequestNo(String modifyBudgetRequestNo) {
this.modifyBudgetRequestNo = modifyBudgetRequestNo;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ModifyBudgetRequest {\n");
sb.append(" stockId: ").append(toIndentedString(stockId)).append("\n");
sb.append(" targetMaxCoupons: ").append(toIndentedString(targetMaxCoupons)).append("\n");
sb.append(" currentMaxCoupons: ").append(toIndentedString(currentMaxCoupons)).append("\n");
sb.append(" targetMaxCouponsByDay: ")
.append(toIndentedString(targetMaxCouponsByDay))
.append("\n");
sb.append(" currentMaxCouponsByDay: ")
.append(toIndentedString(currentMaxCouponsByDay))
.append("\n");
sb.append(" modifyBudgetRequestNo: ")
.append(toIndentedString(modifyBudgetRequestNo))
.append("\n");
sb.append("}");
return sb.toString();
}
}