@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class VoucherDeductInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
VoucherDeductInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CUSTOMER_DEFINE_VOUCHER_INFO |
static String |
SERIALIZED_NAME_DISCOUNT_VOUCHER_INFO |
static String |
SERIALIZED_NAME_EXCHANGE_VOUCHER_INFO |
static String |
SERIALIZED_NAME_FIX_VOUCHER_INFO |
static String |
SERIALIZED_NAME_SPECIAL_VOUCHER_INFO |
static String |
SERIALIZED_NAME_VOUCHER_TYPE |
| 构造器和说明 |
|---|
VoucherDeductInfo() |
public static final String SERIALIZED_NAME_CUSTOMER_DEFINE_VOUCHER_INFO
public static final String SERIALIZED_NAME_DISCOUNT_VOUCHER_INFO
public static final String SERIALIZED_NAME_EXCHANGE_VOUCHER_INFO
public static final String SERIALIZED_NAME_FIX_VOUCHER_INFO
public static final String SERIALIZED_NAME_SPECIAL_VOUCHER_INFO
public VoucherDeductInfo customerDefineVoucherInfo(CustomerDefineVoucherInfo customerDefineVoucherInfo)
@Nullable public CustomerDefineVoucherInfo getCustomerDefineVoucherInfo()
public void setCustomerDefineVoucherInfo(CustomerDefineVoucherInfo customerDefineVoucherInfo)
public VoucherDeductInfo discountVoucherInfo(DiscountVoucherInfo discountVoucherInfo)
@Nullable public DiscountVoucherInfo getDiscountVoucherInfo()
public void setDiscountVoucherInfo(DiscountVoucherInfo discountVoucherInfo)
public VoucherDeductInfo exchangeVoucherInfo(ExchangeVoucherInfo exchangeVoucherInfo)
@Nullable public ExchangeVoucherInfo getExchangeVoucherInfo()
public void setExchangeVoucherInfo(ExchangeVoucherInfo exchangeVoucherInfo)
public VoucherDeductInfo fixVoucherInfo(FixVoucherInfo fixVoucherInfo)
@Nullable public FixVoucherInfo getFixVoucherInfo()
public void setFixVoucherInfo(FixVoucherInfo fixVoucherInfo)
public VoucherDeductInfo specialVoucherInfo(SpecialVoucherInfo specialVoucherInfo)
@Nullable public SpecialVoucherInfo getSpecialVoucherInfo()
public void setSpecialVoucherInfo(SpecialVoucherInfo specialVoucherInfo)
public VoucherDeductInfo voucherType(String voucherType)
public void setVoucherType(String voucherType)
public VoucherDeductInfo 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 VoucherDeductInfopublic static VoucherDeductInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to VoucherDeductInfopublic String toJson()
Copyright © 2024. All rights reserved.