-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Add OrderRefundSuccessInfo PaymentStatus
- Loading branch information
Showing
3 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
src/BD.WTTS.Primitives.Models/Models/Payment/OrderRefundSuccessInfo.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace BD.WTTS.Models; | ||
|
||
/// <summary> | ||
/// 订单退款成功信息 | ||
/// </summary> | ||
/// <param name="RefundBillId">退款单Id</param> | ||
/// <param name="PaymentId">支付Id(支付组成Id)</param> | ||
/// <param name="PaymentPlatform">支付平台</param> | ||
public record OrderRefundSuccessInfo(Guid RefundBillId, Guid PaymentId, PaymentType PaymentPlatform); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// ReSharper disable once CheckNamespace | ||
namespace BD.WTTS.Enums; | ||
|
||
/// <summary> | ||
/// 支付状态 | ||
/// </summary> | ||
public enum PaymentStatus : byte | ||
{ | ||
[Description("待付款")] | ||
WaitPay = 0, | ||
|
||
[Description("已付款")] | ||
Paid = 1, | ||
|
||
[Description("已退款")] | ||
Refunded = 2, | ||
} |