File tree Expand file tree Collapse file tree 5 files changed +99
-1
lines changed
weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean Expand file tree Collapse file tree 5 files changed +99
-1
lines changed Original file line number Diff line number Diff line change 15
15
public class Sku implements Serializable {
16
16
17
17
/**
18
- * 卡券库存的数量, 不支持填写0,上限为100000000。
18
+ * 卡券库存的数量, 不支持填写0,上限为100000000
19
19
*/
20
20
@ SerializedName ("quantity" )
21
21
private Integer quantity = 100000000 ;
22
22
23
+ /**
24
+ * 卡券全部库存的数量,上限为100000000。
25
+ * https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Managing_Coupons_Vouchers_and_Cards.html#4
26
+ */
27
+ @ SerializedName ("total_quantity" )
28
+ private Integer totalQuantity = 100000000 ;
29
+
23
30
@ Override
24
31
public String toString () {
25
32
return WxMpGsonBuilder .create ().toJson (this );
Original file line number Diff line number Diff line change
1
+ package me .chanjar .weixin .mp .bean .card .enums ;
2
+
3
+ public enum CardCodeType {
4
+
5
+ CODE_TYPE_TEXT ("文本" ),
6
+ CODE_TYPE_NONE ("不显示任何码型" ),
7
+ CODE_TYPE_ONLY_BARCODE ("仅显示一维码" ),
8
+ CODE_TYPE_ONLY_QRCODE ("仅显示二维码" ),
9
+ CODE_TYPE_BARCODE ("一维码" ),
10
+ CODE_TYPE_QRCODE ("二维码" );
11
+
12
+ private String description ;
13
+
14
+ CardCodeType (String description ) {
15
+ this .description = description ;
16
+ }
17
+
18
+ public String getDescription () {
19
+ return description ;
20
+ }
21
+ }
Original file line number Diff line number Diff line change
1
+ package me .chanjar .weixin .mp .bean .card .enums ;
2
+
3
+ public enum CardStatusType {
4
+ CARD_STATUS_NOT_VERIFY ("待审核" ),
5
+ CARD_STATUS_VERIFY_FAIL ("审核失败" ),
6
+ CARD_STATUS_VERIFY_OK ("通过审核" ),
7
+ CARD_STATUS_DELETE ("卡券被商户删除" ),
8
+ CARD_STATUS_DISPATCH ("在公众平台投放过的卡券" );
9
+
10
+ private String description ;
11
+
12
+ CardStatusType (String description ) {
13
+ this .description = description ;
14
+ }
15
+
16
+ public String getDescription () {
17
+ return description ;
18
+ }
19
+ }
Original file line number Diff line number Diff line change
1
+ package me .chanjar .weixin .mp .bean .card .enums ;
2
+
3
+ /**
4
+ * 会员信息类目半自定义名称,当开发者变更这类类目信息的value值时 可以选择触发系统模板消息通知用户。
5
+ */
6
+ public enum CustomFieldNameType {
7
+
8
+ FIELD_NAME_TYPE_LEVEL ("等级" ),
9
+ FIELD_NAME_TYPE_COUPON ("优惠券" ),
10
+ FIELD_NAME_TYPE_STAMP ("印花" ),
11
+ FIELD_NAME_TYPE_DISCOUNT ("折扣" ),
12
+ FIELD_NAME_TYPE_ACHIEVEMEN ("成就" ),
13
+ FIELD_NAME_TYPE_MILEAGE ("里程" ),
14
+ FIELD_NAME_TYPE_SET_POINTS ("集点" ),
15
+ FIELD_NAME_TYPE_TIMS ("次数" );
16
+
17
+ private String description ;
18
+
19
+ CustomFieldNameType (String description ) {
20
+ this .description = description ;
21
+ }
22
+
23
+ public String getDescription () {
24
+ return description ;
25
+ }
26
+ }
Original file line number Diff line number Diff line change @@ -198,4 +198,29 @@ public class WxDataCubeArticleTotalDetail implements Serializable {
198
198
@ SerializedName ("feed_share_from_other_cnt" )
199
199
private Integer feedShareFromOtherCnt ;
200
200
201
+
202
+ /**
203
+ * intpagefromkanyikanreaduser 看一看来源阅读人数
204
+ */
205
+ @ SerializedName ("int_page_from_kanyikan_read_user" )
206
+ private Integer intPageFromKanyikanReadUser ;
207
+
208
+ /**
209
+ * intpagefromkanyikanreadcount 看一看来源阅读次数
210
+ */
211
+ @ SerializedName ("int_page_from_kanyikan_read_count" )
212
+ private Integer intPageFromKanyikanReadCount ;
213
+
214
+ /**
215
+ * intpagefromsouyisoureaduser 搜一搜来源阅读人数
216
+ */
217
+ @ SerializedName ("int_page_from_souyisou_read_user" )
218
+ private Integer intPageFromSouyisouReadUser ;
219
+
220
+ /**
221
+ * intpagefromsouyisoureadcount 搜一搜来源阅读次数
222
+ */
223
+ @ SerializedName ("int_page_from_souyisou_read_count" )
224
+ private Integer intPageFromSouyisouReadCount ;
225
+
201
226
}
You can’t perform that action at this time.
0 commit comments