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

Sanitize files #1304

Merged
merged 3 commits into from
Sep 28, 2018
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
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ Please only file issues here that you believe represent actual bugs or feature r

If you're having general trouble with your Stripe integration, please reach out to Stripe support using the form at https://support.stripe.com/ (preferred) or via email to support@stripe.com.

If you are reporting a bug, please include your OS version, .NET version and the version of the Stripe.net library you're using, as well as any other details that may be helpful in reproducing the problem.
If you are reporting a bug, please include your OS version, .NET version and the version of the Stripe.net library you're using, as well as any other details that may be helpful in reproducing the problem.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
project.lock.json

.DS_Store
.idea/
.idea/
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -199,4 +199,4 @@
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,4 @@ var chargesYesterday = chargeService.List(new ChargeListOptions {

We welcome contributions from anyone interested in Stripe or Stripe.net development. If you'd like to submit a pull request, it's best to start with an issue to describe what you'd like to build.

Once you've written your pull request, **please make sure you test your changes**.
Once you've written your pull request, **please make sure you test your changes**.
1 change: 0 additions & 1 deletion src/Stripe.net.sln
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26430.4
Expand Down
2 changes: 1 addition & 1 deletion src/Stripe.net/Constants/AccountType.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
public static class AccountType
{
Expand Down
4 changes: 2 additions & 2 deletions src/Stripe.net/Constants/BankAccountHolderType.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
namespace Stripe
namespace Stripe
{
public static class BankAccountHolderType
{
public const string Individual = "individual";
public const string Company = "company";
}
}
}
2 changes: 1 addition & 1 deletion src/Stripe.net/Constants/Events.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
using System;

Expand Down
4 changes: 2 additions & 2 deletions src/Stripe.net/Constants/FilePurpose.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
public static class FilePurpose
{
Expand All @@ -10,4 +10,4 @@ public static class FilePurpose
public const string PaymentProviderTransfer = "payment_provider_transfer";
public const string ProductFeed = "product_feed";
}
}
}
4 changes: 2 additions & 2 deletions src/Stripe.net/Constants/PlanIntervals.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
public static class PlanIntervals
{
Expand All @@ -7,4 +7,4 @@ public static class PlanIntervals
public const string Month = "month";
public const string Year = "year";
}
}
}
4 changes: 2 additions & 2 deletions src/Stripe.net/Constants/RefundReasons.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
public static class RefundReasons
{
Expand All @@ -7,4 +7,4 @@ public static class RefundReasons
public const string Fraudulent = "fraudulent";
public const string RequestedByCustomer = "requested_by_customer";
}
}
}
2 changes: 1 addition & 1 deletion src/Stripe.net/Constants/SourceFlow.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
public static class SourceFlow
{
Expand Down
2 changes: 1 addition & 1 deletion src/Stripe.net/Constants/SourceType.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
public static class SourceType
{
Expand Down
2 changes: 1 addition & 1 deletion src/Stripe.net/Constants/SourceUsage.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
public static class SourceUsage
{
Expand Down
2 changes: 1 addition & 1 deletion src/Stripe.net/Constants/SubscriptionStatuses.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
public static class SubscriptionStatuses
{
Expand Down
4 changes: 2 additions & 2 deletions src/Stripe.net/Constants/TransferFailureCodes.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
public static class TransferFailureCodes
{
Expand All @@ -13,4 +13,4 @@ public static class TransferFailureCodes
public const string BankAccountRestricted = "bank_account_restricted";
public const string InvalidCurrency = "invalid_currency";
}
}
}
2 changes: 1 addition & 1 deletion src/Stripe.net/Constants/TransferMethod.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
public static class TransferMethod
{
Expand Down
2 changes: 1 addition & 1 deletion src/Stripe.net/Entities/Account.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
using System;
using System.Collections.Generic;
Expand Down
2 changes: 1 addition & 1 deletion src/Stripe.net/Entities/AccountVerification.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
using System;
using Newtonsoft.Json;
Expand Down
4 changes: 2 additions & 2 deletions src/Stripe.net/Entities/AdditionalOwners.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
using Newtonsoft.Json;

Expand All @@ -19,4 +19,4 @@ public class AdditionalOwners : StripeEntity
[JsonProperty("verification")]
public LegalEntityVerification LegalEntityVerification { get; set; }
}
}
}
2 changes: 1 addition & 1 deletion src/Stripe.net/Entities/Address.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
using Newtonsoft.Json;

Expand Down
2 changes: 1 addition & 1 deletion src/Stripe.net/Entities/Application.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
using Newtonsoft.Json;

Expand Down
4 changes: 2 additions & 2 deletions src/Stripe.net/Entities/ApplicationFee.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
using System;
using Newtonsoft.Json;
Expand Down Expand Up @@ -111,4 +111,4 @@ internal object InternalOriginatingTransaction
[JsonProperty("refunds")]
public StripeList<ApplicationFeeRefund> ApplicationFeeRefundList { get; set; }
}
}
}
2 changes: 1 addition & 1 deletion src/Stripe.net/Entities/ApplicationFeeRefund.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
using System;
using System.Collections.Generic;
Expand Down
2 changes: 1 addition & 1 deletion src/Stripe.net/Entities/Balance.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
using System.Collections.Generic;
using Newtonsoft.Json;
Expand Down
4 changes: 2 additions & 2 deletions src/Stripe.net/Entities/BalanceAmount.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
using System.Collections.Generic;
using Newtonsoft.Json;
Expand All @@ -14,4 +14,4 @@ public class BalanceAmount : StripeEntity
[JsonProperty("source_types")]
public Dictionary<string, long> SourceTypes { get; set; }
}
}
}
2 changes: 1 addition & 1 deletion src/Stripe.net/Entities/BalanceTransaction.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
using System;
using System.Collections.Generic;
Expand Down
2 changes: 1 addition & 1 deletion src/Stripe.net/Entities/BankAccount.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
using System;
using System.Collections.Generic;
Expand Down
2 changes: 1 addition & 1 deletion src/Stripe.net/Entities/BirthDay.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
using Newtonsoft.Json;

Expand Down
4 changes: 2 additions & 2 deletions src/Stripe.net/Entities/Card.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
using System.Collections.Generic;
using Newtonsoft.Json;
Expand Down Expand Up @@ -145,4 +145,4 @@ internal object InternalRecipient
[JsonProperty("issuer")]
public string Issuer { get; set; }
}
}
}
2 changes: 1 addition & 1 deletion src/Stripe.net/Entities/Charge.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
using System;
using System.Collections.Generic;
Expand Down
2 changes: 1 addition & 1 deletion src/Stripe.net/Entities/ChargeLevel3LineItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ public class ChargeLevel3LineItem : StripeEntity
[JsonProperty("unit_cost")]
public int? UnitCost { get; set; }
}
}
}
4 changes: 2 additions & 2 deletions src/Stripe.net/Entities/CountrySpec.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
using System.Collections.Generic;
using Newtonsoft.Json;
Expand All @@ -23,4 +23,4 @@ public class CountrySpec : StripeEntityWithId
[JsonProperty("verification_fields")]
public Dictionary<string, Dictionary<string, List<string>>> VerificationFields { get; set; }
}
}
}
2 changes: 1 addition & 1 deletion src/Stripe.net/Entities/Coupon.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
using System;
using System.Collections.Generic;
Expand Down
2 changes: 1 addition & 1 deletion src/Stripe.net/Entities/CustomAccountKeys.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
using Newtonsoft.Json;

Expand Down
2 changes: 1 addition & 1 deletion src/Stripe.net/Entities/Customer.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
using System;
using System.Collections.Generic;
Expand Down
2 changes: 1 addition & 1 deletion src/Stripe.net/Entities/CustomerTaxInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ public class CustomerTaxInfo : StripeEntity
[JsonProperty("type")]
public string Type { get; set; }
}
}
}
2 changes: 1 addition & 1 deletion src/Stripe.net/Entities/CustomerTaxInfoVerification.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ public class CustomerTaxInfoVerification : StripeEntity
[JsonProperty("verified_name")]
public string VerifiedName { get; set; }
}
}
}
4 changes: 2 additions & 2 deletions src/Stripe.net/Entities/DeclineChargeOn.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
using Newtonsoft.Json;

Expand All @@ -10,4 +10,4 @@ public class DeclineChargeOn : StripeEntity
[JsonProperty("cvc_failure")]
public bool CvcFailure { get; set; }
}
}
}
2 changes: 1 addition & 1 deletion src/Stripe.net/Entities/DeliveryEstimate.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
using Newtonsoft.Json;

Expand Down
2 changes: 1 addition & 1 deletion src/Stripe.net/Entities/Discount.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
using System;
using Newtonsoft.Json;
Expand Down
4 changes: 2 additions & 2 deletions src/Stripe.net/Entities/Dispute.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
using System;
using System.Collections.Generic;
Expand Down Expand Up @@ -60,4 +60,4 @@ internal object InternalCharge
[JsonProperty("status")]
public string Status { get; set; }
}
}
}
2 changes: 1 addition & 1 deletion src/Stripe.net/Entities/EphemeralkeyAssociatedObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ public class EphemeralKeyAssociatedObject : StripeEntityWithId
[JsonProperty("type")]
public string Type { get; set; }
}
}
}
2 changes: 1 addition & 1 deletion src/Stripe.net/Entities/Event.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
using System;
using Newtonsoft.Json;
Expand Down
2 changes: 1 addition & 1 deletion src/Stripe.net/Entities/EventData.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
using Newtonsoft.Json;

Expand Down
2 changes: 1 addition & 1 deletion src/Stripe.net/Entities/Evidence.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
using Newtonsoft.Json;
using Stripe.Infrastructure;
Expand Down
4 changes: 2 additions & 2 deletions src/Stripe.net/Entities/EvidenceDetails.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
using System;
using Newtonsoft.Json;
Expand All @@ -19,4 +19,4 @@ public class EvidenceDetails : StripeEntity
[JsonProperty("submission_count")]
public int SubmissionCount { get; set; }
}
}
}
2 changes: 1 addition & 1 deletion src/Stripe.net/Entities/Fee.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
using Newtonsoft.Json;

Expand Down
2 changes: 1 addition & 1 deletion src/Stripe.net/Entities/File.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
using System;
using Newtonsoft.Json;
Expand Down
2 changes: 1 addition & 1 deletion src/Stripe.net/Entities/Inventory.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Stripe
namespace Stripe
{
using System;
using System.Collections.Generic;
Expand Down
Loading