mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-03-10 00:13:40 +08:00
:new:【微信支付】增加查询结算账户、查询分账结果、查询分账回退结果和申请分账账单等V3接口
This commit is contained in:
@@ -11,6 +11,8 @@ import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 查询结算账户返回对象信息
|
||||
*
|
||||
* @see <a href="https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter11_1_4.shtml">查询结算账户</a>
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@@ -51,4 +53,12 @@ public class SettlementInfoResult implements Serializable {
|
||||
*/
|
||||
@SerializedName("verify_result")
|
||||
private String verifyResult;
|
||||
/**
|
||||
* 汇款验证失败原因
|
||||
*
|
||||
* @since 4.4.0
|
||||
* @date 2022.12.09
|
||||
*/
|
||||
@SerializedName("verify_fail_reason")
|
||||
private String verifyFailReason;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
package com.github.binarywang.wxpay.bean.profitsharingV3;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* 微信V3接口-申请分账账单请求类
|
||||
*
|
||||
* @author 狂龙骄子
|
||||
* @since 4.4.0
|
||||
* @date 2022-12-09
|
||||
*/
|
||||
@Data
|
||||
@Builder(builderMethodName = "newBuilder")
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class ProfitSharingBillRequest implements Serializable {
|
||||
private static final long serialVersionUID = 5200819754873844593L;
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* 字段名:子商户号
|
||||
* 是否必填:否
|
||||
* 描述:不填则默认返回服务商下的所有分账账单。如需下载某个子商户下的分账账单,则填指定的子商户号。
|
||||
* </pre>
|
||||
*/
|
||||
@SerializedName("sub_mchid")
|
||||
private String subMchId;
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* 字段名:账单日期
|
||||
* 是否必填:是
|
||||
* 描述:格式yyyy-MM-DD,仅支持三个月内的账单下载申请。
|
||||
* </pre>
|
||||
*/
|
||||
@SerializedName("bill_date")
|
||||
private String billDate;
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* 字段名:压缩类型
|
||||
* 是否必填:否
|
||||
* 描述:不填则默认是数据流。枚举值:GZIP:返回格式为.gzip的压缩包账单。
|
||||
* </pre>
|
||||
*/
|
||||
@SerializedName("tar_type")
|
||||
private String tarType;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
package com.github.binarywang.wxpay.bean.profitsharingV3;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* 微信V3接口-申请分账账单结果类
|
||||
*
|
||||
* @author 狂龙骄子
|
||||
* @since 4.4.0
|
||||
* @date 2022-12-09
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
public class ProfitSharingBillResult implements Serializable {
|
||||
private static final long serialVersionUID = -704896948531566657L;
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* 字段名:账单下载地址
|
||||
* 变量名:download_url
|
||||
* 是否必填:是
|
||||
* 类型:string[1,2048]
|
||||
* 描述:
|
||||
* 供下一步请求账单文件的下载地址,该地址30s内有效。
|
||||
* 示例值:https://api.mch.weixin.qq.com/v3/bill/downloadurl?token=xxx
|
||||
* </pre>
|
||||
*/
|
||||
@SerializedName(value = "download_url")
|
||||
private String downloadUrl;
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* 字段名:哈希类型
|
||||
* 变量名:hash_type
|
||||
* 是否必填:是
|
||||
* 类型:string[1, 32]
|
||||
* 描述:
|
||||
* 原始账单(gzip需要解压缩)的摘要值,用于校验文件的完整性。
|
||||
* 示例值:SHA1
|
||||
* </pre>
|
||||
*/
|
||||
@SerializedName(value = "hash_type")
|
||||
private String hashType;
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* 字段名:哈希值
|
||||
* 变量名:hash_value
|
||||
* 是否必填:是
|
||||
* 类型:string[1,1024]
|
||||
* 描述:
|
||||
* 原始账单(gzip需要解压缩)的摘要值,用于校验文件的完整性。
|
||||
* 示例值:79bb0f45fc4c42234a918000b2668d689e2bde04
|
||||
* </pre>
|
||||
*/
|
||||
@SerializedName(value = "hash_value")
|
||||
private String hashValue;
|
||||
}
|
||||
Reference in New Issue
Block a user