com.wechat.pay.java.service.merchantexclusivecoupon.model.DiscountMsg 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.SerializedName;
/** DiscountMsg */
public class DiscountMsg {
/** 折扣比例 说明:折扣百分比,88为88折 */
@SerializedName("discount_percent")
private Integer discountPercent;
/** 消费门槛 说明:消费门槛,单位:分。 特殊规则:取值范围 1 ≤ value ≤ 10000000 */
@SerializedName("transaction_minimum")
private Long transactionMinimum;
public Integer getDiscountPercent() {
return discountPercent;
}
public void setDiscountPercent(Integer discountPercent) {
this.discountPercent = discountPercent;
}
public Long getTransactionMinimum() {
return transactionMinimum;
}
public void setTransactionMinimum(Long transactionMinimum) {
this.transactionMinimum = transactionMinimum;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DiscountMsg {\n");
sb.append(" discountPercent: ").append(toIndentedString(discountPercent)).append("\n");
sb.append(" transactionMinimum: ").append(toIndentedString(transactionMinimum)).append("\n");
sb.append("}");
return sb.toString();
}
}