@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class MdCodeInfoDTO extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
MdCodeInfoDTO.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CODE_STATUS |
static String |
SERIALIZED_NAME_CODE_VALUE |
static String |
SERIALIZED_NAME_EXPIRE_TIME |
static String |
SERIALIZED_NAME_TIME_STAMP |
| 构造器和说明 |
|---|
MdCodeInfoDTO() |
| 限定符和类型 | 方法和说明 |
|---|---|
MdCodeInfoDTO |
codeStatus(String codeStatus) |
MdCodeInfoDTO |
codeValue(String codeValue) |
boolean |
equals(Object o) |
MdCodeInfoDTO |
expireTime(String expireTime) |
static MdCodeInfoDTO |
fromJson(String jsonString)
Create an instance of MdCodeInfoDTO 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 |
getCodeStatus()
本次回传动态码的状态: SUCCESS: 本次发码成功 FAIL_RETRY: 本次发码失败,且需要支付宝重试(重新通知商户发码) FAIL_NOT_RETRY: 本次发码失败,且无需支付宝重试(无需重新通知商户发码)
|
String |
getCodeValue()
动态码的码值: code_status为SUCCESS时必填; 基于此码值生成条形码或二维码用于扫码核销。
|
String |
getExpireTime()
当前动态码的过期(失效)时间: code_status为SUCCESS时必填。
|
Integer |
getTimeStamp()
商户回传动态码的时间戳 (单位秒)。
|
int |
hashCode() |
MdCodeInfoDTO |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setCodeStatus(String codeStatus) |
void |
setCodeValue(String codeValue) |
void |
setExpireTime(String expireTime) |
void |
setTimeStamp(Integer timeStamp) |
MdCodeInfoDTO |
timeStamp(Integer timeStamp) |
String |
toJson()
Convert an instance of MdCodeInfoDTO 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 MdCodeInfoDTO codeStatus(String codeStatus)
@Nullable public String getCodeStatus()
public void setCodeStatus(String codeStatus)
public MdCodeInfoDTO codeValue(String codeValue)
@Nullable public String getCodeValue()
public void setCodeValue(String codeValue)
public MdCodeInfoDTO expireTime(String expireTime)
@Nullable public String getExpireTime()
public void setExpireTime(String expireTime)
public MdCodeInfoDTO timeStamp(Integer timeStamp)
@Nullable public Integer getTimeStamp()
public void setTimeStamp(Integer timeStamp)
public MdCodeInfoDTO 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 MdCodeInfoDTOpublic static MdCodeInfoDTO fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to MdCodeInfoDTOpublic String toJson()
Copyright © 2024. All rights reserved.