Skip to content

Commit dfec57f

Browse files
authored
🆕 #2646 【微信支付】增加报关v3接口
1 parent cfb5327 commit dfec57f

File tree

11 files changed

+1613
-0
lines changed

11 files changed

+1613
-0
lines changed
Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
package com.github.binarywang.wxpay.bean.customs;
2+
3+
import com.google.gson.annotations.SerializedName;
4+
import lombok.AllArgsConstructor;
5+
import lombok.Builder;
6+
import lombok.Data;
7+
import lombok.NoArgsConstructor;
8+
import lombok.experimental.Accessors;
9+
10+
import java.io.Serializable;
11+
12+
/**
13+
* @author xifenzhu
14+
*/
15+
@Data
16+
@Builder
17+
@NoArgsConstructor
18+
@AllArgsConstructor
19+
@Accessors(chain = true)
20+
public class DeclarationQueryRequest implements Serializable {
21+
22+
private static final long serialVersionUID = -251403491989628142L;
23+
/**
24+
* <pre>
25+
* 字段名:机构APPID
26+
* 变量名:appid
27+
* 是否必填:是
28+
* 类型:string(32)
29+
* 描述:
30+
* 微信分配的公众账号ID
31+
* 示例值:wxd678efh567hg6787
32+
* </pre>
33+
*/
34+
@SerializedName(value = "appid")
35+
private String appid;
36+
37+
/**
38+
* <pre>
39+
* 字段名:商户号
40+
* 变量名:mchid
41+
* 是否必填:是
42+
* 类型:string(32)
43+
* 描述:
44+
* 微信支付分配的商户号
45+
* 示例值:1230000109
46+
* </pre>
47+
*/
48+
@SerializedName(value = "mchid")
49+
private String mchid;
50+
51+
/**
52+
* <pre>
53+
* 字段名:订单类型
54+
* 变量名:order_type
55+
* 是否必填:是
56+
* 类型:string(16)
57+
* 描述:
58+
* 4种订单号类型,选择一种
59+
* out_trade_no 商户订单号
60+
* transaction_id 微信支付订单号
61+
* sub_order_no 商户子订单号
62+
* sub_order_id 微信子订单号
63+
* 示例值:out_trade_no
64+
* </pre>
65+
*/
66+
@SerializedName(value = "order_type")
67+
private String orderType;
68+
69+
/**
70+
* <pre>
71+
* 字段名:订单号
72+
* 变量名:order_no
73+
* 是否必填:是
74+
* 类型:string(32)
75+
* 描述:
76+
* 根据订单号类型,传入不同的订单号码
77+
* 示例值:20150806125346
78+
* </pre>
79+
*/
80+
@SerializedName(value = "order_no")
81+
private String orderNo;
82+
83+
/**
84+
* <pre>
85+
* 字段名:海关
86+
* 变量名:customs
87+
* 是否必填:是
88+
* 类型:string(32)
89+
* 描述:
90+
* 海关代码, 枚举值参见参数规定-海关列表(https://pay.weixin.qq.com/wiki/doc/api/wxpay/ch/declarecustom_ch/chapter2_3.shtml#menu11)
91+
* 示例值:SHANGHAI_ZS
92+
* </pre>
93+
*/
94+
@SerializedName(value = "customs")
95+
private String customs;
96+
97+
/**
98+
* <pre>
99+
* 字段名:偏移量
100+
* 变量名:offset
101+
* 是否必填:是
102+
* 类型:int
103+
* 描述:
104+
* 非0整数,该次请求资源的起始位置,从0开始计数。调用方选填,默认为0
105+
* 示例值:0
106+
* </pre>
107+
*/
108+
@SerializedName(value = "offset")
109+
private String offset;
110+
111+
/**
112+
* <pre>
113+
* 字段名:请求最大记录条数
114+
* 变量名:limit
115+
* 是否必填:是
116+
* 类型:int
117+
* 描述:
118+
* 非0非负的整数,该次请求可返回的最大资源条数。调用方选填,默认值建议为20
119+
* 示例值:20
120+
* </pre>
121+
*/
122+
@SerializedName(value = "limit")
123+
private String limit;
124+
125+
}

0 commit comments

Comments
 (0)