PayFeedback.java
package com.foxinmy.weixin4j.mp.oldpayment;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import com.alibaba.fastjson.annotation.JSONField;
import com.foxinmy.weixin4j.payment.PayBaseInfo;
/**
* V2维权POST的数据
*
* @className PayFeedback
* @author jinyu(foxinmy@gmail.com)
* @date 2014年10月29日
* @since JDK 1.6
* @see
*/
@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class PayFeedback extends PayBaseInfo {
private static final long serialVersionUID = 7230049346213966310L;
/**
* 投诉单号
*/
@JSONField(name = "FeedBackId")
@XmlElement(name = "FeedBackId")
private String feedbackId;
/**
* 用户ID
*/
@JSONField(name = "OpenId")
@XmlElement(name = "OpenId")
private String openId;
/**
* 订单交易单号
*/
@JSONField(name = "TransId")
@XmlElement(name = "TransId")
private String transId;
/**
* 投诉原因
*/
@JSONField(name = "Reason")
@XmlElement(name = "Reason")
private String reason;
/**
* 用户希望解决方案
*/
@JSONField(name = "Solution")
@XmlElement(name = "Solution")
private String solution;
/**
* 备注信息+电话
*/
@JSONField(name = "ExtInfo")
@XmlElement(name = "ExtInfo")
private String extInfo;
/**
* 用户上传的图片凭证,最多五张
*/
@JSONField(name = "PicInfo")
@XmlElement(name = "PicInfo")
private String picInfo;
/**
* 通知类型 request 用户提交投诉 confirm 用户确认消除 投诉 reject 用户拒绝消除投诉
*/
@JSONField(name = "MsgType")
@XmlElement(name = "MsgType")
private String status;
public PayFeedback() {
}
public String getFeedbackId() {
return feedbackId;
}
public String getOpenId() {
return openId;
}
public String getTransId() {
return transId;
}
public String getReason() {
return reason;
}
public String getSolution() {
return solution;
}
public String getExtInfo() {
return extInfo;
}
public String getPicInfo() {
return picInfo;
}
public String getStatus() {
return status;
}
@Override
public String toString() {
return "PayFeedback [feedbackId=" + feedbackId + ", openId=" + openId
+ ", transId=" + transId + ", reason=" + reason + ", solution="
+ solution + ", extInfo=" + extInfo + ", picInfo=" + picInfo
+ ", status=" + status + ", " + super.toString() + "]";
}
}