🎨 #3171 【微信支付】修改微信支付分签约计划部分字段类型

This commit is contained in:
尼禄·saber·潍納斯 2023-11-23 10:33:09 +08:00 committed by GitHub
parent c73fac0754
commit 8268fc83e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 72 additions and 4 deletions

View File

@ -66,7 +66,7 @@ public class PartnerUserSignPlanDetail implements Serializable {
* 计划详情名称
*/
@SerializedName("plan_detail_name")
private Integer planDetailName;
private String planDetailName;
/**
* 计划明细对应订单实际支付金额单位分

View File

@ -36,7 +36,7 @@ public class PayScoreNotifyData implements Serializable {
* <p>3用户确认成功通知的类型为PAYSCORE.USER_CONFIRM</p>
* <p>4支付成功通知的类型为PAYSCORE.USER_PAID</p>
* <p>5取消签约成功通知类型为PAYSCORE.USER_CANCEL_SIGN_PLAN</p>
* <p>6签约计划成功通知类型为PAYSCORE</p>
* <p>6签约计划成功通知类型为PAYSCORE.USER_SIGN_PLAN</p>
*/
@SerializedName("event_type")
private String eventType;

View File

@ -0,0 +1,43 @@
package com.github.binarywang.wxpay.bean.payscore;
import com.google.gson.annotations.SerializedName;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
/**
* @author UltramanNoa
* @className PayScorePlanDetail
* @description 支付分计划明细列表
* @createTime 2023/11/3 11:22
**/
@Data
@NoArgsConstructor
public class PayScorePlanDetailRequest implements Serializable {
private static final long serialVersionUID = 999251141141181820L;
/**
* 计划明细原支付金额(单位分)
*/
@SerializedName("original_price")
private Integer originalPrice;
/**
* 计划明细优惠说明
*/
@SerializedName("plan_discount_description")
private String planDiscountDescription;
/**
* 计划明细实际支付金额(单位分)
*/
@SerializedName("actual_price")
private Long actualPrice;
/**
* 计划明细名称
*/
@SerializedName("plan_detail_name")
private String planDetailName;
}

View File

@ -0,0 +1,25 @@
package com.github.binarywang.wxpay.bean.payscore;
import com.google.gson.annotations.SerializedName;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
/**
* @author UltramanNoa
* @className PayScorePlanDetail
* @description 支付分计划明细列表
* @createTime 2023/11/3 11:22
**/
@Data
@NoArgsConstructor
public class PayScorePlanDetailResult extends PayScorePlanDetailRequest implements Serializable {
private static final long serialVersionUID = -2195861995542633650L;
/**
* 计划明细序号(返回参数)
*/
@SerializedName("plan_detail_no")
private Integer planDetailNo;
}

View File

@ -82,7 +82,7 @@ public class WxPartnerPayScoreSignPlanRequest extends WxPayScoreRequest {
* 支付分计划明细列表
*/
@SerializedName("plan_detail_list")
private List<PayScorePlanDetail> planDetailList;
private List<PayScorePlanDetailRequest> planDetailList;
/**
* 商户侧计划号

View File

@ -88,7 +88,7 @@ public class WxPartnerPayScoreSignPlanResult extends WxPayScoreResult {
* 支付分计划明细列表
*/
@SerializedName("plan_detail_list")
private List<PayScorePlanDetail> planDetailList;
private List<PayScorePlanDetailResult> planDetailList;
/**
* 终止方商户号