public class Message extends Object implements Serializable
| 构造器和说明 |
|---|
Message() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
addSign(Message message,
String appPrivateKey) |
static boolean |
checkSign(Message message,
String alipayPublicKey) |
static Message |
fromStr(String str) |
String |
getAppId()
Getter method for property appId.
|
String |
getBizContent()
Getter method for property bizContent.
|
String |
getBody()
Getter method for property body.
|
String |
getMsgApi()
Getter method for property msgApi.
|
String |
getxCharset()
Getter method for property xCharset.
|
String |
getxCmd()
Getter method for property xCmd.
|
String |
getxCode()
Getter method for property xCode.
|
String |
getxError()
Getter method for property xError.
|
String |
getxMessageId()
Getter method for property xMessageId.
|
String |
getxSign()
Getter method for property xSign.
|
String |
getxSignType()
Getter method for property xSignType.
|
String |
getxStatus()
Getter method for property xStatus.
|
Long |
getxTimestamp()
Getter method for property xTimestamp.
|
String |
getxType()
Getter method for property xType.
|
String |
getxVersion()
Getter method for property xVersion.
|
void |
setAppId(String appId)
Setter method for property appId.
|
void |
setBizContent(String bizContent)
Setter method for property bizContent.
|
void |
setBody(String body)
Setter method for property body.
|
void |
setMsgApi(String msgApi)
Setter method for property msgApi.
|
void |
setxCharset(String xCharset)
Setter method for property xCharset.
|
void |
setxCmd(String xCmd)
Setter method for property xCmd.
|
void |
setxCode(String xCode)
Setter method for property xCode.
|
void |
setxError(String xError)
Setter method for property xError.
|
void |
setxMessageId(String xMessageId)
Setter method for property xMessageId.
|
void |
setxSign(String xSign)
Setter method for property xSign.
|
void |
setxSignType(String xSignType)
Setter method for property xSignType.
|
void |
setxStatus(String xStatus)
Setter method for property xStatus.
|
void |
setxTimestamp(Long xTimestamp)
Setter method for property xTimestamp.
|
void |
setxType(String xType)
Setter method for property xType.
|
void |
setxVersion(String xVersion)
Setter method for property xVersion.
|
static String |
toStr(Message message) |
String |
toString() |
public static Message fromStr(String str) throws IllegalArgumentException
public static String toStr(Message message) throws IllegalArgumentException
public static boolean checkSign(Message message, String alipayPublicKey) throws IllegalArgumentException
public String getxType()
public void setxType(String xType)
xType - value to be assigned to property xTypepublic String getxCmd()
public void setxCmd(String xCmd)
xCmd - value to be assigned to property xCmdpublic String getxMessageId()
public void setxMessageId(String xMessageId)
xMessageId - value to be assigned to property xMessageIdpublic String getxStatus()
public void setxStatus(String xStatus)
xStatus - value to be assigned to property xStatuspublic String getxCode()
public void setxCode(String xCode)
xCode - value to be assigned to property xCodepublic String getxError()
public void setxError(String xError)
xError - value to be assigned to property xErrorpublic String getxSignType()
public void setxSignType(String xSignType)
xSignType - value to be assigned to property xSignTypepublic String getxSign()
public void setxSign(String xSign)
xSign - value to be assigned to property xSignpublic String getxCharset()
public void setxCharset(String xCharset)
xCharset - value to be assigned to property xCharsetpublic Long getxTimestamp()
public void setxTimestamp(Long xTimestamp)
xTimestamp - value to be assigned to property xTimestamppublic String getxVersion()
public void setxVersion(String xVersion)
xVersion - value to be assigned to property xVersionpublic String getAppId()
public void setAppId(String appId)
appId - value to be assigned to property appIdpublic String getMsgApi()
public void setMsgApi(String msgApi)
msgApi - value to be assigned to property msgApipublic String getBizContent()
public void setBizContent(String bizContent)
bizContent - value to be assigned to property bizContentpublic String getBody()
public void setBody(String body)
body - value to be assigned to property bodyCopyright © 2020. All rights reserved.