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