Skip to content

Commit

Permalink
Merge pull request #2001 from stripe/remi-fix-more-issues
Browse files Browse the repository at this point in the history
Remove deprecated features
  • Loading branch information
remi-stripe committed Apr 16, 2020
2 parents 4ff93af + ee83d5c commit cfd3cc9
Show file tree
Hide file tree
Showing 12 changed files with 8 additions and 49 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,10 @@ namespace Stripe

public class ChargePaymentMethodDetailsAcssDebit : StripeEntity<ChargePaymentMethodDetailsAcssDebit>
{
[JsonProperty("country")]
public string Country { get; set; }

[JsonProperty("fingerprint")]
public string Fingerprint { get; set; }

[JsonProperty("last4")]
public string Last4 { get; set; }

[JsonProperty("routing_number")]
public string RoutingNumber { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe.Checkout
{
using Newtonsoft.Json;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe.Checkout
{
using System.Collections.Generic;
using Newtonsoft.Json;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe.Checkout
{
using System.Collections.Generic;
using Newtonsoft.Json;
Expand Down
2 changes: 1 addition & 1 deletion src/Stripe.net/Entities/Reporting/ReportRuns/ReportRun.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class ReportRun : StripeEntity<ReportRun>, IHasId, IHasObject
public bool Livemode { get; set; }

[JsonProperty("parameters")]
public Parameters Parameters { get; set; }
public ReportRunParameters Parameters { get; set; }

[JsonProperty("report_type")]
public string ReportType { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace Stripe.Reporting
using Newtonsoft.Json;
using Stripe.Infrastructure;

public class Parameters : StripeEntity<Parameters>
public class ReportRunParameters : StripeEntity<ReportRunParameters>
{
[JsonProperty("columns")]
public List<string> Columns { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,13 +123,6 @@ public Customer Customer
[JsonProperty("released_subscription")]
public string ReleasedSubscriptionId { get; set; }

/// <summary>
/// Interval and duration at which the subscription schedule renews for when it ends if
/// <c>renewal_behavior</c> is <c>renew</c>.
/// </summary>
[JsonProperty("renewal_interval")]
public SubscriptionScheduleRenewalInterval RenewalInterval { get; set; }

/// <summary>
/// Possible values are <c>active</c>, <c>canceled</c>, <c>completed</c>,
/// <c>not_started</c> and <c>released</c>.
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe.Checkout
{
using System;
using Newtonsoft.Json;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe.Checkout
{
using System.Collections.Generic;
using Newtonsoft.Json;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe.Checkout
{
using System.Collections.Generic;
using Newtonsoft.Json;
Expand Down
8 changes: 0 additions & 8 deletions src/Stripe.net/Services/TaxRates/TaxRateListOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,5 @@ public class TaxRateListOptions : ListOptionsWithCreated
/// </summary>
[JsonProperty("inclusive")]
public bool? Inclusive { get; set; }

/// <summary>
/// A filter on the list based on the object <c>percentage</c> field. The value can be a
/// <see cref="decimal"/> or a <see cref="TaxRatePercentageRangeOptions"/>.
/// </summary>
[JsonProperty("percentage")]
[JsonConverter(typeof(AnyOfConverter))]
public AnyOf<decimal?, TaxRatePercentageRangeOptions> Percentage { get; set; }
}
}

0 comments on commit cfd3cc9

Please sign in to comment.