Skip to content

Commit b45768b

Browse files
committed
feat(microapp): 随官方更新担保支付退款结果查询接口模型
1 parent 990bd65 commit b45768b

2 files changed

Lines changed: 28 additions & 4 deletions

File tree

src/SKIT.FlurlHttpClient.ByteDance.MicroApp/Models/_Legacy/AppsECPay/Order/AppsECPayQueryRefundV1Response.cs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,27 @@ public class Refund
2929
[Newtonsoft.Json.JsonProperty("refund_status")]
3030
[System.Text.Json.Serialization.JsonPropertyName("refund_status")]
3131
public string RefundStatus { get; set; } = default!;
32+
33+
/// <summary>
34+
/// 获取或设置退款时间戳。
35+
/// </summary>
36+
[Newtonsoft.Json.JsonProperty("refunded_at")]
37+
[System.Text.Json.Serialization.JsonPropertyName("refunded_at")]
38+
public long RefundTimestamp { get; set; }
39+
40+
/// <summary>
41+
/// 获取或设置是否分账。
42+
/// </summary>
43+
[Newtonsoft.Json.JsonProperty("is_all_settled")]
44+
[System.Text.Json.Serialization.JsonPropertyName("is_all_settled")]
45+
public bool IsAllSettled { get; set; }
46+
47+
/// <summary>
48+
/// 获取或设置自定义字段。
49+
/// </summary>
50+
[Newtonsoft.Json.JsonProperty("cp_extra")]
51+
[System.Text.Json.Serialization.JsonPropertyName("cp_extra")]
52+
public string? Extra { get; set; }
3253
}
3354
}
3455

Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
{
1+
{
22
"err_no": 0,
33
"err_tips": "",
44
"refundInfo": {
5-
"refund_no": "69821555158047006",
6-
"refund_amount": 3580,
7-
"refund_status": "SUCCESS"
5+
"refund_no": "N7067470744111892000",
6+
"refund_amount": 190,
7+
"refund_status": "SUCCESS",
8+
"refunded_at": 1645523798,
9+
"is_all_settled": false,
10+
"cp_extra": ""
811
}
912
}

0 commit comments

Comments
 (0)