@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class ZMGoOutDiscountInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ZMGoOutDiscountInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_DISCOUNT_AMOUNT |
static String |
SERIALIZED_NAME_DISCOUNT_NAME |
static String |
SERIALIZED_NAME_DISCOUNT_TYPE |
| 构造器和说明 |
|---|
ZMGoOutDiscountInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
ZMGoOutDiscountInfo |
discountAmount(String discountAmount) |
ZMGoOutDiscountInfo |
discountName(String discountName) |
ZMGoOutDiscountInfo |
discountType(String discountType) |
boolean |
equals(Object o) |
static ZMGoOutDiscountInfo |
fromJson(String jsonString)
Create an instance of ZMGoOutDiscountInfo 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 |
getDiscountAmount()
商户回传的优惠金额,如用户享受的红包金额,单位元
|
String |
getDiscountName()
商户数据回传的优惠信息的名称
|
String |
getDiscountType()
优惠信息的类型。
|
int |
hashCode() |
ZMGoOutDiscountInfo |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setDiscountAmount(String discountAmount) |
void |
setDiscountName(String discountName) |
void |
setDiscountType(String discountType) |
String |
toJson()
Convert an instance of ZMGoOutDiscountInfo 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
|
public static final String SERIALIZED_NAME_DISCOUNT_AMOUNT
public ZMGoOutDiscountInfo discountAmount(String discountAmount)
@Nullable public String getDiscountAmount()
public void setDiscountAmount(String discountAmount)
public ZMGoOutDiscountInfo discountName(String discountName)
public void setDiscountName(String discountName)
public ZMGoOutDiscountInfo discountType(String discountType)
@Nullable public String getDiscountType()
public void setDiscountType(String discountType)
public ZMGoOutDiscountInfo 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 ZMGoOutDiscountInfopublic static ZMGoOutDiscountInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to ZMGoOutDiscountInfopublic String toJson()
Copyright © 2024. All rights reserved.