🆕 #2664 【微信支付】电商收付通(分账)增加查询订单剩余待分金额的接口

This commit is contained in:
hiddentrack
2022-05-26 17:03:08 +08:00
committed by GitHub
parent 403d9c58ea
commit cd034c4a6a
4 changed files with 103 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
package com.github.binarywang.wxpay.bean.ecommerce;
import com.google.gson.annotations.SerializedName;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* 查询订单剩余待分金额API 请求对象
*
* @author mshyh
* @date 2022/05/26
*/
@Data
@NoArgsConstructor
public class ProfitSharingOrdersUnSplitAmountRequest {
/**
* <pre>
* 字段名:微信订单号
* 变量名transaction_id
* 是否必填:是
* 类型string[1, 32]
* 描述:微信支付订单号
* 示例值4208450740201411110007820472
* </pre>
*/
@SerializedName(value = "transaction_id")
private String transactionId;
}

View File

@@ -0,0 +1,47 @@
package com.github.binarywang.wxpay.bean.ecommerce;
import com.google.gson.annotations.SerializedName;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* 查询订单剩余待分金额API 结果响应
*
* @author mshyh
* @date 2022/05/26
*/
@Data
@NoArgsConstructor
public class ProfitSharingOrdersUnSplitAmountResult {
/**
* <pre>
* 字段名:微信支付订单号
* 变量名transaction_id
* 是否必填:是
* 类型string[1,32]
* 描述:微信支付订单号。
* 示例值4208450740201411110007820472
* </pre>
*/
@SerializedName(value = "transaction_id")
private String transactionId;
/**
* <pre>
* 字段名:订单剩余待分金额
* 变量名unsplit_amount
* 是否必填:是
* 类型int
* 描述:订单剩余待分金额,整数,单位为分。
* 示例值1000
* </pre>
*/
@SerializedName(value = "unsplit_amount")
private Integer unsplitAmount;
}