diff --git a/src/Stripe.net/Enums/Billing.cs b/src/Stripe.net/Enums/Billing.cs index 4ea4103c04..d3f7f6c556 100644 --- a/src/Stripe.net/Enums/Billing.cs +++ b/src/Stripe.net/Enums/Billing.cs @@ -7,9 +7,17 @@ namespace Stripe [JsonConverter(typeof(StringEnumConverter))] public enum Billing { + /// + /// When charging automatically, Stripe will attempt to pay this invoice or subscription + /// using the default source attached to the customer. + /// [EnumMember(Value = "charge_automatically")] ChargeAutomatically, + /// + /// When sending an invoice, Stripe will email your customer an invoice with payment + /// instructions. + /// [EnumMember(Value = "send_invoice")] SendInvoice, } diff --git a/src/Stripe.net/Infrastructure/Middleware/RequestStringBuilder.cs b/src/Stripe.net/Infrastructure/Middleware/RequestStringBuilder.cs index 580407ccbd..e3724e670c 100644 --- a/src/Stripe.net/Infrastructure/Middleware/RequestStringBuilder.cs +++ b/src/Stripe.net/Infrastructure/Middleware/RequestStringBuilder.cs @@ -389,14 +389,15 @@ private static string NewPrefix(string key, string keyPrefix) /// internal sealed class Parameter { - public readonly string Key; - public readonly string Value; - public Parameter(string key, string value) { this.Key = key; this.Value = value; } + + public string Key { get; } + + public string Value { get; } } } } diff --git a/src/Stripe.net/Stripe.net.csproj b/src/Stripe.net/Stripe.net.csproj index 425a4a3fc3..b33f58f910 100644 --- a/src/Stripe.net/Stripe.net.csproj +++ b/src/Stripe.net/Stripe.net.csproj @@ -22,6 +22,7 @@ true true $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb + true diff --git a/src/StripeTests/StripeTests.csproj b/src/StripeTests/StripeTests.csproj index 36d4fdb0f6..dc1485cee0 100644 --- a/src/StripeTests/StripeTests.csproj +++ b/src/StripeTests/StripeTests.csproj @@ -6,6 +6,7 @@ StripeTests StripeTests win10-x64 + true diff --git a/src/_stylecop/StyleCopRules.ruleset b/src/_stylecop/StyleCopRules.ruleset index d39c254d97..8119c5208d 100644 --- a/src/_stylecop/StyleCopRules.ruleset +++ b/src/_stylecop/StyleCopRules.ruleset @@ -1,12 +1,6 @@ - - - - -