@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class VoucherPackageConsultResult extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
VoucherPackageConsultResult.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CONSULT_RESULT_CODE |
static String |
SERIALIZED_NAME_VOUCHER_PACKAGE_ID |
| 构造器和说明 |
|---|
VoucherPackageConsultResult() |
| 限定符和类型 | 方法和说明 |
|---|---|
VoucherPackageConsultResult |
consultResultCode(String consultResultCode) |
boolean |
equals(Object o) |
static VoucherPackageConsultResult |
fromJson(String jsonString)
Create an instance of VoucherPackageConsultResult 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 |
getConsultResultCode()
券包购买咨询结果code: SUCCESS:可以领取; PRODUCT_NOT_ENABLE:产品不可用; NOT_IN_SELL_TIME:不在销售时间内; PRODUCT_SOLD_OUT:产品售罄; USER_PURCHASE_LIMIT:用户购买上限; OTHER:不可购买,未知原因
|
String |
getVoucherPackageId()
券包id
|
int |
hashCode() |
VoucherPackageConsultResult |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setConsultResultCode(String consultResultCode) |
void |
setVoucherPackageId(String voucherPackageId) |
String |
toJson()
Convert an instance of VoucherPackageConsultResult 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
|
VoucherPackageConsultResult |
voucherPackageId(String voucherPackageId) |
public static final String SERIALIZED_NAME_CONSULT_RESULT_CODE
public static final String SERIALIZED_NAME_VOUCHER_PACKAGE_ID
public VoucherPackageConsultResult consultResultCode(String consultResultCode)
@Nullable public String getConsultResultCode()
public void setConsultResultCode(String consultResultCode)
public VoucherPackageConsultResult voucherPackageId(String voucherPackageId)
public void setVoucherPackageId(String voucherPackageId)
public VoucherPackageConsultResult 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 VoucherPackageConsultResultpublic static VoucherPackageConsultResult fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to VoucherPackageConsultResultpublic String toJson()
Copyright © 2024. All rights reserved.