コード例 #1
0
        /// <summary>
        /// Remove commented [Test] and run this method to delete all customers from Braintree
        /// </summary>
        //[Test]
        public void DeleteAllCustomers()
        {
            var customers = _braintreeCustomerApiService.GetAll();

            foreach (var customer in customers)
            {
                _braintreeCustomerApiService.Delete(((Customer)customer).Id);
            }
        }