1 package com.foxinmy.weixin4j.payment.mch;
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
12
13
14
15
16
17
18
19
20 @Deprecated
21 @XmlRootElement
22 @XmlAccessorType(XmlAccessType.FIELD)
23 public class OpenIdResult extends MerchantResult {
24
25 private static final long serialVersionUID = 902743989722741814L;
26
27
28
29
30 @XmlElement(name = "openid")
31 @JSONField(name = "openid")
32 private String openId;
33
34
35
36
37 @XmlElement(name = "sub_openid")
38 @JSONField(name = "sub_openid")
39 private String subOpenId;
40
41 public String getOpenId() {
42 return openId;
43 }
44
45 public String getSubOpenId() {
46 return subOpenId;
47 }
48
49 @Override
50 public String toString() {
51 return "OpenIdResult [openId=" + openId + ", subOpenId=" + subOpenId
52 + ", " + super.toString() + "]";
53 }
54 }