diff --git a/SeatsioDotNet.Test/Events/RetrieveObjectStatusTest.cs b/SeatsioDotNet.Test/Events/RetrieveObjectStatusTest.cs index baf3a09..16fc5a0 100644 --- a/SeatsioDotNet.Test/Events/RetrieveObjectStatusTest.cs +++ b/SeatsioDotNet.Test/Events/RetrieveObjectStatusTest.cs @@ -14,6 +14,7 @@ public void Test() var objectStatus = Client.Events.RetrieveObjectStatus(evnt.Key, "A-1"); Assert.Equal(ObjectStatus.Free, objectStatus.Status); + Assert.True(objectStatus.ForSale); } } } \ No newline at end of file diff --git a/SeatsioDotNet/Events/ObjectStatusType.cs b/SeatsioDotNet/Events/ObjectStatusType.cs index 5a38da1..1a28706 100644 --- a/SeatsioDotNet/Events/ObjectStatusType.cs +++ b/SeatsioDotNet/Events/ObjectStatusType.cs @@ -14,5 +14,6 @@ public class ObjectStatus public string HoldToken { get; set; } public string OrderId { get; set; } public Dictionary ExtraData { get; set; } + public bool ForSale { get; set; } } } \ No newline at end of file diff --git a/SeatsioDotNet/SeatsioDotNet.csproj b/SeatsioDotNet/SeatsioDotNet.csproj index 9eeaf04..cf3a759 100644 --- a/SeatsioDotNet/SeatsioDotNet.csproj +++ b/SeatsioDotNet/SeatsioDotNet.csproj @@ -2,7 +2,7 @@ Library true - 65 + 66 mroloux;bverbeken Official Seats.io .NET API client Official Seats.io .NET API client