Skip to content

Commit

Permalink
Update BingXWithdrawal.cs (#5)
Browse files Browse the repository at this point in the history
Connected WithdrawalStatus enum to Withdrawal Model and added addressTag
  • Loading branch information
rleydev authored May 31, 2024
1 parent 9fac665 commit 1bd2266
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions BingX.Net/Objects/Models/BingXWithdrawal.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System;
using System.Text.Json.Serialization;
using BingX.Net.Enums;

namespace BingX.Net.Objects.Models
{
Expand Down Expand Up @@ -39,6 +40,11 @@ public record BingXWithdrawal
[JsonPropertyName("network")]
public string Network { get; set; } = string.Empty;
/// <summary>
/// Withdrawal status
/// </summary>
[JsonPropertyName("status")]
public WithdrawalStatus Status { get; set; }
/// <summary>
/// Transfer type
/// </summary>
[JsonPropertyName("transferType")]
Expand All @@ -54,6 +60,11 @@ public record BingXWithdrawal
[JsonPropertyName("confirmNo")]
public int Confirmations { get; set; }
/// <summary>
/// Address tag
/// </summary>
[JsonPropertyName("addressTag")]
public string? AddressTag { get; set; } = string.Empty;
/// <summary>
/// Extra info
/// </summary>
[JsonPropertyName("info")]
Expand Down

0 comments on commit 1bd2266

Please sign in to comment.