Braintree.CustomerGateway.Delete C# (CSharp) Method

Delete() public method

public Delete ( string Id ) : Result
Id string
return Result
        public virtual Result<Customer> Delete(string Id)
        {
            XmlNode customerXML = service.Delete(service.MerchantPath() + "/customers/" + Id);

            return new ResultImpl<Customer>(new NodeWrapper(customerXML), gateway);
        }