Braintree.CustomerGateway.Find C# (CSharp) Method

Find() public method

public Find ( string Id ) : Braintree.Customer
Id string
return Braintree.Customer
        public virtual Customer Find(string Id)
        {
            if(Id == null || Id.Trim().Equals(""))
                throw new NotFoundException();

            XmlNode customerXML = service.Get(service.MerchantPath() + "/customers/" + Id);

            return new Customer(new NodeWrapper(customerXML), gateway);
        }