add
yj
2024-12-05 b9900893177c78fc559223521fe839aa21000017
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
package com.dobbinsoft.fw.pay.model.coupon;
 
import com.dobbinsoft.fw.pay.model.result.MatrixBasePayResult;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
 
/**
 * <pre>
 * 查询代金券信息响应结果类
 * </pre>
 *
 */
@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
public class MatrixPayCouponInfoQueryResult extends MatrixBasePayResult {
    /**
     * <pre>
     * 字段名:设备号.
     * 变量名:device_info
     * 是否必填:否
     * 示例值:123456sb
     * 类型:String(32)
     * 说明:微信支付分配的终端设备号,
     * </pre>
     */
    private String deviceInfo;
 
    /**
     * <pre>
     * 字段名:批次ID.
     * 变量名:coupon_stock_id
     * 是否必填:是
     * 示例值:1567
     * 类型:String
     * 说明:代金券批次Id
     * </pre>
     */
    private String couponStockId;
 
    /**
     * <pre>
     * 字段名:代金券id.
     * 变量名:coupon_id
     * 是否必填:是
     * 示例值:4242
     * 类型:String
     * 说明:代金券id
     * </pre>
     */
    private String couponId;
 
    /**
     * <pre>
     * 字段名:代金券面额.
     * 变量名:coupon_value
     * 是否必填:是
     * 示例值:4
     * 类型:Unsinged int
     * 说明:代金券面值,单位是分
     * </pre>
     */
    private Integer couponValue;
 
    /**
     * <pre>
     * 字段名:代金券使用门槛.
     * 变量名:coupon_minimum 微信文档有误
     * 是否必填:是
     * 示例值:10
     * 类型:Unsinged int
     * 说明:代金券使用最低限额,单位是分
     * </pre>
     */
    private Integer couponMinimum;
 
    /**
     * <pre>
     * 字段名:代金券名称.
     * 变量名:coupon_name
     * 是否必填:是
     * 示例值:测试代金券
     * 类型:String
     * 说明:代金券名称
     * </pre>
     */
    private String couponName;
 
    /**
     * <pre>
     * 字段名:代金券状态.
     * 变量名:coupon_state
     * 是否必填:是
     * 示例值:SENDED
     * 类型:String
     * 说明:代金券状态:SENDED-可用,USED-已实扣,EXPIRED-已过期
     * </pre>
     */
    private String couponState;
 
    /**
     * <pre>
     * 字段名:代金券描述.
     * 变量名:coupon_desc
     * 是否必填:是
     * 示例值:微信支付-代金券
     * 类型:String
     * 说明:代金券描述
     * </pre>
     */
    private String couponDesc;
 
    /**
     * <pre>
     * 字段名:实际优惠金额.
     * 变量名:coupon_use_value
     * 是否必填:是
     * 示例值:0
     * 类型:Unsinged int
     * 说明:代金券实际使用金额
     * </pre>
     */
    private Integer couponUseValue;
 
    /**
     * <pre>
     * 字段名:优惠剩余可用额.
     * 变量名:coupon_remain_value
     * 是否必填:是
     * 示例值:4
     * 类型:Unsinged int
     * 说明:代金券剩余金额:部分使用情况下,可能会存在券剩余金额
     * </pre>
     */
    private Integer couponRemainValue;
 
    /**
     * <pre>
     * 字段名:生效开始时间.
     * 变量名:begin_time
     * 是否必填:是
     * 示例值:1943787483
     * 类型:String
     * 说明:格式为时间戳
     * </pre>
     */
    private String beginTime;
 
    /**
     * <pre>
     * 字段名:生效结束时间.
     * 变量名:end_time
     * 是否必填:是
     * 示例值:1943787484
     * 类型:String
     * 说明:格式为时间戳
     * </pre>
     */
    private String endTime;
 
    /**
     * <pre>
     * 字段名:发放时间.
     * 变量名:send_time
     * 是否必填:是
     * 示例值:1943787420
     * 类型:String
     * 说明:格式为时间戳
     * </pre>
     */
    private String sendTime;
 
    /**
     * <pre>
     * 字段名:消耗方商户id.
     * 变量名:consumer_mch_id
     * 是否必填:否
     * 示例值:10000098
     * 类型:String
     * 说明:代金券使用后,消耗方商户id
     * </pre>
     */
    private String consumerMchId;
 
    /**
     * <pre>
     * 字段名:发放来源.
     * 变量名:send_source
     * 是否必填:是
     * 示例值:FULL_SEND
     * 类型:String
     * 说明:代金券发放来源:FULL_SEND-满送 NORMAL-普通发放场景
     * </pre>
     */
    private String sendSource;
 
    /**
     * <pre>
     * 字段名:是否允许部分使用.
     * 变量名:is_partial_use
     * 是否必填:否
     * 示例值:1
     * 类型:String
     * 说明:该代金券是否允许部分使用标识:1-表示支持部分使用
     * </pre>
     */
    private String isPartialUse;
 
}