com.alipay.api.domain.CommonVoucherSendRule Maven / Gradle / Ivy
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 券发放规则
*
* @author auto create
* @since 1.0, 2022-08-24 14:39:34
*/
public class CommonVoucherSendRule extends AlipayObject {
private static final long serialVersionUID = 2423642989771537453L;
/**
* 设置此字段,允许指定单天最大发券数量。
*/
@ApiField("max_quantity_by_day")
private Long maxQuantityByDay;
/**
* 限制相同身份证号领取次数(voucher_quantity_limit_per_user)。默认false不限制。 枚举值 true:是 false:否
*/
@ApiField("natural_person_limit")
private Boolean naturalPersonLimit;
/**
* 限制相同手机号领取次数(voucher_quantity_limit_per_user)。默认false不限制 枚举值 true:是 false:否
*/
@ApiField("phone_number_limit")
private Boolean phoneNumberLimit;
/**
* 限制支付宝实名用户才能领取支付券,默认为false表示不限制。枚举值 true\false
*/
@ApiField("real_name_limit")
private Boolean realNameLimit;
/**
* 发行券的总数量。
*/
@ApiField("voucher_quantity")
private Long voucherQuantity;
/**
* 每人领取限制。 默认按照支付宝账号进行领取限制; 不填写或填入0表示没有领取限制。
*/
@ApiField("voucher_quantity_limit_per_user")
private Long voucherQuantityLimitPerUser;
/**
* 周期限领配置,限制每人在固定周期内领取张数(voucher_quantity_limit_per_user),默认LIFE_CYCLE。
*/
@ApiField("voucher_quantity_limit_per_user_period_type")
private String voucherQuantityLimitPerUserPeriodType;
public Long getMaxQuantityByDay() {
return this.maxQuantityByDay;
}
public void setMaxQuantityByDay(Long maxQuantityByDay) {
this.maxQuantityByDay = maxQuantityByDay;
}
public Boolean getNaturalPersonLimit() {
return this.naturalPersonLimit;
}
public void setNaturalPersonLimit(Boolean naturalPersonLimit) {
this.naturalPersonLimit = naturalPersonLimit;
}
public Boolean getPhoneNumberLimit() {
return this.phoneNumberLimit;
}
public void setPhoneNumberLimit(Boolean phoneNumberLimit) {
this.phoneNumberLimit = phoneNumberLimit;
}
public Boolean getRealNameLimit() {
return this.realNameLimit;
}
public void setRealNameLimit(Boolean realNameLimit) {
this.realNameLimit = realNameLimit;
}
public Long getVoucherQuantity() {
return this.voucherQuantity;
}
public void setVoucherQuantity(Long voucherQuantity) {
this.voucherQuantity = voucherQuantity;
}
public Long getVoucherQuantityLimitPerUser() {
return this.voucherQuantityLimitPerUser;
}
public void setVoucherQuantityLimitPerUser(Long voucherQuantityLimitPerUser) {
this.voucherQuantityLimitPerUser = voucherQuantityLimitPerUser;
}
public String getVoucherQuantityLimitPerUserPeriodType() {
return this.voucherQuantityLimitPerUserPeriodType;
}
public void setVoucherQuantityLimitPerUserPeriodType(String voucherQuantityLimitPerUserPeriodType) {
this.voucherQuantityLimitPerUserPeriodType = voucherQuantityLimitPerUserPeriodType;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy