com.wechat.pay.java.service.cashcoupons.model.ModifyStockBudgetRequest 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
//
// 新增立减金api
//
// API version: 3.4.0
// Code generated by WechatPay APIv3 Generator based on [OpenAPI
// Generator](https://openapi-generator.tech); DO NOT EDIT.
package com.wechat.pay.java.service.cashcoupons.model;
import static com.wechat.pay.java.core.util.StringUtil.toIndentedString;
import com.google.gson.annotations.SerializedName;
/** ModifyStockBudgetRequest */
public class ModifyStockBudgetRequest {
/** 创建批次的商户号 说明:批次创建方商户号 */
@SerializedName("stock_creator_mchid")
private String stockCreatorMchid;
/** 目标预算金额 说明:预算修改目标额度,单位分 */
@SerializedName("target_max_amount")
private Long targetMaxAmount;
/** 当前预算金额 说明:当前预算额度,单位分 */
@SerializedName("current_max_amount")
private Long currentMaxAmount;
public String getStockCreatorMchid() {
return stockCreatorMchid;
}
public void setStockCreatorMchid(String stockCreatorMchid) {
this.stockCreatorMchid = stockCreatorMchid;
}
public Long getTargetMaxAmount() {
return targetMaxAmount;
}
public void setTargetMaxAmount(Long targetMaxAmount) {
this.targetMaxAmount = targetMaxAmount;
}
public Long getCurrentMaxAmount() {
return currentMaxAmount;
}
public void setCurrentMaxAmount(Long currentMaxAmount) {
this.currentMaxAmount = currentMaxAmount;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ModifyStockBudgetRequest {\n");
sb.append(" stockCreatorMchid: ").append(toIndentedString(stockCreatorMchid)).append("\n");
sb.append(" targetMaxAmount: ").append(toIndentedString(targetMaxAmount)).append("\n");
sb.append(" currentMaxAmount: ").append(toIndentedString(currentMaxAmount)).append("\n");
sb.append("}");
return sb.toString();
}
}