-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
完善结算信息类
- Loading branch information
Showing
2 changed files
with
67 additions
and
1 deletion.
There are no files selected for viewing
66 changes: 66 additions & 0 deletions
66
IJPay-WxPay/src/main/java/com/ijpay/wxpay/model/v3/ProfitSharingModel.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
package com.ijpay.wxpay.model.v3; | ||
|
||
import com.ijpay.core.model.BaseModel; | ||
import com.ijpay.wxpay.model.ReceiverModel; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
import lombok.Setter; | ||
|
||
import java.util.List; | ||
|
||
/** | ||
* <p>IJPay 让支付触手可及,封装了微信支付、支付宝支付、银联支付等常用的支付方式以及各种常用的接口。</p> | ||
* | ||
* <p>不依赖任何第三方 mvc 框架,仅仅作为工具使用简单快速完成支付模块的开发,可轻松嵌入到任何系统里。 </p> | ||
* | ||
* <p>IJPay 交流群: 723992875</p> | ||
* | ||
* <p>Node.js 版: https://gitee.com/javen205/TNWX</p> | ||
* | ||
* <p>V3 分账 Model</p> | ||
* | ||
* <p>支持: 请求单次分账、请求多次分账、添加分账接收方、删除分账接收方、完结分账</p> | ||
* | ||
* @author Javen | ||
*/ | ||
@Builder | ||
@AllArgsConstructor | ||
@Getter | ||
@Setter | ||
public class ProfitSharingModel extends BaseModel { | ||
/** | ||
* 微信支付分配的服务商商户号,兼容V2接口 | ||
*/ | ||
private String mch_id; | ||
/** | ||
* 微信支付分配的子商户号,即分账的出资商户号 | ||
*/ | ||
private String sub_mchid; | ||
/** | ||
* 微信分配的服务商appid | ||
*/ | ||
private String appid; | ||
/** | ||
* 微信分配的子商户公众账号ID,分账接收方类型包含PERSONAL_SUB_OPENID时必填 | ||
*/ | ||
private String sub_appid; | ||
/** | ||
* 微信支付订单号 | ||
*/ | ||
private String transaction_id; | ||
/** | ||
* 服务商系统内部的分账单号,在服务商系统内部唯一,同一分账单号多次请求等同一次。只能是数字、大小写字母_-|*@ | ||
*/ | ||
private String out_order_no; | ||
/** | ||
* 分账接收方列表,可以设置出资商户作为分账接受方,最多可有50个分账接收方 | ||
*/ | ||
private List<ReceiverModel> receivers; | ||
/** | ||
* 是否解冻剩余未分资金 | ||
* 1、如果为true,该笔订单剩余未分账的金额会解冻回分账方商户; | ||
* 2、如果为false,该笔订单剩余未分账的金额不会解冻回分账方商户,可以对该笔订单再次进行分账。 | ||
*/ | ||
private boolean unfreeze_unsplit; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,5 +26,5 @@ public class SettleInfo { | |
/** | ||
* 补差金额 | ||
*/ | ||
private int subsidy_amount; | ||
private Integer subsidy_amount; | ||
} |