com.wechat.pay.java.service.giftactivity.model.FullSendRule 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.1.2
// Code generated by WechatPay APIv3 Generator based on [OpenAPI
// Generator](https://openapi-generator.tech); DO NOT EDIT.
package com.wechat.pay.java.service.giftactivity.model;
import static com.wechat.pay.java.core.util.StringUtil.toIndentedString;
import com.google.gson.annotations.SerializedName;
import java.util.ArrayList;
import java.util.List;
/** FullSendRule */
public class FullSendRule {
/** 消费金额门槛 说明:消费金额门槛 单位分 */
@SerializedName("transaction_amount_minimum")
private Long transactionAmountMinimum;
/** 发放内容 说明:发放内容,可选单张券或礼包,选礼包时奖品限定3-5个 */
@SerializedName("send_content")
private SendContentCategory sendContent;
/** 奖品类型 说明:奖品类型,暂时只支持商家券 */
@SerializedName("award_type")
private AwardType awardType;
/** 奖品基本信息列表 说明:奖品基本信息列表 */
@SerializedName("award_list")
private List awardList = new ArrayList();
/** 发券商户号选项 说明:发券商户号选取规则,支持选择在用券商户或手动输入商户号两种,选择手动时,发券商户号必填(商家券只支持手动输入) */
@SerializedName("merchant_option")
private SendMerchantOption merchantOption;
/** 发券商户号 说明:发券商户号,列表 */
@SerializedName("merchant_id_list")
private List merchantIdList;
public Long getTransactionAmountMinimum() {
return transactionAmountMinimum;
}
public void setTransactionAmountMinimum(Long transactionAmountMinimum) {
this.transactionAmountMinimum = transactionAmountMinimum;
}
public SendContentCategory getSendContent() {
return sendContent;
}
public void setSendContent(SendContentCategory sendContent) {
this.sendContent = sendContent;
}
public AwardType getAwardType() {
return awardType;
}
public void setAwardType(AwardType awardType) {
this.awardType = awardType;
}
public List getAwardList() {
return awardList;
}
public void setAwardList(List awardList) {
this.awardList = awardList;
}
public SendMerchantOption getMerchantOption() {
return merchantOption;
}
public void setMerchantOption(SendMerchantOption merchantOption) {
this.merchantOption = merchantOption;
}
public List getMerchantIdList() {
return merchantIdList;
}
public void setMerchantIdList(List merchantIdList) {
this.merchantIdList = merchantIdList;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FullSendRule {\n");
sb.append(" transactionAmountMinimum: ")
.append(toIndentedString(transactionAmountMinimum))
.append("\n");
sb.append(" sendContent: ").append(toIndentedString(sendContent)).append("\n");
sb.append(" awardType: ").append(toIndentedString(awardType)).append("\n");
sb.append(" awardList: ").append(toIndentedString(awardList)).append("\n");
sb.append(" merchantOption: ").append(toIndentedString(merchantOption)).append("\n");
sb.append(" merchantIdList: ").append(toIndentedString(merchantIdList)).append("\n");
sb.append("}");
return sb.toString();
}
}