@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class VoucherGoodsQuantitySpecificationInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
VoucherGoodsQuantitySpecificationInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_DIRECTIONAL_TYPE |
static String |
SERIALIZED_NAME_SPECIFICATION_QUANTITY |
static String |
SERIALIZED_NAME_SPECIFICATION_UNIT |
| 构造器和说明 |
|---|
VoucherGoodsQuantitySpecificationInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
VoucherGoodsQuantitySpecificationInfo |
directionalType(String directionalType) |
boolean |
equals(Object o) |
static VoucherGoodsQuantitySpecificationInfo |
fromJson(String jsonString)
Create an instance of VoucherGoodsQuantitySpecificationInfo 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 |
getDirectionalType()
定向类型用于规格设置,比如:FIX 表示 固定满X件,APPOINT 表示指定第N件
|
Integer |
getSpecificationQuantity()
数量
|
String |
getSpecificationUnit()
单位
|
int |
hashCode() |
VoucherGoodsQuantitySpecificationInfo |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setDirectionalType(String directionalType) |
void |
setSpecificationQuantity(Integer specificationQuantity) |
void |
setSpecificationUnit(String specificationUnit) |
VoucherGoodsQuantitySpecificationInfo |
specificationQuantity(Integer specificationQuantity) |
VoucherGoodsQuantitySpecificationInfo |
specificationUnit(String specificationUnit) |
String |
toJson()
Convert an instance of VoucherGoodsQuantitySpecificationInfo 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_DIRECTIONAL_TYPE
public static final String SERIALIZED_NAME_SPECIFICATION_QUANTITY
public static final String SERIALIZED_NAME_SPECIFICATION_UNIT
public VoucherGoodsQuantitySpecificationInfo directionalType(String directionalType)
@Nullable public String getDirectionalType()
public void setDirectionalType(String directionalType)
public VoucherGoodsQuantitySpecificationInfo specificationQuantity(Integer specificationQuantity)
@Nullable public Integer getSpecificationQuantity()
public void setSpecificationQuantity(Integer specificationQuantity)
public VoucherGoodsQuantitySpecificationInfo specificationUnit(String specificationUnit)
public void setSpecificationUnit(String specificationUnit)
public VoucherGoodsQuantitySpecificationInfo 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 VoucherGoodsQuantitySpecificationInfopublic static VoucherGoodsQuantitySpecificationInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to VoucherGoodsQuantitySpecificationInfopublic String toJson()
Copyright © 2024. All rights reserved.