forked from LiveCarta/PayPal-PHP-SDK
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user