Skip to content

Commit

Permalink
Merge pull request #1637 from stripe/remi-add-changes
Browse files Browse the repository at this point in the history
Add support for `location` on `ConnectionToken`
  • Loading branch information
remi-stripe authored Jun 6, 2019
2 parents 94f3d56 + bf77031 commit e8dc992
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ public class ConnectionToken : StripeEntity, IHasObject
[JsonProperty("object")]
public string Object { get; set; }

[JsonProperty("location")]
public string LocationId { get; set; }

[JsonProperty("secret")]
public string Secret { get; set; }
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ namespace Stripe.Terminal

public class ConnectionTokenCreateOptions : BaseOptions
{
[JsonProperty("location")]
public string LocationId { 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 e8dc992

Please sign in to comment.