Skip to content

Commit e9e7afd

Browse files
jeequanbinarywang
authored andcommitted
🎨 电商收付通二级商户进件增加结算规则字段
1 parent 7d22221 commit e9e7afd

1 file changed

Lines changed: 47 additions & 0 deletions

File tree

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

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,18 @@ public class ApplymentsRequest implements Serializable {
200200
@SerializedName(value = "sales_scene_info")
201201
private SalesSceneInfo salesSceneInfo;
202202

203+
/**
204+
* <pre>
205+
* 字段名:+结算规则
206+
* 变量名:settlement_info
207+
* 是否必填:否
208+
* 类型:object
209+
* 描述:请填写商家的结算费率规则、所属行业等信息。若电商平台未传入,系统将填写默认值
210+
* </pre>
211+
*/
212+
@SerializedName(value = "settlement_info")
213+
private SettlementInfo settlementInfo;
214+
203215
/**
204216
* <pre>
205217
* 字段名:商户简称
@@ -822,4 +834,39 @@ public static class SalesSceneInfo implements Serializable {
822834

823835
}
824836

837+
@Data
838+
@NoArgsConstructor
839+
public static class SettlementInfo implements Serializable {
840+
/**
841+
* <pre>
842+
* 字段名:结算规则ID
843+
* 变量名:settlement_id
844+
* 是否必填:否
845+
* 类型:int
846+
* 描述:
847+
* 1、选填,请选择二级商户的结算规则ID,需匹配电商平台开通工具箱选择的费率档位,详细参见电商二级商户结算规则对照表;https://kf.qq.com/faq/220228qEfuAz220228bMFji6.html
848+
* 2、若电商平台未传入,将默认选择0.6%费率对应的结算规则id;
849+
* 示例值:719
850+
* </pre>
851+
*/
852+
@SerializedName(value = "settlement_id")
853+
private Integer settlementId;
854+
855+
/**
856+
* <pre>
857+
* 字段名:所属行业
858+
* 变量名:qualification_type
859+
* 是否必填:二选一
860+
* 类型:string[1, 200]
861+
* 描述:
862+
* 1、选填,请填写二级商户所属的行业名称,映射特殊资质要求,详细参见电商二级商户结算规则对照表;
863+
* 2、若电商平台未传入,将默认填写无需特殊资质的行业名称;
864+
* 示例值:零售批发/生活娱乐/其他
865+
* </pre>
866+
*/
867+
@SerializedName(value = "qualification_type")
868+
private String qualificationType;
869+
870+
}
871+
825872
}

0 commit comments

Comments
 (0)