Renaming Namespaces and Organizing Classes

- Updated OpenId classes to be in API namespace
- Updated PP Naming Convention to PayPal Naming Convention
- FormatConverter Class got its own namespace
- Handlers are grouped in Handler namespace
- Samples and Tests Updated Accordingly
This commit is contained in:
japatel
2014-12-17 17:15:01 -06:00
parent 20038e7525
commit 29a8d8f50d
246 changed files with 1068 additions and 1057 deletions

View File

@@ -3,11 +3,11 @@
namespace PayPal\Exception;
/**
* Class PPConfigurationException
* Class PayPalConfigurationException
*
* @package PayPal\Exception
*/
class PPConfigurationException extends \Exception
class PayPalConfigurationException extends \Exception
{
/**
@@ -20,4 +20,4 @@ class PPConfigurationException extends \Exception
{
parent::__construct($message, $code);
}
}
}

View File

@@ -3,11 +3,11 @@
namespace PayPal\Exception;
/**
* Class PPConnectionException
* Class PayPalConnectionException
*
* @package PayPal\Exception
*/
class PPConnectionException extends \Exception
class PayPalConnectionException extends \Exception
{
/**
* The url that was being connected to when the exception occured
@@ -65,4 +65,4 @@ class PPConnectionException extends \Exception
{
return $this->url;
}
}
}

View File

@@ -3,11 +3,11 @@
namespace PayPal\Exception;
/**
* Class PPInvalidCredentialException
* Class PayPalInvalidCredentialException
*
* @package PayPal\Exception
*/
class PPInvalidCredentialException extends \Exception
class PayPalInvalidCredentialException extends \Exception
{
/**
@@ -33,4 +33,4 @@ class PPInvalidCredentialException extends \Exception
return $errorMsg;
}
}
}

View File

@@ -3,11 +3,11 @@
namespace PayPal\Exception;
/**
* Class PPMissingCredentialException
* Class PayPalMissingCredentialException
*
* @package PayPal\Exception
*/
class PPMissingCredentialException extends \Exception
class PayPalMissingCredentialException extends \Exception
{
/**
@@ -34,4 +34,4 @@ class PPMissingCredentialException extends \Exception
return $errorMsg;
}
}
}