From d34d941df2053bb325a3a2f4f4b6469e032f3140 Mon Sep 17 00:00:00 2001 From: Paul Irwin Date: Wed, 3 Dec 2014 16:52:33 -0500 Subject: [PATCH] Resolves #17 - DeleteCard/ListCards misnamed Renames DeleteCustomer to DeleteCard for card-specific action, same for ListCustomers to ListCard --- .gitignore | 1 + src/StripeClient.Cards.cs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 2895fcb..0602191 100644 --- a/.gitignore +++ b/.gitignore @@ -80,3 +80,4 @@ Generated_Code #added for RIA/Silverlight projects _UpgradeReport_Files/ Backup*/ UpgradeLog*.XML +msbuild.log diff --git a/src/StripeClient.Cards.cs b/src/StripeClient.Cards.cs index 09137ea..efefaa5 100644 --- a/src/StripeClient.Cards.cs +++ b/src/StripeClient.Cards.cs @@ -60,7 +60,7 @@ public StripeObject UpdateCard(string customerId, string cardId, CreditCard card return ExecuteObject(request); } - public StripeObject DeleteCustomer(string customerId, string cardId) + public StripeObject DeleteCard(string customerId, string cardId) { Require.Argument("customerId", customerId); Require.Argument("cardId", cardId); @@ -75,7 +75,7 @@ public StripeObject DeleteCustomer(string customerId, string cardId) return ExecuteObject(request); } - public StripeArray ListCustomers(string customerId, int? count = null, int? offset = null) + public StripeArray ListCards(string customerId, int? count = null, int? offset = null) { Require.Argument("customerId", customerId);