Skip to content

Commit

Permalink
feat(microapp): 随官方更新担保支付退款结果查询接口模型
Browse files Browse the repository at this point in the history
  • Loading branch information
fudiwei committed Nov 7, 2024
1 parent 990bd65 commit b45768b
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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!;

/// <summary>
/// 获取或设置退款时间戳。
/// </summary>
[Newtonsoft.Json.JsonProperty("refunded_at")]
[System.Text.Json.Serialization.JsonPropertyName("refunded_at")]
public long RefundTimestamp { get; set; }

/// <summary>
/// 获取或设置是否分账。
/// </summary>
[Newtonsoft.Json.JsonProperty("is_all_settled")]
[System.Text.Json.Serialization.JsonPropertyName("is_all_settled")]
public bool IsAllSettled { get; set; }

/// <summary>
/// 获取或设置自定义字段。
/// </summary>
[Newtonsoft.Json.JsonProperty("cp_extra")]
[System.Text.Json.Serialization.JsonPropertyName("cp_extra")]
public string? Extra { get; set; }
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -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": ""
}
}

0 comments on commit b45768b

Please sign in to comment.