mirror of
https://github.com/JKorf/CryptoExchange.Net
synced 2026-02-16 14:13:46 +00:00
Added status to SharedDeposit model
This commit is contained in:
parent
9d43d358cf
commit
3559e38146
21
CryptoExchange.Net/SharedApis/Enums/SharedTransferStatus.cs
Normal file
21
CryptoExchange.Net/SharedApis/Enums/SharedTransferStatus.cs
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
namespace CryptoExchange.Net.SharedApis
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Transfer status
|
||||||
|
/// </summary>
|
||||||
|
public enum SharedTransferStatus
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// In progress
|
||||||
|
/// </summary>
|
||||||
|
InProgress,
|
||||||
|
/// <summary>
|
||||||
|
/// Failed
|
||||||
|
/// </summary>
|
||||||
|
Failed,
|
||||||
|
/// <summary>
|
||||||
|
/// Completed
|
||||||
|
/// </summary>
|
||||||
|
Completed
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -44,15 +44,21 @@ namespace CryptoExchange.Net.SharedApis
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public bool Completed { get; set; }
|
public bool Completed { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Status of the deposit
|
||||||
|
/// </summary>
|
||||||
|
public SharedTransferStatus Status { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// ctor
|
/// ctor
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public SharedDeposit(string asset, decimal quantity, bool completed, DateTime timestamp)
|
public SharedDeposit(string asset, decimal quantity, bool completed, DateTime timestamp, SharedTransferStatus status)
|
||||||
{
|
{
|
||||||
Asset = asset;
|
Asset = asset;
|
||||||
Quantity = quantity;
|
Quantity = quantity;
|
||||||
Timestamp = timestamp;
|
Timestamp = timestamp;
|
||||||
Completed = completed;
|
Completed = completed;
|
||||||
|
Status = status;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user