Skip to content

Commit edf8e18

Browse files
authored
🆕 #1706 微信支付增加特约商户进件相关接口
* 实现特约商户进件相关接口
1 parent e7f2378 commit edf8e18

22 files changed

+1755
-0
lines changed
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
package com.github.binarywang.wxpay.bean.applyment;
2+
3+
import com.github.binarywang.wxpay.bean.applyment.enums.ApplymentStateEnum;
4+
import com.google.gson.annotations.SerializedName;
5+
import lombok.AllArgsConstructor;
6+
import lombok.Builder;
7+
import lombok.Data;
8+
import lombok.NoArgsConstructor;
9+
import lombok.experimental.Accessors;
10+
11+
import java.util.List;
12+
13+
/**
14+
* 查询申请单状态返回对象信息
15+
*/
16+
@Data
17+
@Builder
18+
@NoArgsConstructor
19+
@AllArgsConstructor
20+
@Accessors(chain = true)
21+
public class ApplymentStateQueryResult {
22+
23+
/**
24+
* 业务申请编号
25+
*/
26+
@SerializedName("business_code")
27+
private String businessCode;
28+
/**
29+
* 微信支付申请单号
30+
*/
31+
@SerializedName("applyment_id")
32+
private String applymentId;
33+
/**
34+
* 特约商户号
35+
*/
36+
@SerializedName("sub_mchid")
37+
private String subMchid;
38+
/**
39+
* 超级管理员签约链接
40+
*/
41+
@SerializedName("sign_url")
42+
private String signUrl;
43+
44+
/**
45+
* 申请单状态
46+
*
47+
*/
48+
@SerializedName("applyment_state")
49+
private ApplymentStateEnum applymentState;
50+
/**
51+
* 申请状态描述
52+
*/
53+
@SerializedName("applyment_state_msg")
54+
private String applymentStateMsg;
55+
/**
56+
* 驳回原因详情
57+
*/
58+
@SerializedName("audit_detail")
59+
private List<AuditDetail> auditDetail;
60+
61+
/**
62+
* 驳回原因详情
63+
*/
64+
@Data
65+
@Builder
66+
@NoArgsConstructor
67+
@AllArgsConstructor
68+
@Accessors(chain = true)
69+
public static class AuditDetail {
70+
/**
71+
* 字段名
72+
*/
73+
@SerializedName("field")
74+
private String field;
75+
/**
76+
* 字段名称
77+
*/
78+
@SerializedName("field_name")
79+
private String fieldName;
80+
/**
81+
* 驳回原因
82+
*/
83+
@SerializedName("reject_reason")
84+
private String rejectReason;
85+
86+
}
87+
}
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
package com.github.binarywang.wxpay.bean.applyment;
2+
3+
import com.github.binarywang.wxpay.bean.applyment.enums.AccountTypeEnum;
4+
import com.google.gson.annotations.SerializedName;
5+
import lombok.AllArgsConstructor;
6+
import lombok.Builder;
7+
import lombok.Data;
8+
import lombok.NoArgsConstructor;
9+
import lombok.experimental.Accessors;
10+
import com.github.binarywang.wxpay.v3.SpecEncrypt;
11+
12+
/**
13+
* 修改结算账户请求对象
14+
*/
15+
@Data
16+
@Builder
17+
@NoArgsConstructor
18+
@AllArgsConstructor
19+
@Accessors(chain = true)
20+
public class ModifySettlementRequest {
21+
/**
22+
*账户类型
23+
*/
24+
@SerializedName("account_type")
25+
private AccountTypeEnum accountType;
26+
/**
27+
*开户银行
28+
*/
29+
@SerializedName("account_bank")
30+
private String accountBank;
31+
/**
32+
*开户银行省市编码
33+
*/
34+
@SerializedName("bank_address_code")
35+
private String bankAddressCode;
36+
/**
37+
*开户银行全称(含支行)
38+
*/
39+
@SerializedName("bank_name")
40+
private String bankName;
41+
/**
42+
*开户银行联行号
43+
*/
44+
@SerializedName("bank_branch_id")
45+
private String bankBranchId;
46+
47+
/**
48+
*银行账号
49+
*/
50+
@SpecEncrypt
51+
@SerializedName("account_number")
52+
private String accountNumber;
53+
}
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
package com.github.binarywang.wxpay.bean.applyment;
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+
/**
11+
* 查询结算账户返回对象信息
12+
*/
13+
@Data
14+
@Builder
15+
@NoArgsConstructor
16+
@AllArgsConstructor
17+
@Accessors(chain = true)
18+
public class SettlementInfoResult {
19+
20+
/**
21+
* 账户类型
22+
*/
23+
@SerializedName("account_type")
24+
private String accountType;
25+
/**
26+
* 开户银行
27+
*/
28+
@SerializedName("account_bank")
29+
private String accountBank;
30+
/**
31+
* 开户银行全称(含支行]
32+
*/
33+
@SerializedName("bank_name")
34+
private String bankName;
35+
/**
36+
* 开户银行联行号
37+
*/
38+
@SerializedName("bank_branch_id")
39+
private String bankBranchId;
40+
/**
41+
* 银行账号
42+
*/
43+
@SerializedName("account_number")
44+
private String accountNumber;
45+
/**
46+
* 汇款验证结果
47+
* @see com.github.binarywang.wxpay.bean.applyment.enums.SettlementVerifyResultEnum
48+
*/
49+
@SerializedName("verify_result")
50+
private String verifyResult;
51+
}

0 commit comments

Comments
 (0)