Skip to content

Commit

Permalink
Move OperatorAccount to shared options
Browse files Browse the repository at this point in the history
  • Loading branch information
ithielnor committed Jan 17, 2019
1 parent 4209fc4 commit 3ef1488
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,5 @@ namespace Stripe.Terminal

public class LocationCreateOptions : LocationSharedOptions
{
[JsonProperty("operator_account")]
public string OperatorAccount { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@ public class LocationSharedOptions : BaseOptions

[JsonProperty("display_name")]
public string DisplayName { get; set; }

[JsonProperty("operator_account")]
public string OperatorAccount { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,5 @@ namespace Stripe.Terminal

public class LocationUpdateOptions : LocationSharedOptions
{
[JsonProperty("operator_account")]
public string OperatorAccount { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,5 @@ public class ReaderCreateOptions : ReaderSharedOptions

[JsonProperty("registration_code")]
public string RegistrationCode { get; set; }

[JsonProperty("operator_account")]
public string OperatorAccount { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@ public class ReaderSharedOptions : BaseOptions
{
[JsonProperty("label")]
public string Label { get; set; }

[JsonProperty("operator_account")]
public string OperatorAccount { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,5 @@ namespace Stripe.Terminal

public class ReaderUpdateOptions : ReaderSharedOptions
{
[JsonProperty("operator_account")]
public string OperatorAccount { get; set; }
}
}

0 comments on commit 3ef1488

Please sign in to comment.