@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class PostPayment extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
PostPayment.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_AMOUNT |
static String |
SERIALIZED_NAME_DESCRIPTION |
static String |
SERIALIZED_NAME_NAME |
| 构造器和说明 |
|---|
PostPayment() |
| 限定符和类型 | 方法和说明 |
|---|---|
PostPayment |
amount(String amount) |
PostPayment |
description(String description) |
boolean |
equals(Object o) |
static PostPayment |
fromJson(String jsonString)
Create an instance of PostPayment 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 |
getAmount()
后付费金额,单位为:元(人民币),精确到小数点后两位。
|
String |
getDescription()
计费说明
|
String |
getName()
后付费项目名称
|
int |
hashCode() |
PostPayment |
name(String name) |
PostPayment |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAmount(String amount) |
void |
setDescription(String description) |
void |
setName(String name) |
String |
toJson()
Convert an instance of PostPayment 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 PostPayment amount(String amount)
public void setAmount(String amount)
public PostPayment description(String description)
public void setDescription(String description)
public PostPayment name(String name)
public void setName(String name)
public PostPayment 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 PostPaymentpublic static PostPayment fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to PostPaymentpublic String toJson()
Copyright © 2024. All rights reserved.