@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class ChargeItems extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ChargeItems.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_ITEM_MANDATORY |
static String |
SERIALIZED_NAME_ITEM_MAXIMUM |
static String |
SERIALIZED_NAME_ITEM_NAME |
static String |
SERIALIZED_NAME_ITEM_PRICE |
static String |
SERIALIZED_NAME_ITEM_SERIAL_NUMBER |
| 构造器和说明 |
|---|
ChargeItems() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
static ChargeItems |
fromJson(String jsonString)
Create an instance of ChargeItems 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 |
getItemMandatory()
缴费项是否必选 如果缴费项是多选模式,此参数生效。
|
Integer |
getItemMaximum()
缴费项最大可选数 如果缴费项是多选模式,此参数生效,范围是1-9,如果为空,则最大项默认为9
|
String |
getItemName()
缴费项名称
|
String |
getItemPrice()
缴费项金额
|
Integer |
getItemSerialNumber()
缴费项序号,如果缴费项是多选模式,此项为必填,建议从1开始的连续数字, 用户支付成功后,通过passback_params参数带回已选择的缴费项。
|
int |
hashCode() |
ChargeItems |
itemMandatory(String itemMandatory) |
ChargeItems |
itemMaximum(Integer itemMaximum) |
ChargeItems |
itemName(String itemName) |
ChargeItems |
itemPrice(String itemPrice) |
ChargeItems |
itemSerialNumber(Integer itemSerialNumber) |
ChargeItems |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setItemMandatory(String itemMandatory) |
void |
setItemMaximum(Integer itemMaximum) |
void |
setItemName(String itemName) |
void |
setItemPrice(String itemPrice) |
void |
setItemSerialNumber(Integer itemSerialNumber) |
String |
toJson()
Convert an instance of ChargeItems 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_ITEM_MANDATORY
public static final String SERIALIZED_NAME_ITEM_SERIAL_NUMBER
public ChargeItems itemMandatory(String itemMandatory)
@Nullable public String getItemMandatory()
public void setItemMandatory(String itemMandatory)
public ChargeItems itemMaximum(Integer itemMaximum)
@Nullable public Integer getItemMaximum()
public void setItemMaximum(Integer itemMaximum)
public ChargeItems itemName(String itemName)
public void setItemName(String itemName)
public ChargeItems itemPrice(String itemPrice)
public void setItemPrice(String itemPrice)
public ChargeItems itemSerialNumber(Integer itemSerialNumber)
@Nullable public Integer getItemSerialNumber()
public void setItemSerialNumber(Integer itemSerialNumber)
public ChargeItems 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 ChargeItemspublic static ChargeItems fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to ChargeItemspublic String toJson()
Copyright © 2024. All rights reserved.