Skip to content

Commit 22765e2

Browse files
authored
🎨 #4072 【微信支付】修正收付通分账、提现结果等字段,并移除无用字段
1 parent 871b042 commit 22765e2

2 files changed

Lines changed: 20 additions & 63 deletions

File tree

weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/ecommerce/ProfitSharingResult.java

Lines changed: 3 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,8 @@ public class ProfitSharingResult implements Serializable {
8282
* 类型:string (64)
8383
* 描述:
8484
* 分账单状态,枚举值:
85-
* ACCEPTED:受理成功
86-
* PROCESSING:处理中
87-
* FINISHED:分账成功
88-
* CLOSED:处理失败,已关单
85+
* PROCESSING:处理中,非终态
86+
* FINISHED:分账完成,终态
8987
* 示例值:FINISHED
9088
* </pre>
9189
*/
@@ -104,21 +102,6 @@ public class ProfitSharingResult implements Serializable {
104102
*/
105103
@SerializedName(value = "receivers")
106104
private List<Receiver> receivers;
107-
/**
108-
* <pre>
109-
* 字段名:关单原因
110-
* 变量名:close_reason
111-
* 是否必填:否
112-
* 类型:string (32)
113-
* 描述:
114-
* 关单原因描述,当分账单状态status为CLOSED(处理失败,已关单)时,返回该字段。
115-
* 枚举值:
116-
* NO_AUTH:分账授权已解除
117-
* 示例值:NO_AUTH
118-
* </pre>
119-
*/
120-
@SerializedName(value = "close_reason")
121-
private String closeReason;
122105

123106
/**
124107
* <pre>
@@ -151,21 +134,7 @@ public class ProfitSharingResult implements Serializable {
151134
@Data
152135
@NoArgsConstructor
153136
public static class Receiver implements Serializable {
154-
155-
/**
156-
* <pre>
157-
* 字段名:分账接收商户号
158-
* 变量名:receiver_mchid
159-
* 是否必填:是
160-
* 类型:string (32)
161-
* 描述:
162-
* 填写微信支付分配的商户号,仅支持通过添加分账接收方接口添加的接收方;电商平台商户已默认添加到分账接收方,无需重复添加。
163-
* 示例值:1900000109
164-
* </pre>
165-
*/
166-
@SerializedName(value = "receiver_mchid")
167-
private String receiverMchid;
168-
137+
private static final long serialVersionUID = 1L;
169138
/**
170139
* <pre>
171140
* 字段名:分账金额

weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/ecommerce/WithdrawNotifyResult.java

Lines changed: 17 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
/**
1010
* 提现状态变更通知结果
1111
* <pre>
12-
* 文档地址:https://pay.weixin.qq.com/doc/v3/partner/4013049135
12+
* 文档地址:<a href="https://pay.weixin.qq.com/doc/v3/partner/4013049135">商户提现状态变更通知</a>
1313
* </pre>
1414
*
1515
* @author copilot
@@ -117,12 +117,12 @@ public class WithdrawNotifyResult implements Serializable {
117117

118118
/**
119119
* <pre>
120-
* 字段名:提现发起时间
120+
* 字段名:提交预约时间
121121
* 变量名:create_time
122122
* 是否必填:是
123123
* 类型:string(29)
124124
* 描述:
125-
* 提现发起时间,遵循rfc3339标准格式,格式为YYYY-MM-DDTHH:mm:ss:sss+TIMEZONE,
125+
* 提交预约时间,遵循rfc3339标准格式,格式为YYYY-MM-DDTHH:mm:ss:sss+TIMEZONE,
126126
* YYYY-MM-DD表示年月日,T出现在字符串中,表示time元素的开头,HH:mm:ss:sss表示时分秒毫秒,
127127
* TIMEZONE表示时区(+08:00表示东八区时间,领先UTC 8小时,即北京时间)。
128128
* 例如:2015-05-20T13:29:35.120+08:00表示,北京时间2015年5月20日13点29分35秒
@@ -134,12 +134,12 @@ public class WithdrawNotifyResult implements Serializable {
134134

135135
/**
136136
* <pre>
137-
* 字段名:提现更新时间
137+
* 字段名:提现状态更新时间
138138
* 变量名:update_time
139139
* 是否必填:是
140140
* 类型:string(29)
141141
* 描述:
142-
* 提现更新时间,遵循rfc3339标准格式,格式为YYYY-MM-DDTHH:mm:ss:sss+TIMEZONE,
142+
* 提现状态更新时间,遵循rfc3339标准格式,格式为YYYY-MM-DDTHH:mm:ss:sss+TIMEZONE,
143143
* YYYY-MM-DD表示年月日,T出现在字符串中,表示time元素的开头,HH:mm:ss:sss表示时分秒毫秒,
144144
* TIMEZONE表示时区(+08:00表示东八区时间,领先UTC 8小时,即北京时间)。
145145
* 例如:2015-05-20T13:29:35.120+08:00表示,北京时间2015年5月20日13点29分35秒
@@ -193,12 +193,12 @@ public class WithdrawNotifyResult implements Serializable {
193193

194194
/**
195195
* <pre>
196-
* 字段名:账户类型
196+
* 字段名:出款账户类型
197197
* 变量名:account_type
198198
* 是否必填:否
199199
* 类型:string(16)
200200
* 描述:
201-
* 提现账户类型,仅电商平台提现时返回
201+
* 出款账户类型
202202
* BASIC:基本账户
203203
* OPERATION:运营账户
204204
* FEES:手续费账户
@@ -224,41 +224,29 @@ public class WithdrawNotifyResult implements Serializable {
224224

225225
/**
226226
* <pre>
227-
* 字段名:出款户名
228-
* 变量名:account_name
229-
* 是否必填:否
230-
* 类型:string(256)
231-
* 描述:
232-
* 出款户名(加密)
233-
* 示例值:2mPt3pWzZ+O3dSGbGnCrR3bqMZ5pwfpQy1NNrA==
234-
* </pre>
235-
*/
236-
@SerializedName(value = "account_name")
237-
private String accountName;
238-
239-
/**
240-
* <pre>
241-
* 字段名:出款账号
227+
* 字段名:入账银行账号后四位
242228
* 变量名:account_number
243229
* 是否必填:否
244230
* 类型:string(256)
245-
* 描述:
246-
* 出款账号(加密)
247-
* 示例值:2mPt3pWzZ+O3dSGbGnCrR3bqMZ5pwfpQy1NNrA==
231+
* 描述:提现入账的银行账号,仅显示后四位
248232
* </pre>
249233
*/
250234
@SerializedName(value = "account_number")
251235
private String accountNumber;
252236

237+
/**
238+
* 提现入账的开户银行
239+
*/
240+
@SerializedName(value = "account_bank")
241+
private String accountBank;
242+
253243
/**
254244
* <pre>
255-
* 字段名:出款银行全称(含支行)
245+
* 字段名:入账银行全称(含支行)
256246
* 变量名:bank_name
257247
* 是否必填:否
258248
* 类型:string(256)
259-
* 描述:
260-
* 出款银行全称(含支行)(加密)
261-
* 示例值:2mPt3pWzZ+O3dSGbGnCrR3bqMZ5pwfpQy1NNrA==
249+
* 描述:提现入账的开户银行全称(含支行)
262250
* </pre>
263251
*/
264252
@SerializedName(value = "bank_name")

0 commit comments

Comments
 (0)