@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class AlipayOpenAgentCreateResponseModel extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
AlipayOpenAgentCreateResponseModel.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_BATCH_NO |
static String |
SERIALIZED_NAME_BATCH_STATUS |
| 构造器和说明 |
|---|
AlipayOpenAgentCreateResponseModel() |
| 限定符和类型 | 方法和说明 |
|---|---|
AlipayOpenAgentCreateResponseModel |
batchNo(String batchNo) |
AlipayOpenAgentCreateResponseModel |
batchStatus(String batchStatus) |
boolean |
equals(Object o) |
static AlipayOpenAgentCreateResponseModel |
fromJson(String jsonString)
Create an instance of AlipayOpenAgentCreateResponseModel 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 |
getBatchNo()
本次代商户操作的全局唯一事务编号,后续代商户创建小程序、代签约当面付等产品、提交事务等接口都需要传递该batch_no值,且要确认只有 init 状态的batch_no才能发起调用。
|
String |
getBatchStatus()
ISV 代商户操作事务状态,事务状态包括: init=初始状态,本接口alipay.open.agent.create返回 init 状态,只有init状态允许进行各种业务接口调用; submit=提交状态,事务已经到达终态,调用alipay.open.agent.confirm接口可以提交init状态的事务 cancel=取消状态,事务已经到达终态,调用alipay.open.agent.cancel接口可以取消init状态的事务 timeout=超时状态,事务已经到达终态,init状态的事务,在【1个小时】后会自动超时 注意:只有 init 状态才允许进行接口调用,其它状态都是终态,不允许继续进行接口调用。
|
int |
hashCode() |
AlipayOpenAgentCreateResponseModel |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setBatchNo(String batchNo) |
void |
setBatchStatus(String batchStatus) |
String |
toJson()
Convert an instance of AlipayOpenAgentCreateResponseModel 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 AlipayOpenAgentCreateResponseModel batchNo(String batchNo)
@Nullable public String getBatchNo()
public void setBatchNo(String batchNo)
public AlipayOpenAgentCreateResponseModel batchStatus(String batchStatus)
@Nullable public String getBatchStatus()
public void setBatchStatus(String batchStatus)
public AlipayOpenAgentCreateResponseModel 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 AlipayOpenAgentCreateResponseModelpublic static AlipayOpenAgentCreateResponseModel fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to AlipayOpenAgentCreateResponseModelpublic String toJson()
Copyright © 2024. All rights reserved.