com.wechat.pay.java.service.giftactivity.model.ActAdvancedSetting 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.List;
/** ActAdvancedSetting */
public class ActAdvancedSetting {
/** 投放用户类别 说明:DELIVERY_ALL_PERSON:所有用户;DELIVERY_MEMBER_PERSON:会员用户 */
@SerializedName("delivery_user_category")
private DeliveryUserCategory deliveryUserCategory;
/** 商家会员appid 说明:当投放用户类别为会员用户时必填 */
@SerializedName("merchant_member_appid")
private String merchantMemberAppid;
/** 支付模式 说明:主要用于指定可用的支付场景,不限制支付模式不填,限制选填(商家券暂不开放) */
@SerializedName("payment_mode")
private PaymentMode paymentMode;
/** 支付方式信息 说明:支付方式信息,不填为不限制(商家券暂不开放) */
@SerializedName("payment_method_information")
private PaymentMethodInfo paymentMethodInformation;
/** 订单优惠标记 说明:商户下单时需要传入相同的标记(goods_tag),用户同时符合其他规则才能享受优惠 */
@SerializedName("goods_tags")
private List goodsTags;
public DeliveryUserCategory getDeliveryUserCategory() {
return deliveryUserCategory;
}
public void setDeliveryUserCategory(DeliveryUserCategory deliveryUserCategory) {
this.deliveryUserCategory = deliveryUserCategory;
}
public String getMerchantMemberAppid() {
return merchantMemberAppid;
}
public void setMerchantMemberAppid(String merchantMemberAppid) {
this.merchantMemberAppid = merchantMemberAppid;
}
public PaymentMode getPaymentMode() {
return paymentMode;
}
public void setPaymentMode(PaymentMode paymentMode) {
this.paymentMode = paymentMode;
}
public PaymentMethodInfo getPaymentMethodInformation() {
return paymentMethodInformation;
}
public void setPaymentMethodInformation(PaymentMethodInfo paymentMethodInformation) {
this.paymentMethodInformation = paymentMethodInformation;
}
public List getGoodsTags() {
return goodsTags;
}
public void setGoodsTags(List goodsTags) {
this.goodsTags = goodsTags;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ActAdvancedSetting {\n");
sb.append(" deliveryUserCategory: ")
.append(toIndentedString(deliveryUserCategory))
.append("\n");
sb.append(" merchantMemberAppid: ")
.append(toIndentedString(merchantMemberAppid))
.append("\n");
sb.append(" paymentMode: ").append(toIndentedString(paymentMode)).append("\n");
sb.append(" paymentMethodInformation: ")
.append(toIndentedString(paymentMethodInformation))
.append("\n");
sb.append(" goodsTags: ").append(toIndentedString(goodsTags)).append("\n");
sb.append("}");
return sb.toString();
}
}