@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class AlipayTradePrecreateResponseModel extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
AlipayTradePrecreateResponseModel.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_OUT_TRADE_NO |
static String |
SERIALIZED_NAME_QR_CODE |
static String |
SERIALIZED_NAME_SHARE_CODE |
| 构造器和说明 |
|---|
AlipayTradePrecreateResponseModel() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
static AlipayTradePrecreateResponseModel |
fromJson(String jsonString)
Create an instance of AlipayTradePrecreateResponseModel 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 |
getOutTradeNo()
商户的订单号
|
String |
getQrCode()
当前预下单请求生成的二维码码串,有效时间2小时,可以用二维码生成工具根据该码串值生成对应的二维码
|
String |
getShareCode()
当前预下单请求生成的吱口令码串,有效时间2小时,可以在支付宝app端访问对应内容
|
int |
hashCode() |
AlipayTradePrecreateResponseModel |
outTradeNo(String outTradeNo) |
AlipayTradePrecreateResponseModel |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
AlipayTradePrecreateResponseModel |
qrCode(String qrCode) |
void |
setOutTradeNo(String outTradeNo) |
void |
setQrCode(String qrCode) |
void |
setShareCode(String shareCode) |
AlipayTradePrecreateResponseModel |
shareCode(String shareCode) |
String |
toJson()
Convert an instance of AlipayTradePrecreateResponseModel 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 AlipayTradePrecreateResponseModel outTradeNo(String outTradeNo)
public void setOutTradeNo(String outTradeNo)
public AlipayTradePrecreateResponseModel qrCode(String qrCode)
@Nullable public String getQrCode()
public void setQrCode(String qrCode)
public AlipayTradePrecreateResponseModel shareCode(String shareCode)
@Nullable public String getShareCode()
public void setShareCode(String shareCode)
public AlipayTradePrecreateResponseModel 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 AlipayTradePrecreateResponseModelpublic static AlipayTradePrecreateResponseModel fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to AlipayTradePrecreateResponseModelpublic String toJson()
Copyright © 2024. All rights reserved.