修改退款接口字段错误 (#1788)

* art:证书类配置读取优化调整

* new:电商收付通二级商户进件

* art:微信服务商配置优化

* new:jsapi合单支付

* new:合单支付

* new:电商收付通普通支付

* new:电商收付通支付回调处理

* new:电商收付通支付回调处理

* 电商收付通支付调整

* fix:电商收付通回调通知测试

* new:电商收付通合单支付、普通支付查询

* new:电商收付通商户、平台提现

* fix:命名统一调整

* new:分账查询、退款通知

* new:修改结算账户、退款查询

* fix:字段错误

Co-authored-by: 曾浩 <epdcgsi@dingtalk.com>
Co-authored-by: Binary Wang <binarywang@users.noreply.github.com>
This commit is contained in:
Binary Wang 2020-09-29 12:41:28 +08:00 committed by GitHub
commit cd0c63fde6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,8 @@ package com.github.binarywang.wxpay.bean.ecommerce;
*/
import com.google.gson.annotations.SerializedName;
import lombok.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.Date;
@ -20,9 +21,7 @@ import java.util.Date;
* @date: 2020/09/14
*/
@Data
@Builder
@NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor(access = AccessLevel.PRIVATE)
@NoArgsConstructor
public class RefundsResult implements Serializable {
private static final long serialVersionUID = -3186851559004865784L;
@ -42,17 +41,17 @@ public class RefundsResult implements Serializable {
/**
* <pre>
* 字段名商户单号
* 变量名out_order_no
* 是否必填与transaction_id二选一
* 字段名商户退款单号
* 变量名out_refund_no
* 是否必填
* 类型string64
* 描述
* 原支付交易对应的商户订单号
* 示例值P20150806125346
* 商户系统内部的退款单号商户系统内部唯一同一退款单号多次请求只退一笔
* 示例值1217752501201407033233368018
* </pre>
*/
@SerializedName(value = "out_order_no")
private String outOrderNo;
@SerializedName(value = "out_refund_no")
private String outRefundNo;
/**
* <pre>
@ -95,9 +94,7 @@ public class RefundsResult implements Serializable {
private PromotionDetail[] promotionDetail;
@Data
@Builder
@NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor(access = AccessLevel.PRIVATE)
@NoArgsConstructor
public static class Amount implements Serializable {
private static final long serialVersionUID = 7383027142329410399L;
@ -161,9 +158,7 @@ public class RefundsResult implements Serializable {
}
@Data
@Builder
@NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor(access = AccessLevel.PRIVATE)
@NoArgsConstructor
public static class PromotionDetail implements Serializable {
private static final long serialVersionUID = 7383027142329410399L;