Skip to content

Commit

Permalink
Mark OperatorAccount as deprecated across all Terminal APIs.
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-stripe committed May 7, 2019
1 parent d77e1e5 commit f42d4a0
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
namespace Stripe.Terminal
{
using System;
using Newtonsoft.Json;

public class ConnectionTokenCreateOptions : BaseOptions
{
[Obsolete("This feature has been deprecated and should not be used moving forward.")]
[JsonProperty("operator_account")]
public string OperatorAccount { get; set; }
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
namespace Stripe.Terminal
{
using System;
using Newtonsoft.Json;

public class LocationListOptions : ListOptions
{

[Obsolete("This feature has been deprecated and should not be used moving forward.")]
[JsonProperty("operator_account")]
public string OperatorAccount { get; set; }
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
namespace Stripe.Terminal
{
using System;
using Newtonsoft.Json;

public class LocationSharedOptions : BaseOptions
Expand All @@ -10,6 +11,7 @@ public class LocationSharedOptions : BaseOptions
[JsonProperty("display_name")]
public string DisplayName { get; set; }

[Obsolete("This feature has been deprecated and should not be used moving forward.")]
[JsonProperty("operator_account")]
public string OperatorAccount { get; set; }
}
Expand Down
2 changes: 2 additions & 0 deletions src/Stripe.net/Services/Terminal/Readers/ReaderListOptions.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
namespace Stripe.Terminal
{
using System;
using Newtonsoft.Json;

public class ReaderListOptions : ListOptions
{
[JsonProperty("location")]
public string Location { get; set; }

[Obsolete("This feature has been deprecated and should not be used moving forward.")]
[JsonProperty("operator_account")]
public string OperatorAccount { get; set; }
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
namespace Stripe.Terminal
{
using System;
using Newtonsoft.Json;

public class ReaderSharedOptions : BaseOptions
{
[JsonProperty("label")]
public string Label { get; set; }

[Obsolete("This feature has been deprecated and should not be used moving forward.")]
[JsonProperty("operator_account")]
public string OperatorAccount { get; set; }
}
Expand Down

0 comments on commit f42d4a0

Please sign in to comment.