View Javadoc
1   package com.foxinmy.weixin4j.mp.oldpayment;
2   
3   import javax.xml.bind.annotation.XmlAccessType;
4   import javax.xml.bind.annotation.XmlAccessorType;
5   import javax.xml.bind.annotation.XmlElement;
6   import javax.xml.bind.annotation.XmlRootElement;
7   
8   import com.alibaba.fastjson.annotation.JSONField;
9   
10  /**
11   * V2退款申请结果
12   * 
13   * @className RefundResultV2
14   * @author jinyu(foxinmy@gmail.com)
15   * @date 2014年11月6日
16   * @since JDK 1.6
17   * @see
18   */
19  @XmlRootElement
20  @XmlAccessorType(XmlAccessType.FIELD)
21  public class RefundResultV2 extends RefundDetailV2 {
22  
23  	private static final long serialVersionUID = -3687863914168618620L;
24  
25  	/**
26  	 * 微信订单号
27  	 */
28  	@XmlElement(name = "transaction_id")
29  	@JSONField(name = "transaction_id")
30  	private String transactionId;
31  	/**
32  	 * 商户系统内部的订单号
33  	 */
34  	@XmlElement(name = "out_trade_no")
35  	@JSONField(name = "out_trade_no")
36  	private String outTradeNo;
37  
38  	protected RefundResultV2() {
39  		// jaxb required
40  	}
41  	
42  	public String getTransactionId() {
43  		return transactionId;
44  	}
45  
46  	public String getOutTradeNo() {
47  		return outTradeNo;
48  	}
49  
50  	@Override
51  	public String toString() {
52  		return "RefundResult [transactionId=" + transactionId + ", outTradeNo="
53  				+ outTradeNo + ", " + super.toString() + "]";
54  	}
55  }