forked from LiveCarta/PayPal-PHP-SDK
Added missing apiContext arg
This commit is contained in:
@@ -184,7 +184,7 @@ class Refund extends Resource implements IResource {
|
||||
* @param string $refundid
|
||||
* @param PayPal\Rest\ApiContext $apiContext optional
|
||||
*/
|
||||
public static function get( $refundid) {
|
||||
public static function get( $refundid, $apiContext=null) {
|
||||
if (($refundid == null) || (strlen($refundid) <= 0)) {
|
||||
throw new \InvalidArgumentException("refundid cannot be null or empty");
|
||||
}
|
||||
@@ -203,4 +203,4 @@ class Refund extends Resource implements IResource {
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user