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