@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class PayParams extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
PayParams.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_ASYNC_TYPE |
static String |
SERIALIZED_NAME_RETRY_TYPE |
| 构造器和说明 |
|---|
PayParams() |
| 限定符和类型 | 方法和说明 |
|---|---|
PayParams |
asyncType(String asyncType) |
boolean |
equals(Object o) |
static PayParams |
fromJson(String jsonString)
Create an instance of PayParams 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 |
getAsyncType()
普通异步支付, 传入该参数时,如果满足受理条件,会先同步受理支付,然后在异步调度推进支付 NORMAL_ASYNC: 普通异步,受理成功之后,会在交易关单之前通过一定的策略重试 NEAR_REAL_TIME_ASYNC: 准实时异步,受理成功之后,会准实时发起1次调度
|
String |
getRetryType()
重试类型,当async_type传入NORMAL_ASYNC时,可以设置该参数,选择是否要重试,retry_type 可选,不设置时,可重试。
|
int |
hashCode() |
PayParams |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
PayParams |
retryType(String retryType) |
void |
setAsyncType(String asyncType) |
void |
setRetryType(String retryType) |
String |
toJson()
Convert an instance of PayParams 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
|
@Nullable public String getAsyncType()
public void setAsyncType(String asyncType)
@Nullable public String getRetryType()
public void setRetryType(String retryType)
public PayParams 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 PayParamspublic static PayParams fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to PayParamspublic String toJson()
Copyright © 2024. All rights reserved.