@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class Signer extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
Signer.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_EMAIL |
static String |
SERIALIZED_NAME_ID_NUMBER |
static String |
SERIALIZED_NAME_ID_TYPE |
static String |
SERIALIZED_NAME_MOBILE |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_USER_ID |
| 构造器和说明 |
|---|
Signer() |
| 限定符和类型 | 方法和说明 |
|---|---|
Signer |
email(String email) |
boolean |
equals(Object o) |
static Signer |
fromJson(String jsonString)
Create an instance of Signer 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 |
getEmail()
邮箱
|
String |
getIdNumber()
证件号
|
String |
getIdType()
证件类型,详见个人证件类型说明(http://open.esign.cn/docs/xy/%E6%8E%A5%E5%8F%A3%E6%96%87%E6%A1%A3/%E9%99%84%E5%BD%95/%E4%B8%AA%E4%BA%BA%E8%AF%81%E4%BB%B6%E7%B1%BB%E5%9E%8B.html),默认CRED_PSN_CH_IDCARD (证件号不为空,则必填)
|
String |
getMobile()
手机号
|
String |
getName()
姓名
|
String |
getUserId()
支付宝userId
|
int |
hashCode() |
Signer |
idNumber(String idNumber) |
Signer |
idType(String idType) |
Signer |
mobile(String mobile) |
Signer |
name(String name) |
Signer |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setEmail(String email) |
void |
setIdNumber(String idNumber) |
void |
setIdType(String idType) |
void |
setMobile(String mobile) |
void |
setName(String name) |
void |
setUserId(String userId) |
String |
toJson()
Convert an instance of Signer to an JSON string
|
String |
toString() |
Signer |
userId(String userId) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public void setEmail(String email)
public void setIdNumber(String idNumber)
@Nullable public String getIdType()
public void setIdType(String idType)
public void setMobile(String mobile)
public void setName(String name)
public void setUserId(String userId)
public Signer 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 Signerpublic static Signer fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to Signerpublic String toJson()
Copyright © 2024. All rights reserved.