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