1 package com.foxinmy.weixin4j.payment.mch;
2
3 import javax.xml.bind.annotation.XmlTransient;
4
5 import com.alibaba.fastjson.annotation.JSONField;
6 import com.foxinmy.weixin4j.model.WeixinPayAccount;
7 import com.foxinmy.weixin4j.payment.PayRequest;
8 import com.foxinmy.weixin4j.type.TradeType;
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 @Deprecated
24 public class MICROPayRequest extends Order implements MchPayRequest {
25
26 private static final long serialVersionUID = 6147576305404111278L;
27
28 @XmlTransient
29 @JSONField(serialize = false)
30 private WeixinPayAccount paymentAccount;
31
32 protected MICROPayRequest() {
33
34 }
35
36 @Override
37 @JSONField(serialize = false)
38 public TradeType getPaymentType() {
39 return TradeType.MICROPAY;
40 }
41
42
43
44
45 @Override
46 @JSONField(serialize = false)
47 public String toRequestString() {
48 return null;
49 }
50
51
52
53
54 @JSONField(serialize = false)
55 @Override
56 public PayRequest toRequestObject() {
57 return null;
58 }
59
60
61
62
63 @JSONField(serialize = false)
64 @Override
65 public String getPrePayId() {
66 return null;
67 }
68
69 public void setPaymentAccount(WeixinPayAccount paymentAccount) {
70 this.paymentAccount = paymentAccount;
71 }
72
73 @Override
74 public WeixinPayAccount getPaymentAccount() {
75 return this.paymentAccount;
76 }
77 }