diff --git a/src/SKIT.FlurlHttpClient.ByteDance.MicroApp/Models/_Legacy/AppsECPay/Order/AppsECPayQueryRefundV1Response.cs b/src/SKIT.FlurlHttpClient.ByteDance.MicroApp/Models/_Legacy/AppsECPay/Order/AppsECPayQueryRefundV1Response.cs index 593fed29..4204e8f6 100644 --- a/src/SKIT.FlurlHttpClient.ByteDance.MicroApp/Models/_Legacy/AppsECPay/Order/AppsECPayQueryRefundV1Response.cs +++ b/src/SKIT.FlurlHttpClient.ByteDance.MicroApp/Models/_Legacy/AppsECPay/Order/AppsECPayQueryRefundV1Response.cs @@ -29,6 +29,27 @@ public class Refund [Newtonsoft.Json.JsonProperty("refund_status")] [System.Text.Json.Serialization.JsonPropertyName("refund_status")] public string RefundStatus { get; set; } = default!; + + /// + /// 获取或设置退款时间戳。 + /// + [Newtonsoft.Json.JsonProperty("refunded_at")] + [System.Text.Json.Serialization.JsonPropertyName("refunded_at")] + public long RefundTimestamp { get; set; } + + /// + /// 获取或设置是否分账。 + /// + [Newtonsoft.Json.JsonProperty("is_all_settled")] + [System.Text.Json.Serialization.JsonPropertyName("is_all_settled")] + public bool IsAllSettled { get; set; } + + /// + /// 获取或设置自定义字段。 + /// + [Newtonsoft.Json.JsonProperty("cp_extra")] + [System.Text.Json.Serialization.JsonPropertyName("cp_extra")] + public string? Extra { get; set; } } } diff --git a/test/SKIT.FlurlHttpClient.ByteDance.MicroApp.UnitTests/ModelSamples/_/_Legacy/AppsECPay/Order/AppsECPayQueryRefundV1Response.json b/test/SKIT.FlurlHttpClient.ByteDance.MicroApp.UnitTests/ModelSamples/_/_Legacy/AppsECPay/Order/AppsECPayQueryRefundV1Response.json index f46eb8d7..50d8310d 100644 --- a/test/SKIT.FlurlHttpClient.ByteDance.MicroApp.UnitTests/ModelSamples/_/_Legacy/AppsECPay/Order/AppsECPayQueryRefundV1Response.json +++ b/test/SKIT.FlurlHttpClient.ByteDance.MicroApp.UnitTests/ModelSamples/_/_Legacy/AppsECPay/Order/AppsECPayQueryRefundV1Response.json @@ -1,9 +1,12 @@ -{ +{ "err_no": 0, "err_tips": "", "refundInfo": { - "refund_no": "69821555158047006", - "refund_amount": 3580, - "refund_status": "SUCCESS" + "refund_no": "N7067470744111892000", + "refund_amount": 190, + "refund_status": "SUCCESS", + "refunded_at": 1645523798, + "is_all_settled": false, + "cp_extra": "" } }