This class should be named InvoicepdfOxOrder, and file should be named invoicepdfoxorder.php, as it is extending oxorder class.