public static function getAll($param, $apiContext = null)
    {
        if (isset($apiContext)) {
            return Payment::all($param, $apiContext);
        }
        return Payment::all($param);
    }
public static function getAll($param, $apiContext = null)
    {
        if (isset($apiContext)) {
            return Payment::all($param, $apiContext);
        }
        return Payment::all($param);
    }
public static function getAll ( $ param , $ apiContext = null ) { if ( isset ( $ apiContext ) ) { return Payment :: all ( $ param , $ apiContext ) ; } return Payment :: all ( $ param ) ; }
grape all payment details
@param $param
@param null $apiContext
@return \PayPal\Api\Payment
grape all payment details