Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove obsolete fields #1852

Merged
merged 1 commit into from
Nov 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions src/Stripe.net/Entities/Issuing/Cardholders/Cardholder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,6 @@ public class Cardholder : StripeEntity<Cardholder>, IHasId, IHasMetadata, IHasOb
[JsonProperty("name")]
public string Name { get; set; }

[Obsolete("Use PhoneNumber instead")]
[JsonIgnore]
public string PhonNumber
{
get => this.PhoneNumber;
set => this.PhoneNumber = value;
}

/// <summary>
/// The cardholder’s phone number.
/// </summary>
Expand Down
4 changes: 0 additions & 4 deletions src/Stripe.net/Services/Persons/PersonSharedOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,6 @@ public abstract class PersonSharedOptions : BaseOptions, IHasMetadata
[JsonProperty("person_token")]
public string PersonToken { get; set; }

[Obsolete("This field was never supported. Use IdNumber instead")]
[JsonProperty("personal_id_number")]
public string PersonalIdNumber { get; set; }

/// <summary>
/// The person’s phone number.
/// </summary>
Expand Down