内容对象toString方法复写

This commit is contained in:
egzosn
2017-11-21 10:30:00 +08:00
parent db72e7af43
commit b11955e287
2 changed files with 35 additions and 0 deletions

View File

@@ -190,4 +190,23 @@ public class PayOrder {
public void setOpenid(String openid) {
this.openid = openid;
}
@Override
public String toString() {
return "PayOrder{" +
"subject='" + subject + '\'' +
", body='" + body + '\'' +
", price=" + price +
", outTradeNo='" + outTradeNo + '\'' +
", bankType='" + bankType + '\'' +
", deviceInfo='" + deviceInfo + '\'' +
", spbillCreateIp='" + spbillCreateIp + '\'' +
", authCode='" + authCode + '\'' +
", wapUrl='" + wapUrl + '\'' +
", wapName='" + wapName + '\'' +
", openid='" + openid + '\'' +
", transactionType=" + transactionType +
", curType=" + curType +
'}';
}
}