@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class PaymentVoucherSendRule extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
PaymentVoucherSendRule.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_MAX_QUANTITY_BY_DAY |
static String |
SERIALIZED_NAME_NATURAL_PERSON_LIMIT |
static String |
SERIALIZED_NAME_PHONE_NUMBER_LIMIT |
static String |
SERIALIZED_NAME_REAL_NAME_LIMIT |
static String |
SERIALIZED_NAME_VOUCHER_QUANTITY |
static String |
SERIALIZED_NAME_VOUCHER_QUANTITY_LIMIT_PER_USER |
static String |
SERIALIZED_NAME_VOUCHER_QUANTITY_LIMIT_PER_USER_PERIOD_TYPE |
| 构造器和说明 |
|---|
PaymentVoucherSendRule() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
static PaymentVoucherSendRule |
fromJson(String jsonString)
Create an instance of PaymentVoucherSendRule given an JSON string
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Integer |
getMaxQuantityByDay()
设置此字段,允许指定单天最大发券数量。
|
Boolean |
getNaturalPersonLimit()
限制相同身份证号领取次数(voucher_quantity_limit_per_user)。
|
Boolean |
getPhoneNumberLimit()
限制相同手机号领取次数(voucher_quantity_limit_per_user)。
|
Boolean |
getRealNameLimit()
限制支付宝实名用户才能领取支付券,默认为false表示不限制 枚举值 true\\false
|
Integer |
getVoucherQuantity()
发行券的总数量。
|
Integer |
getVoucherQuantityLimitPerUser()
每人领取限制。
|
String |
getVoucherQuantityLimitPerUserPeriodType()
周期限领配置,限制每人在固定周期内领取张数(voucher_quantity_limit_per_user),默认LIFE_CYCLE
|
int |
hashCode() |
PaymentVoucherSendRule |
maxQuantityByDay(Integer maxQuantityByDay) |
PaymentVoucherSendRule |
naturalPersonLimit(Boolean naturalPersonLimit) |
PaymentVoucherSendRule |
phoneNumberLimit(Boolean phoneNumberLimit) |
PaymentVoucherSendRule |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
PaymentVoucherSendRule |
realNameLimit(Boolean realNameLimit) |
void |
setMaxQuantityByDay(Integer maxQuantityByDay) |
void |
setNaturalPersonLimit(Boolean naturalPersonLimit) |
void |
setPhoneNumberLimit(Boolean phoneNumberLimit) |
void |
setRealNameLimit(Boolean realNameLimit) |
void |
setVoucherQuantity(Integer voucherQuantity) |
void |
setVoucherQuantityLimitPerUser(Integer voucherQuantityLimitPerUser) |
void |
setVoucherQuantityLimitPerUserPeriodType(String voucherQuantityLimitPerUserPeriodType) |
String |
toJson()
Convert an instance of PaymentVoucherSendRule to an JSON string
|
String |
toString() |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
PaymentVoucherSendRule |
voucherQuantity(Integer voucherQuantity) |
PaymentVoucherSendRule |
voucherQuantityLimitPerUser(Integer voucherQuantityLimitPerUser) |
PaymentVoucherSendRule |
voucherQuantityLimitPerUserPeriodType(String voucherQuantityLimitPerUserPeriodType) |
public static final String SERIALIZED_NAME_MAX_QUANTITY_BY_DAY
public static final String SERIALIZED_NAME_NATURAL_PERSON_LIMIT
public static final String SERIALIZED_NAME_PHONE_NUMBER_LIMIT
public static final String SERIALIZED_NAME_REAL_NAME_LIMIT
public static final String SERIALIZED_NAME_VOUCHER_QUANTITY
public static final String SERIALIZED_NAME_VOUCHER_QUANTITY_LIMIT_PER_USER
public static final String SERIALIZED_NAME_VOUCHER_QUANTITY_LIMIT_PER_USER_PERIOD_TYPE
public PaymentVoucherSendRule maxQuantityByDay(Integer maxQuantityByDay)
@Nullable public Integer getMaxQuantityByDay()
public void setMaxQuantityByDay(Integer maxQuantityByDay)
public PaymentVoucherSendRule naturalPersonLimit(Boolean naturalPersonLimit)
@Nullable public Boolean getNaturalPersonLimit()
public void setNaturalPersonLimit(Boolean naturalPersonLimit)
public PaymentVoucherSendRule phoneNumberLimit(Boolean phoneNumberLimit)
@Nullable public Boolean getPhoneNumberLimit()
public void setPhoneNumberLimit(Boolean phoneNumberLimit)
public PaymentVoucherSendRule realNameLimit(Boolean realNameLimit)
@Nullable public Boolean getRealNameLimit()
public void setRealNameLimit(Boolean realNameLimit)
public PaymentVoucherSendRule voucherQuantity(Integer voucherQuantity)
@Nullable public Integer getVoucherQuantity()
public void setVoucherQuantity(Integer voucherQuantity)
public PaymentVoucherSendRule voucherQuantityLimitPerUser(Integer voucherQuantityLimitPerUser)
@Nullable public Integer getVoucherQuantityLimitPerUser()
public void setVoucherQuantityLimitPerUser(Integer voucherQuantityLimitPerUser)
public PaymentVoucherSendRule voucherQuantityLimitPerUserPeriodType(String voucherQuantityLimitPerUserPeriodType)
@Nullable public String getVoucherQuantityLimitPerUserPeriodType()
public void setVoucherQuantityLimitPerUserPeriodType(String voucherQuantityLimitPerUserPeriodType)
public PaymentVoucherSendRule putAdditionalProperty(String key, Object value)
key - name of the propertyvalue - value of the propertypublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - name of the propertypublic static void validateJsonObject(com.google.gson.JsonObject jsonObj)
throws IOException
jsonObj - JSON ObjectIOException - if the JSON Object is invalid with respect to PaymentVoucherSendRulepublic static PaymentVoucherSendRule fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to PaymentVoucherSendRulepublic String toJson()
Copyright © 2024. All rights reserved.