1 package com.foxinmy.weixin4j.pay.payment.mch;
2
3 import com.alibaba.fastjson.annotation.JSONField;
4
5 import javax.xml.bind.annotation.XmlAccessType;
6 import javax.xml.bind.annotation.XmlAccessorType;
7 import javax.xml.bind.annotation.XmlElement;
8 import javax.xml.bind.annotation.XmlRootElement;
9
10
11
12
13
14
15
16
17
18
19 @XmlRootElement
20 @XmlAccessorType(XmlAccessType.FIELD)
21 public class NativePayNotify extends OpenIdResult {
22
23 private static final long serialVersionUID = 4515471400239795492L;
24
25
26
27 @XmlElement(name = "is_subscribe")
28 @JSONField(name = "is_subscribe")
29 private String isSubscribe;
30
31
32
33 @XmlElement(name = "product_id")
34 @JSONField(name = "product_id")
35 private String productId;
36
37 protected NativePayNotify() {
38
39 }
40
41 public String getProductId() {
42 return productId;
43 }
44
45 public void setIsSubscribe(String isSubscribe) {
46 this.isSubscribe = isSubscribe;
47 }
48
49 public String getIsSubscribe() {
50 return isSubscribe;
51 }
52
53 public void setProductId(String productId) {
54 this.productId = productId;
55 }
56
57 @Override
58 public String toString() {
59 return "NativePayNotify [productId=" + productId + ", isSubscribe="
60 + isSubscribe + ", " + super.toString() + "]";
61 }
62 }