Skip to content

Commit

Permalink
Remove deprecated fields
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-stripe committed May 13, 2020
1 parent 5547a3f commit e560a24
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ public class AccountBusinessProfileOptions : INestedOptions
[JsonProperty("name")]
public string Name { get; set; }

[Obsolete("Use AccountSettingsBrandingOptions.PrimaryColor instead.")]
[JsonProperty("primary_color")]
public string PrimaryColor { get; set; }

/// <summary>
/// Internal-only description of the product sold by, or service provided by, the business.
/// Used by Stripe for risk and underwriting purposes.
Expand Down
4 changes: 0 additions & 4 deletions src/Stripe.net/Services/CreditNotes/CreditNoteLineOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ public class CreditNoteLineOptions : INestedOptions, IHasMetadata
[JsonProperty("invoice_line_item")]
public string InvoiceLineItem { get; set; }

[Obsolete("This parameter is not supported.")]
[JsonProperty("metadata")]
public Dictionary<string, string> Metadata { get; set; }

/// <summary>
/// The line item quantity to credit.
/// </summary>
Expand Down

0 comments on commit e560a24

Please sign in to comment.