|
@@ -8,7 +8,7 @@ namespace Essensoft.AspNetCore.Payment.WeChatPay.V3.Notify
|
|
/// 微信支付分 - 支付成功回调通知
|
|
/// 微信支付分 - 支付成功回调通知
|
|
/// </summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <remarks>
|
|
- /// <para><a href="https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter6_1_22.shtml">支付成功回调通知API</a> - 最新更新时间:2020.05.25</para>
|
|
|
|
|
|
+ /// <para><a href="https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter6_1_22.shtml">微信支付分 - 支付成功回调通知API</a> - 最新更新时间:2020.05.25</para>
|
|
/// </remarks>
|
|
/// </remarks>
|
|
public class WeChatPayScoreUserPaidNotify : WeChatPayNotify
|
|
public class WeChatPayScoreUserPaidNotify : WeChatPayNotify
|
|
{
|
|
{
|
|
@@ -17,7 +17,7 @@ namespace Essensoft.AspNetCore.Payment.WeChatPay.V3.Notify
|
|
/// </summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <remarks>
|
|
/// 调用接口提交的公众账号ID
|
|
/// 调用接口提交的公众账号ID
|
|
- /// 示例值:wxd678efh567hg6787
|
|
|
|
|
|
+ /// <para>示例值:wxd678efh567hg6787</para>
|
|
/// </remarks>
|
|
/// </remarks>
|
|
[JsonPropertyName("appid")]
|
|
[JsonPropertyName("appid")]
|
|
public string AppId { get; set; }
|
|
public string AppId { get; set; }
|
|
@@ -27,7 +27,7 @@ namespace Essensoft.AspNetCore.Payment.WeChatPay.V3.Notify
|
|
/// </summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <remarks>
|
|
/// 调用接口提交的商户号
|
|
/// 调用接口提交的商户号
|
|
- /// 示例值:1230000109
|
|
|
|
|
|
+ /// <para>示例值:1230000109</para>
|
|
/// </remarks>
|
|
/// </remarks>
|
|
[JsonPropertyName("mchid")]
|
|
[JsonPropertyName("mchid")]
|
|
public string MchId { get; set; }
|
|
public string MchId { get; set; }
|
|
@@ -37,7 +37,7 @@ namespace Essensoft.AspNetCore.Payment.WeChatPay.V3.Notify
|
|
/// </summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <remarks>
|
|
/// 调用接口提交的商户服务订单号
|
|
/// 调用接口提交的商户服务订单号
|
|
- /// 示例值:1234323JKHDFE1243252
|
|
|
|
|
|
+ /// <para>示例值:1234323JKHDFE1243252</para>
|
|
/// </remarks>
|
|
/// </remarks>
|
|
[JsonPropertyName("out_order_no")]
|
|
[JsonPropertyName("out_order_no")]
|
|
public string OutOrderNo { get; set; }
|
|
public string OutOrderNo { get; set; }
|
|
@@ -47,7 +47,7 @@ namespace Essensoft.AspNetCore.Payment.WeChatPay.V3.Notify
|
|
/// </summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <remarks>
|
|
/// 调用该接口提交的服务ID
|
|
/// 调用该接口提交的服务ID
|
|
- /// 示例值:500001
|
|
|
|
|
|
+ /// <para>示例值:500001</para>
|
|
/// </remarks>
|
|
/// </remarks>
|
|
[JsonPropertyName("service_id")]
|
|
[JsonPropertyName("service_id")]
|
|
public string ServiceId { get; set; }
|
|
public string ServiceId { get; set; }
|
|
@@ -57,7 +57,7 @@ namespace Essensoft.AspNetCore.Payment.WeChatPay.V3.Notify
|
|
/// </summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <remarks>
|
|
/// 微信用户在商户对应appid下的唯一标识。
|
|
/// 微信用户在商户对应appid下的唯一标识。
|
|
- /// 示例值:oUpF8uMuAJO_M2pxb1Q9zNjWeS6o
|
|
|
|
|
|
+ /// <para>示例值:oUpF8uMuAJO_M2pxb1Q9zNjWeS6o</para>
|
|
/// </remarks>
|
|
/// </remarks>
|
|
[JsonPropertyName("openid")]
|
|
[JsonPropertyName("openid")]
|
|
public string OpenId { get; set; }
|
|
public string OpenId { get; set; }
|
|
@@ -69,7 +69,7 @@ namespace Essensoft.AspNetCore.Payment.WeChatPay.V3.Notify
|
|
/// 表示当前单据状态。
|
|
/// 表示当前单据状态。
|
|
/// 枚举值:
|
|
/// 枚举值:
|
|
/// 1、DOING:服务订单进行中
|
|
/// 1、DOING:服务订单进行中
|
|
- /// 示例值:DOING
|
|
|
|
|
|
+ /// <para>示例值:DOING</para>
|
|
/// </remarks>
|
|
/// </remarks>
|
|
[JsonPropertyName("state")]
|
|
[JsonPropertyName("state")]
|
|
public string State { get; set; }
|
|
public string State { get; set; }
|
|
@@ -81,7 +81,7 @@ namespace Essensoft.AspNetCore.Payment.WeChatPay.V3.Notify
|
|
/// 对服务订单"进行中"状态的附加说明:
|
|
/// 对服务订单"进行中"状态的附加说明:
|
|
/// USER_CONFIRM:用户确认
|
|
/// USER_CONFIRM:用户确认
|
|
/// MCH_COMPLETE:商户完结
|
|
/// MCH_COMPLETE:商户完结
|
|
- /// 示例值:MCH_COMPLETE
|
|
|
|
|
|
+ /// <para>示例值:MCH_COMPLETE</para>
|
|
/// </remarks>
|
|
/// </remarks>
|
|
[JsonPropertyName("state_description")]
|
|
[JsonPropertyName("state_description")]
|
|
public string StateDescription { get; set; }
|
|
public string StateDescription { get; set; }
|
|
@@ -92,7 +92,7 @@ namespace Essensoft.AspNetCore.Payment.WeChatPay.V3.Notify
|
|
/// <remarks>
|
|
/// <remarks>
|
|
/// 总金额,大于等于0的数字,单位为分,只能为整数,详见支付金额。
|
|
/// 总金额,大于等于0的数字,单位为分,只能为整数,详见支付金额。
|
|
/// 此参数需满足:总金额=后付费项目金额之和-后付费商户优惠项目金额之和,且小于等于订单风险金额。取消订单时,该字段必须为0。
|
|
/// 此参数需满足:总金额=后付费项目金额之和-后付费商户优惠项目金额之和,且小于等于订单风险金额。取消订单时,该字段必须为0。
|
|
- /// 示例值:40000
|
|
|
|
|
|
+ /// <para>示例值:40000</para>
|
|
/// </remarks>
|
|
/// </remarks>
|
|
[JsonPropertyName("total_amount")]
|
|
[JsonPropertyName("total_amount")]
|
|
public long? TotalAmount { get; set; }
|
|
public long? TotalAmount { get; set; }
|
|
@@ -103,7 +103,7 @@ namespace Essensoft.AspNetCore.Payment.WeChatPay.V3.Notify
|
|
/// <remarks>
|
|
/// <remarks>
|
|
/// 服务信息,用于介绍本订单所提供的服务
|
|
/// 服务信息,用于介绍本订单所提供的服务
|
|
/// 不超过20个字符,超出报错处理。
|
|
/// 不超过20个字符,超出报错处理。
|
|
- /// 示例值:嗨客餐厅用餐
|
|
|
|
|
|
+ /// <para>示例值:嗨客餐厅用餐</para>
|
|
/// </remarks>
|
|
/// </remarks>
|
|
[JsonPropertyName("service_introduction")]
|
|
[JsonPropertyName("service_introduction")]
|
|
public string ServiceIntroduction { get; set; }
|
|
public string ServiceIntroduction { get; set; }
|
|
@@ -159,7 +159,7 @@ namespace Essensoft.AspNetCore.Payment.WeChatPay.V3.Notify
|
|
/// <remarks>
|
|
/// <remarks>
|
|
/// 商户数据包可存放本订单所需信息,需要先urlencode后传入。
|
|
/// 商户数据包可存放本订单所需信息,需要先urlencode后传入。
|
|
/// 当商户数据包总长度超出256字符时,报错处理。
|
|
/// 当商户数据包总长度超出256字符时,报错处理。
|
|
- /// 示例值:attach
|
|
|
|
|
|
+ /// <para>示例值:attach</para>
|
|
/// </remarks>
|
|
/// </remarks>
|
|
[JsonPropertyName("attach")]
|
|
[JsonPropertyName("attach")]
|
|
public string Attach { get; set; }
|
|
public string Attach { get; set; }
|
|
@@ -169,7 +169,7 @@ namespace Essensoft.AspNetCore.Payment.WeChatPay.V3.Notify
|
|
/// </summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <remarks>
|
|
/// 商户接收用户确认订单和付款成功回调通知的地址。
|
|
/// 商户接收用户确认订单和付款成功回调通知的地址。
|
|
- /// 示例值:https://api.test.com
|
|
|
|
|
|
+ /// <para>示例值:https://api.test.com</para>
|
|
/// </remarks>
|
|
/// </remarks>
|
|
[JsonPropertyName("notify_url")]
|
|
[JsonPropertyName("notify_url")]
|
|
public string NotifyUrl { get; set; }
|
|
public string NotifyUrl { get; set; }
|
|
@@ -179,7 +179,7 @@ namespace Essensoft.AspNetCore.Payment.WeChatPay.V3.Notify
|
|
/// </summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <remarks>
|
|
/// 微信支付服务订单号,每个微信支付服务订单号与商户号下对应的商户服务订单号一一对应。
|
|
/// 微信支付服务订单号,每个微信支付服务订单号与商户号下对应的商户服务订单号一一对应。
|
|
- /// 示例值:15646546545165651651
|
|
|
|
|
|
+ /// <para>示例值:15646546545165651651</para>
|
|
/// </remarks>
|
|
/// </remarks>
|
|
[JsonPropertyName("order_id")]
|
|
[JsonPropertyName("order_id")]
|
|
public string OrderId { get; set; }
|
|
public string OrderId { get; set; }
|
|
@@ -191,7 +191,7 @@ namespace Essensoft.AspNetCore.Payment.WeChatPay.V3.Notify
|
|
/// 是否需要收款,非0元完结后返回
|
|
/// 是否需要收款,非0元完结后返回
|
|
/// true:微信支付分代收款
|
|
/// true:微信支付分代收款
|
|
/// false:无需微信支付分代收款
|
|
/// false:无需微信支付分代收款
|
|
- /// 示例值:true
|
|
|
|
|
|
+ /// <para>示例值:true</para>
|
|
/// </remarks>
|
|
/// </remarks>
|
|
[JsonPropertyName("need_collection")]
|
|
[JsonPropertyName("need_collection")]
|
|
public bool NeedCollection { get; set; }
|
|
public bool NeedCollection { get; set; }
|