forked from LiveCarta/PayPal-PHP-SDK
Deprecting setCredential method
This commit is contained in:
@@ -5,7 +5,7 @@ V0.6.0 (April 26, 2013)
|
|||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
* Adding support for dynamic configuration of SDK (Upgrading sdk-core-php dependency to V1.4.0)
|
* Adding support for dynamic configuration of SDK (Upgrading sdk-core-php dependency to V1.4.0)
|
||||||
* Changing resource class methods to take an ApiContext argument instead of a OauthTokenCredential argument.
|
* Deprecating the setCredential method and changing resource class methods to take an ApiContext argument instead of a OauthTokenCredential argument.
|
||||||
|
|
||||||
V0.5.0 (March 07, 2013)
|
V0.5.0 (March 07, 2013)
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|||||||
@@ -12,6 +12,10 @@ class CreditCard extends Resource implements IResource {
|
|||||||
|
|
||||||
private static $credential;
|
private static $credential;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @deprected. Pass ApiContext to create/get methods instead
|
||||||
|
*/
|
||||||
public static function setCredential($credential) {
|
public static function setCredential($credential) {
|
||||||
self::$credential = $credential;
|
self::$credential = $credential;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,6 +12,10 @@ class Payment extends Resource implements IResource {
|
|||||||
|
|
||||||
private static $credential;
|
private static $credential;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @deprected. Pass ApiContext to create/get methods instead
|
||||||
|
*/
|
||||||
public static function setCredential($credential) {
|
public static function setCredential($credential) {
|
||||||
self::$credential = $credential;
|
self::$credential = $credential;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,7 +11,11 @@ use PayPal\Rest\ApiContext;
|
|||||||
class Refund extends Resource implements IResource {
|
class Refund extends Resource implements IResource {
|
||||||
|
|
||||||
private static $credential;
|
private static $credential;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @deprected. Pass ApiContext to the get method instead
|
||||||
|
*/
|
||||||
public static function setCredential($credential) {
|
public static function setCredential($credential) {
|
||||||
self::$credential = $credential;
|
self::$credential = $credential;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,6 +12,10 @@ class Sale extends Resource implements IResource {
|
|||||||
|
|
||||||
private static $credential;
|
private static $credential;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @deprected. Pass ApiContext to refund/get methods instead
|
||||||
|
*/
|
||||||
public static function setCredential($credential) {
|
public static function setCredential($credential) {
|
||||||
self::$credential = $credential;
|
self::$credential = $credential;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user