lib/Braintree/AddressGateway.php
private function _determineCustomerId($customerOrId)
    {
        $customerId = ($customerOrId instanceof Customer) ? $customerOrId->id : $customerOrId;
        $this->_validateCustomerId($customerId);
        return $customerId;

    }
private function _determineCustomerId($customerOrId)
    {
        $customerId = ($customerOrId instanceof Customer) ? $customerOrId->id : $customerOrId;
        $this->_validateCustomerId($customerId);
        return $customerId;

    }
private function _determineCustomerId ( $ customerOrId ) { $ customerId = ( $ customerOrId instanceof Customer ) ? $ customerOrId -> id : $ customerOrId ; $ this -> _validateCustomerId ( $ customerId ) ; return $ customerId ; }
determines if a string id or Customer object was passed
@ignore
@param mixed $customerOrId
@return string customerId
determines if a string id or Customer object was passed