@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class PaymentVoucherUseRuleDetail extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
PaymentVoucherUseRuleDetail.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_FIX_VOUCHER |
static String |
SERIALIZED_NAME_USE_MODE |
static String |
SERIALIZED_NAME_USE_URL |
static String |
SERIALIZED_NAME_VOUCHER_QUANTITY_LIMIT_PER_USER |
static String |
SERIALIZED_NAME_VOUCHER_QUANTITY_LIMIT_PER_USER_PERIOD_TYPE |
static String |
SERIALIZED_NAME_VOUCHER_VALID_PERIOD |
| 构造器和说明 |
|---|
PaymentVoucherUseRuleDetail() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
PaymentVoucherUseRuleDetail |
fixVoucher(PaymentFixVoucher fixVoucher) |
static PaymentVoucherUseRuleDetail |
fromJson(String jsonString)
Create an instance of PaymentVoucherUseRuleDetail 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.
|
PaymentFixVoucher |
getFixVoucher()
Get fixVoucher
|
String |
getUseMode()
核销跳转方式,默认CAN_USE(详情页展示可使用按钮)
|
String |
getUseUrl()
核销跳转链接 限制: 1、只有use_mode为SELF_LINK时该值有效且必传。
|
Integer |
getVoucherQuantityLimitPerUser()
每个支付宝账号的核销次数限制。
|
String |
getVoucherQuantityLimitPerUserPeriodType()
核销次数限制周期配置。
|
PaymentVoucherValidPeriod |
getVoucherValidPeriod()
Get voucherValidPeriod
|
int |
hashCode() |
PaymentVoucherUseRuleDetail |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setFixVoucher(PaymentFixVoucher fixVoucher) |
void |
setUseMode(String useMode) |
void |
setUseUrl(String useUrl) |
void |
setVoucherQuantityLimitPerUser(Integer voucherQuantityLimitPerUser) |
void |
setVoucherQuantityLimitPerUserPeriodType(String voucherQuantityLimitPerUserPeriodType) |
void |
setVoucherValidPeriod(PaymentVoucherValidPeriod voucherValidPeriod) |
String |
toJson()
Convert an instance of PaymentVoucherUseRuleDetail to an JSON string
|
String |
toString() |
PaymentVoucherUseRuleDetail |
useMode(String useMode) |
PaymentVoucherUseRuleDetail |
useUrl(String useUrl) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
PaymentVoucherUseRuleDetail |
voucherQuantityLimitPerUser(Integer voucherQuantityLimitPerUser) |
PaymentVoucherUseRuleDetail |
voucherQuantityLimitPerUserPeriodType(String voucherQuantityLimitPerUserPeriodType) |
PaymentVoucherUseRuleDetail |
voucherValidPeriod(PaymentVoucherValidPeriod voucherValidPeriod) |
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 static final String SERIALIZED_NAME_VOUCHER_VALID_PERIOD
public PaymentVoucherUseRuleDetail fixVoucher(PaymentFixVoucher fixVoucher)
@Nullable public PaymentFixVoucher getFixVoucher()
public void setFixVoucher(PaymentFixVoucher fixVoucher)
public PaymentVoucherUseRuleDetail useMode(String useMode)
public void setUseMode(String useMode)
public PaymentVoucherUseRuleDetail useUrl(String useUrl)
@Nullable public String getUseUrl()
public void setUseUrl(String useUrl)
public PaymentVoucherUseRuleDetail voucherQuantityLimitPerUser(Integer voucherQuantityLimitPerUser)
@Nullable public Integer getVoucherQuantityLimitPerUser()
public void setVoucherQuantityLimitPerUser(Integer voucherQuantityLimitPerUser)
public PaymentVoucherUseRuleDetail voucherQuantityLimitPerUserPeriodType(String voucherQuantityLimitPerUserPeriodType)
@Nullable public String getVoucherQuantityLimitPerUserPeriodType()
public void setVoucherQuantityLimitPerUserPeriodType(String voucherQuantityLimitPerUserPeriodType)
public PaymentVoucherUseRuleDetail voucherValidPeriod(PaymentVoucherValidPeriod voucherValidPeriod)
@Nullable public PaymentVoucherValidPeriod getVoucherValidPeriod()
public void setVoucherValidPeriod(PaymentVoucherValidPeriod voucherValidPeriod)
public PaymentVoucherUseRuleDetail 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 PaymentVoucherUseRuleDetailpublic static PaymentVoucherUseRuleDetail fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to PaymentVoucherUseRuleDetailpublic String toJson()
Copyright © 2024. All rights reserved.