Commit 2ac6fcb6 by lijinqi

支付回调接口V0.1

parent 842a425c
package com.luhu.computility.module.pay.controller.admin.notify.vo; package com.luhu.computility.module.pay.controller.admin.notify.vo;
import com.fasterxml.jackson.annotation.JsonAlias;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data; import lombok.Data;
...@@ -16,68 +18,88 @@ public class WpgjPayNotifyDTO { ...@@ -16,68 +18,88 @@ public class WpgjPayNotifyDTO {
@Schema(description = "旺铺平台唯一设备SN号", requiredMode = Schema.RequiredMode.REQUIRED) @Schema(description = "旺铺平台唯一设备SN号", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "设备编号不能为空") @NotBlank(message = "设备编号不能为空")
@JsonProperty("device_no")
private String deviceNo; private String deviceNo;
@Schema(description = "内部商户号", requiredMode = Schema.RequiredMode.REQUIRED) @Schema(description = "内部商户号", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "商户号不能为空") @NotBlank(message = "商户号不能为空")
@JsonProperty("mer_no")
private String merNo; private String merNo;
@Schema(description = "商户代码", requiredMode = Schema.RequiredMode.REQUIRED) @Schema(description = "商户代码", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "商户代码不能为空") @NotBlank(message = "商户代码不能为空")
@JsonProperty("mer_code")
private String merCode; private String merCode;
@Schema(description = "支付通道代码", requiredMode = Schema.RequiredMode.REQUIRED) @Schema(description = "支付通道代码", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "支付通道代码不能为空") @NotBlank(message = "支付通道代码不能为空")
@JsonProperty("payway_code")
private String paywayCode; private String paywayCode;
@Schema(description = "旺铺订单号", requiredMode = Schema.RequiredMode.REQUIRED) @Schema(description = "旺铺订单号", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "旺铺订单号不能为空") @NotBlank(message = "旺铺订单号不能为空")
@JsonProperty("order_id")
private String orderId; private String orderId;
@Schema(description = "商户订单id,系统唯一", requiredMode = Schema.RequiredMode.REQUIRED) @Schema(description = "商户订单id,系统唯一", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "商户订单号不能为空") @NotBlank(message = "商户订单号不能为空")
@JsonProperty("mer_order_id")
private String merOrderId; private String merOrderId;
@Schema(description = "网关商户订单号") @Schema(description = "网关商户订单号")
@JsonProperty("gateway_mer_order_id")
private String gatewayMerOrderId; private String gatewayMerOrderId;
@Schema(description = "下单时间", requiredMode = Schema.RequiredMode.REQUIRED) @Schema(description = "下单时间", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "下单时间不能为空") @NotBlank(message = "下单时间不能为空")
@JsonProperty("order_time")
private String orderTime; private String orderTime;
@Schema(description = "订单金额", requiredMode = Schema.RequiredMode.REQUIRED) @Schema(description = "订单金额", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "订单金额不能为空") @NotBlank(message = "订单金额不能为空")
@JsonProperty("order_amt")
private String orderAmt; private String orderAmt;
@Schema(description = "订单状态", requiredMode = Schema.RequiredMode.REQUIRED) @Schema(description = "订单状态", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "订单状态不能为空") @NotBlank(message = "订单状态不能为空")
@JsonProperty("order_status")
private String orderStatus; private String orderStatus;
@Schema(description = "通道交易流水号") @Schema(description = "通道交易流水号")
@JsonProperty("trade_no")
private String tradeNo; private String tradeNo;
@Schema(description = "交易时间,支付成功返回") @Schema(description = "交易时间,支付成功返回")
@JsonProperty("trade_time")
private String tradeTime; private String tradeTime;
@Schema(description = "订单标题") @Schema(description = "订单标题")
@JsonProperty("order_title")
private String orderTitle; private String orderTitle;
@Schema(description = "订单手续费") @Schema(description = "订单手续费")
@JsonProperty("fee")
private String fee; private String fee;
@Schema(description = "结算金额") @Schema(description = "结算金额")
@JsonProperty("act_amt")
private String actAmt; private String actAmt;
@Schema(description = "买家用户号") @Schema(description = "买家用户号")
@JsonProperty("buyer_id")
@JsonAlias("buyer_user_id")
private String buyerId; private String buyerId;
@Schema(description = "对应微信、支付宝小票上交易单号") @Schema(description = "对应微信、支付宝小票上交易单号")
@JsonProperty("trade_top_no")
private String tradeTopNo; private String tradeTopNo;
@Schema(description = "交易账户类型 C-贷记卡,D-借记卡,U-未知") @Schema(description = "交易账户类型 C-贷记卡,D-借记卡,U-未知")
@JsonProperty("card_type")
private String cardType; private String cardType;
@Schema(description = "报文签名值", requiredMode = Schema.RequiredMode.REQUIRED) @Schema(description = "报文签名值", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "签名不能为空") @NotBlank(message = "签名不能为空")
@JsonProperty("sign")
private String sign; private String sign;
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment