public abstract class AlipayResponse extends Object implements Serializable
Constructor and Description |
---|
AlipayResponse() |
Modifier and Type | Method and Description |
---|---|
String |
getBody()
Gets body.
|
String |
getCode()
Getter method for property code.
|
String |
getErrorCode()
Deprecated.
|
String |
getMsg()
Gets msg.
|
Map<String,String> |
getParams()
Gets params.
|
String |
getSubCode()
Gets sub code.
|
String |
getSubMsg()
Gets sub msg.
|
boolean |
isSuccess()
Is success boolean.
|
void |
setBody(String body)
Sets body.
|
void |
setCode(String code)
Setter method for property code.
|
void |
setErrorCode(String errorCode)
Deprecated.
|
void |
setMsg(String msg)
Sets msg.
|
void |
setParams(Map<String,String> params)
Sets params.
|
void |
setSubCode(String subCode)
Sets sub code.
|
void |
setSubMsg(String subMsg)
Sets sub msg.
|
@Deprecated public String getErrorCode()
@Deprecated public void setErrorCode(String errorCode)
errorCode
- the error codepublic String getCode()
public void setCode(String code)
code
- value to be assigned to property codepublic String getMsg()
public void setMsg(String msg)
msg
- the msgpublic String getSubCode()
public void setSubCode(String subCode)
subCode
- the sub codepublic String getSubMsg()
public void setSubMsg(String subMsg)
subMsg
- the sub msgpublic String getBody()
public void setBody(String body)
body
- the bodypublic void setParams(Map<String,String> params)
params
- the paramspublic boolean isSuccess()
Copyright © 2018. All rights reserved.