@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class AlipayUserTwostageCommonUseResponseModel extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
AlipayUserTwostageCommonUseResponseModel.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_OPEN_ID |
static String |
SERIALIZED_NAME_USER_ID |
static String |
SERIALIZED_NAME_USER_IDENTITY_INFO |
| 构造器和说明 |
|---|
AlipayUserTwostageCommonUseResponseModel() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
static AlipayUserTwostageCommonUseResponseModel |
fromJson(String jsonString)
Create an instance of AlipayUserTwostageCommonUseResponseModel 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 |
getOpenId()
open_id
|
String |
getUserId()
支付宝用户userId信息,因为用户已经在客户端给商户的小程序授权了,并且商户要通过userId信息挂接优惠券信息,所以可以无需脱敏返回给商户。
|
UserIdentityInfo |
getUserIdentityInfo()
Get userIdentityInfo
|
int |
hashCode() |
AlipayUserTwostageCommonUseResponseModel |
openId(String openId) |
AlipayUserTwostageCommonUseResponseModel |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setOpenId(String openId) |
void |
setUserId(String userId) |
void |
setUserIdentityInfo(UserIdentityInfo userIdentityInfo) |
String |
toJson()
Convert an instance of AlipayUserTwostageCommonUseResponseModel to an JSON string
|
String |
toString() |
AlipayUserTwostageCommonUseResponseModel |
userId(String userId) |
AlipayUserTwostageCommonUseResponseModel |
userIdentityInfo(UserIdentityInfo userIdentityInfo) |
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_USER_IDENTITY_INFO
public AlipayUserTwostageCommonUseResponseModel openId(String openId)
public void setOpenId(String openId)
public AlipayUserTwostageCommonUseResponseModel userId(String userId)
@Nullable public String getUserId()
public void setUserId(String userId)
public AlipayUserTwostageCommonUseResponseModel userIdentityInfo(UserIdentityInfo userIdentityInfo)
@Nullable public UserIdentityInfo getUserIdentityInfo()
public void setUserIdentityInfo(UserIdentityInfo userIdentityInfo)
public AlipayUserTwostageCommonUseResponseModel 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 AlipayUserTwostageCommonUseResponseModelpublic static AlipayUserTwostageCommonUseResponseModel fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to AlipayUserTwostageCommonUseResponseModelpublic String toJson()
Copyright © 2024. All rights reserved.