public class BuyPayAsYouGoOrderResponseBody
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
errorCode
The error code returned if the request failed.
|
String |
errorMessage
The error message returned if the request failed.
|
String |
instanceId
If the purchase is successful, the ID of the purchased instance is returned.
|
String |
requestId
The ID of the request.
|
Boolean |
success
Indicates whether the request was successful.
|
| 构造器和说明 |
|---|
BuyPayAsYouGoOrderResponseBody() |
| 限定符和类型 | 方法和说明 |
|---|---|
static BuyPayAsYouGoOrderResponseBody |
build(Map<String,?> map) |
String |
getErrorCode() |
String |
getErrorMessage() |
String |
getInstanceId() |
String |
getRequestId() |
Boolean |
getSuccess() |
BuyPayAsYouGoOrderResponseBody |
setErrorCode(String errorCode) |
BuyPayAsYouGoOrderResponseBody |
setErrorMessage(String errorMessage) |
BuyPayAsYouGoOrderResponseBody |
setInstanceId(String instanceId) |
BuyPayAsYouGoOrderResponseBody |
setRequestId(String requestId) |
BuyPayAsYouGoOrderResponseBody |
setSuccess(Boolean success) |
@NameInMap(value="ErrorCode") public String errorCode
The error code returned if the request failed.
example:UnknownError
@NameInMap(value="ErrorMessage") public String errorMessage
The error message returned if the request failed.
example:UnknownError
@NameInMap(value="InstanceId") public String instanceId
If the purchase is successful, the ID of the purchased instance is returned.
example:dms_pre_public_cn-nif23l****
@NameInMap(value="RequestId") public String requestId
The ID of the request.
example:C51420E3-144A-4A94-B473-8662FCF4AD10
@NameInMap(value="Success") public Boolean success
Indicates whether the request was successful. Valid values:
true
public static BuyPayAsYouGoOrderResponseBody build(Map<String,?> map) throws Exception
Exceptionpublic BuyPayAsYouGoOrderResponseBody setErrorCode(String errorCode)
public String getErrorCode()
public BuyPayAsYouGoOrderResponseBody setErrorMessage(String errorMessage)
public String getErrorMessage()
public BuyPayAsYouGoOrderResponseBody setInstanceId(String instanceId)
public String getInstanceId()
public BuyPayAsYouGoOrderResponseBody setRequestId(String requestId)
public String getRequestId()
public BuyPayAsYouGoOrderResponseBody setSuccess(Boolean success)
public Boolean getSuccess()
Copyright © 2025. All rights reserved.