@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class ExchangeVoucherInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ExchangeVoucherInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_AMOUNT |
static String |
SERIALIZED_NAME_BIZ_TYPE |
static String |
SERIALIZED_NAME_EXCHANGE_GOODS_INFO |
static String |
SERIALIZED_NAME_FLOOR_AMOUNT |
static String |
SERIALIZED_NAME_VOUCHER_DEDUCT_THRESHOLD_INFO |
| 构造器和说明 |
|---|
ExchangeVoucherInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
ExchangeVoucherInfo |
amount(String amount) |
ExchangeVoucherInfo |
bizType(String bizType) |
boolean |
equals(Object o) |
ExchangeVoucherInfo |
exchangeGoodsInfo(VoucherExchangeGoodsInfo exchangeGoodsInfo) |
ExchangeVoucherInfo |
floorAmount(String floorAmount) |
static ExchangeVoucherInfo |
fromJson(String jsonString)
Create an instance of ExchangeVoucherInfo 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.
|
String |
getAmount()
券的价值
|
String |
getBizType()
兑换券业务类型。
|
VoucherExchangeGoodsInfo |
getExchangeGoodsInfo()
Get exchangeGoodsInfo
|
String |
getFloorAmount()
优惠门槛金额,表示只有当订单金额大于等于门槛金额时券才能使用。
|
VoucherDeductThresholdInfo |
getVoucherDeductThresholdInfo()
Get voucherDeductThresholdInfo
|
int |
hashCode() |
ExchangeVoucherInfo |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAmount(String amount) |
void |
setBizType(String bizType) |
void |
setExchangeGoodsInfo(VoucherExchangeGoodsInfo exchangeGoodsInfo) |
void |
setFloorAmount(String floorAmount) |
void |
setVoucherDeductThresholdInfo(VoucherDeductThresholdInfo voucherDeductThresholdInfo) |
String |
toJson()
Convert an instance of ExchangeVoucherInfo 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
|
ExchangeVoucherInfo |
voucherDeductThresholdInfo(VoucherDeductThresholdInfo voucherDeductThresholdInfo) |
public static final String SERIALIZED_NAME_EXCHANGE_GOODS_INFO
public static final String SERIALIZED_NAME_VOUCHER_DEDUCT_THRESHOLD_INFO
public ExchangeVoucherInfo amount(String amount)
public void setAmount(String amount)
public ExchangeVoucherInfo bizType(String bizType)
@Nullable public String getBizType()
public void setBizType(String bizType)
public ExchangeVoucherInfo exchangeGoodsInfo(VoucherExchangeGoodsInfo exchangeGoodsInfo)
@Nullable public VoucherExchangeGoodsInfo getExchangeGoodsInfo()
public void setExchangeGoodsInfo(VoucherExchangeGoodsInfo exchangeGoodsInfo)
public ExchangeVoucherInfo floorAmount(String floorAmount)
@Nullable public String getFloorAmount()
public void setFloorAmount(String floorAmount)
public ExchangeVoucherInfo voucherDeductThresholdInfo(VoucherDeductThresholdInfo voucherDeductThresholdInfo)
@Nullable public VoucherDeductThresholdInfo getVoucherDeductThresholdInfo()
public void setVoucherDeductThresholdInfo(VoucherDeductThresholdInfo voucherDeductThresholdInfo)
public ExchangeVoucherInfo 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 ExchangeVoucherInfopublic static ExchangeVoucherInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to ExchangeVoucherInfopublic String toJson()
Copyright © 2024. All rights reserved.