-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathResponse.cs
More file actions
42 lines (38 loc) · 1.31 KB
/
Response.cs
File metadata and controls
42 lines (38 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
using System;
using System.Text.Json.Serialization;
using SimApi.Communications;
namespace SimUcApp
{
public class SimUcResponse
{
public class TradeCheckResponse : SimApiBaseResponse
{
public string TradeNo { get; set; }
public int Amount { get; set; }
public int Fee { get; set; }
public string Name { get; set; }
public string Ext { get; set; }
public string Status { get; set; }
public DateTime CreatedAt { get; set; }
public DateTime FinishedAt { get; set; }
public DateTime RefundAt { get; set; }
public DateTime CloseAt { get; set; }
}
public class GetUserByTokenResponse : SimApiBaseResponse
{
public class GroupItem
{
public int Id { get; set; }
public string Name { get; set; }
public string Image { get; set; }
public string Description { get; set; }
public string Role { get; set; }
}
public int UserId { get; set; }
public string Name { get; set; }
public string Image { get; set; }
public GroupItem[] Groups { get; set; }
public bool Verified { get; set; }
}
}
}