All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.wechat.pay.java.service.merchantexclusivecoupon.model.ModifyBudgetBody Maven / Gradle / Ivy

There is a newer version: 0.2.14
Show newest version
// 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.SerializedName;

/** ModifyBudgetBody */
public class ModifyBudgetBody {
  /**
   * 目标批次最大发放个数 说明:批次最大发放个数,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 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 ModifyBudgetBody {\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();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy