forked from LiveCarta/PayPal-PHP-SDK
Documentation Updates and Minor Refactoring
- Updated README and Release Notes - Updated PayPal Constant to reflect latest release
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
||||
@@ -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
|
||||
*
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user