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 deprecated features #2001

Merged
merged 2 commits into from
Apr 16, 2020
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
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; }
}
}