@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class UserInfomation extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
UserInfomation.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CERT_NO |
static String |
SERIALIZED_NAME_CERT_TYPE |
static String |
SERIALIZED_NAME_EXT_INFO |
static String |
SERIALIZED_NAME_MOBILE |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_OPEN_ID |
static String |
SERIALIZED_NAME_USER_ID |
| 构造器和说明 |
|---|
UserInfomation() |
| 限定符和类型 | 方法和说明 |
|---|---|
UserInfomation |
addExtInfoItem(OrderExtInfo extInfoItem) |
UserInfomation |
certNo(String certNo) |
UserInfomation |
certType(String certType) |
boolean |
equals(Object o) |
UserInfomation |
extInfo(List<OrderExtInfo> extInfo) |
static UserInfomation |
fromJson(String jsonString)
Create an instance of UserInfomation 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 |
getCertNo()
证件号
|
String |
getCertType()
证件类型。
|
List<OrderExtInfo> |
getExtInfo()
扩展信息
|
String |
getMobile()
手机号
|
String |
getName()
姓名
|
String |
getOpenId()
支付宝用户openId
|
String |
getUserId()
支付宝用户ID,可以通过支付结果通知、用户授权等渠道获取
|
int |
hashCode() |
UserInfomation |
mobile(String mobile) |
UserInfomation |
name(String name) |
UserInfomation |
openId(String openId) |
UserInfomation |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setCertNo(String certNo) |
void |
setCertType(String certType) |
void |
setExtInfo(List<OrderExtInfo> extInfo) |
void |
setMobile(String mobile) |
void |
setName(String name) |
void |
setOpenId(String openId) |
void |
setUserId(String userId) |
String |
toJson()
Convert an instance of UserInfomation to an JSON string
|
String |
toString() |
UserInfomation |
userId(String userId) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public UserInfomation certNo(String certNo)
public void setCertNo(String certNo)
public UserInfomation certType(String certType)
public void setCertType(String certType)
public UserInfomation extInfo(List<OrderExtInfo> extInfo)
public UserInfomation addExtInfoItem(OrderExtInfo extInfoItem)
@Nullable public List<OrderExtInfo> getExtInfo()
public void setExtInfo(List<OrderExtInfo> extInfo)
public UserInfomation mobile(String mobile)
public void setMobile(String mobile)
public UserInfomation name(String name)
public void setName(String name)
public UserInfomation openId(String openId)
public void setOpenId(String openId)
public UserInfomation userId(String userId)
public void setUserId(String userId)
public UserInfomation 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 UserInfomationpublic static UserInfomation fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to UserInfomationpublic String toJson()
Copyright © 2024. All rights reserved.