@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class CommonVoucherUseRuleLiteInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
CommonVoucherUseRuleLiteInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_DISCOUNT_VOUCHER |
static String |
SERIALIZED_NAME_EXCHANGE_VOUCHER |
static String |
SERIALIZED_NAME_FIX_VOUCHER |
static String |
SERIALIZED_NAME_SPECIAL_VOUCHER |
| 构造器和说明 |
|---|
CommonVoucherUseRuleLiteInfo() |
public static final String SERIALIZED_NAME_DISCOUNT_VOUCHER
public static final String SERIALIZED_NAME_EXCHANGE_VOUCHER
public static final String SERIALIZED_NAME_SPECIAL_VOUCHER
public CommonVoucherUseRuleLiteInfo discountVoucher(ActivityDiscountVoucher discountVoucher)
@Nullable public ActivityDiscountVoucher getDiscountVoucher()
public void setDiscountVoucher(ActivityDiscountVoucher discountVoucher)
public CommonVoucherUseRuleLiteInfo exchangeVoucher(ActivityExchangeVoucher exchangeVoucher)
@Nullable public ActivityExchangeVoucher getExchangeVoucher()
public void setExchangeVoucher(ActivityExchangeVoucher exchangeVoucher)
public CommonVoucherUseRuleLiteInfo fixVoucher(ActivityFixVoucher fixVoucher)
@Nullable public ActivityFixVoucher getFixVoucher()
public void setFixVoucher(ActivityFixVoucher fixVoucher)
public CommonVoucherUseRuleLiteInfo specialVoucher(ActivitySpecialVoucher specialVoucher)
@Nullable public ActivitySpecialVoucher getSpecialVoucher()
public void setSpecialVoucher(ActivitySpecialVoucher specialVoucher)
public CommonVoucherUseRuleLiteInfo 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 CommonVoucherUseRuleLiteInfopublic static CommonVoucherUseRuleLiteInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to CommonVoucherUseRuleLiteInfopublic String toJson()
Copyright © 2024. All rights reserved.