@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class OrderVoucherShopFailInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
OrderVoucherShopFailInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_FAIL_MESSAGE |
static String |
SERIALIZED_NAME_FAIL_REASONS |
static String |
SERIALIZED_NAME_SHOP_ID |
| 构造器和说明 |
|---|
OrderVoucherShopFailInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
OrderVoucherShopFailInfo |
addFailReasonsItem(String failReasonsItem) |
boolean |
equals(Object o) |
OrderVoucherShopFailInfo |
failMessage(String failMessage) |
OrderVoucherShopFailInfo |
failReasons(List<String> failReasons) |
static OrderVoucherShopFailInfo |
fromJson(String jsonString)
Create an instance of OrderVoucherShopFailInfo 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 |
getFailMessage()
请求失败提示信息。
|
List<String> |
getFailReasons()
请求失败的原因。
|
String |
getShopId()
支付宝侧蚂蚁店铺 id。
|
int |
hashCode() |
OrderVoucherShopFailInfo |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setFailMessage(String failMessage) |
void |
setFailReasons(List<String> failReasons) |
void |
setShopId(String shopId) |
OrderVoucherShopFailInfo |
shopId(String shopId) |
String |
toJson()
Convert an instance of OrderVoucherShopFailInfo 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 OrderVoucherShopFailInfo failMessage(String failMessage)
public void setFailMessage(String failMessage)
public OrderVoucherShopFailInfo failReasons(List<String> failReasons)
public OrderVoucherShopFailInfo addFailReasonsItem(String failReasonsItem)
public OrderVoucherShopFailInfo shopId(String shopId)
public void setShopId(String shopId)
public OrderVoucherShopFailInfo 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 OrderVoucherShopFailInfopublic static OrderVoucherShopFailInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to OrderVoucherShopFailInfopublic String toJson()
Copyright © 2024. All rights reserved.