View Javadoc
1   package com.foxinmy.weixin4j.pay.payment.mch;
2   
3   import com.alibaba.fastjson.annotation.JSONField;
4   import com.foxinmy.weixin4j.xml.ListsuffixResult;
5   
6   import javax.xml.bind.annotation.XmlElement;
7   import java.util.List;
8   
9   /**
10   * 报关记录
11   * 
12   * @className CustomsOrderRecord
13   * @author jinyu(foxinmy@gmail.com)
14   * @date 2016年3月27日
15   * @since JDK 1.6
16   * @see
17   */
18  public class CustomsOrderRecord extends MerchantResult {
19  
20  	private static final long serialVersionUID = -1675090110657154049L;
21  	/**
22  	 * 微信支付订单号
23  	 */
24  	@XmlElement(name = "transaction_id")
25  	@JSONField(name = "transaction_id")
26  	private String transactionId;
27  	/**
28  	 * 笔数
29  	 */
30  	@XmlElement(name = "count")
31  	@JSONField(name = "count")
32  	private int orderCount;
33  
34  	/**
35  	 * 报关详情
36  	 * 
37  	 * @see CustomsOrderResult
38  	 */
39  	@ListsuffixResult
40  	private List<CustomsOrderResult> customsOrderList;
41  
42  	public String getTransactionId() {
43  		return transactionId;
44  	}
45  
46  	public void setTransactionId(String transactionId) {
47  		this.transactionId = transactionId;
48  	}
49  
50  	public int getOrderCount() {
51  		return orderCount;
52  	}
53  
54  	public void setOrderCount(int orderCount) {
55  		this.orderCount = orderCount;
56  	}
57  
58  	public List<CustomsOrderResult> getCustomsOrderList() {
59  		return customsOrderList;
60  	}
61  
62  	public void setCustomsOrderList(List<CustomsOrderResult> customsOrderList) {
63  		this.customsOrderList = customsOrderList;
64  	}
65  
66  	@Override
67  	public String toString() {
68  		return "CustomsOrderRecord [transactionId=" + transactionId
69  				+ ", orderCount=" + orderCount + ", customsOrderList="
70  				+ customsOrderList + "]";
71  	}
72  }