38 lines
867 B
VB.net
38 lines
867 B
VB.net
Imports Newtonsoft.Json
|
|
|
|
Public Class WiseWebhookRequest
|
|
<JsonProperty("event_type")>
|
|
Public Property EventType As String
|
|
|
|
<JsonProperty("data")>
|
|
Public Property Data As WiseWebhookData
|
|
End Class
|
|
|
|
Public Class WiseWebhookData
|
|
<JsonProperty("id")>
|
|
Public Property Id As Long
|
|
|
|
<JsonProperty("balance_id")>
|
|
Public Property BalanceId As Long
|
|
|
|
<JsonProperty("amount")>
|
|
Public Property Amount As WiseWebhookAmount
|
|
|
|
<JsonProperty("occurred_at")>
|
|
Public Property OccurredAt As DateTime
|
|
|
|
<JsonProperty("description")>
|
|
Public Property Description As String
|
|
|
|
<JsonProperty("sender_name")>
|
|
Public Property SenderName As String
|
|
End Class
|
|
|
|
Public Class WiseWebhookAmount
|
|
<JsonProperty("value")>
|
|
Public Property Value As Decimal
|
|
|
|
<JsonProperty("currency")>
|
|
Public Property Currency As String
|
|
End Class
|