Documentation Updates and Minor Refactoring

- Updated README and Release Notes
- Updated PayPal Constant to reflect latest release
This commit is contained in:
japatel
2015-01-08 22:26:26 -06:00
parent 0b43d599c4
commit 88aac05f04
5 changed files with 81 additions and 19 deletions

View File

@@ -14,6 +14,24 @@ class PayPalModel
private $_propMap = array();
/**
* OAuth Credentials to use for this call
*
* @var \PayPal\Auth\OAuthTokenCredential $credential
*/
protected static $credential;
/**
* Sets Credential
*
* @deprecated Pass ApiContext to create/get methods instead
* @param \PayPal\Auth\OAuthTokenCredential $credential
*/
public static function setCredential($credential)
{
self::$credential = $credential;
}
/**
* Default Constructor
*

View File

@@ -17,24 +17,6 @@ use PayPal\Transport\PayPalRestCall;
class PayPalResourceModel extends PayPalModel implements IResource
{
/**
* OAuth Credentials to use for this call
*
* @var \PayPal\Auth\OAuthTokenCredential $credential
*/
protected static $credential;
/**
* Sets Credential
*
* @deprecated Pass ApiContext to create/get methods instead
* @param \PayPal\Auth\OAuthTokenCredential $credential
*/
public static function setCredential($credential)
{
self::$credential = $credential;
}
/**
* Sets Links
*

View File

@@ -12,7 +12,7 @@ class PayPalConstants
{
const SDK_NAME = 'PayPal-PHP-SDK';
const SDK_VERSION = '1.0.0-beta';
const SDK_VERSION = '1.0.0';
/**
* Approval URL for Payment