mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-03-10 00:13:40 +08:00
🆕 【微信支付】新增v3分账查询接口,同时修改分账查询结果接口增加分账明细单号字段detail_id
This commit is contained in:
@@ -121,6 +121,10 @@ public class ProfitSharingQueryResult extends BaseWxPayResult implements Seriali
|
||||
* 分账失败原因
|
||||
*/
|
||||
private String failReason;
|
||||
/**
|
||||
* 分账明细单号
|
||||
*/
|
||||
private String detailId;
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
@@ -132,6 +136,7 @@ public class ProfitSharingQueryResult extends BaseWxPayResult implements Seriali
|
||||
", result='" + result + '\'' +
|
||||
", finishTime='" + finishTime + '\'' +
|
||||
", failReason='" + failReason + '\'' +
|
||||
", detailId='" + detailId + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,62 @@
|
||||
package com.github.binarywang.wxpay.bean.profitsharing.v3;
|
||||
|
||||
import com.github.binarywang.wxpay.bean.request.BaseWxPayRequest;
|
||||
import com.github.binarywang.wxpay.constant.WxPayConstants;
|
||||
import com.github.binarywang.wxpay.exception.WxPayException;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
import lombok.*;
|
||||
import lombok.experimental.Accessors;
|
||||
import me.chanjar.weixin.common.annotation.Required;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author lyt 2023/08/21 15:44
|
||||
* @version 1.0
|
||||
*/
|
||||
@Data
|
||||
@Builder(builderMethodName = "newBuilder")
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class ProfitSharingQueryRequest implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
/**
|
||||
* <pre>
|
||||
* 字段名:子商户号
|
||||
* 是否必填:是
|
||||
* 描述:微信支付分配的子商户号,即分账的出资商户号。
|
||||
* </pre>
|
||||
*/
|
||||
@SerializedName("sub_mchid")
|
||||
private String subMchId;
|
||||
/**
|
||||
* <pre>
|
||||
* 字段名:微信支付订单号.
|
||||
* 变量名:transaction_id
|
||||
* 是否必填:是
|
||||
* String(32)
|
||||
* 示例值:4208450740201411110007820472
|
||||
* 描述:微信支付订单号
|
||||
* </pre>
|
||||
*/
|
||||
@XStreamAlias("transaction_id")
|
||||
@Required
|
||||
private String transactionId;
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* 字段名:商户分账单号.
|
||||
* 变量名:out_order_no
|
||||
* 是否必填:是
|
||||
* String(64)
|
||||
* 示例值:P20150806125346
|
||||
* 描述:查询分账结果,输入申请分账时的商户分账单号; 查询分账完结的执行结果,输入发起分账完结时的商户分账单号
|
||||
* </pre>
|
||||
*/
|
||||
@XStreamAlias("out_order_no")
|
||||
@Required
|
||||
private String outOrderNo;
|
||||
|
||||
}
|
||||
@@ -112,7 +112,7 @@ public class ProfitSharingResult implements Serializable {
|
||||
* </pre>
|
||||
*/
|
||||
@SerializedName("amount")
|
||||
private Long amount;
|
||||
private Integer amount;
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
|
||||
Reference in New Issue
Block a user