public function testGetInvoicePdf() { $result = Recurly_Invoice::getInvoicePdf('abcdef1234567890', 'en-GB', $this->client); $this->assertEquals(array('/invoices/abcdef1234567890', 'en-GB'), $result); }
/** * Retrieve the PDF version of this invoice */ public function getPdf($locale = null) { return Recurly_Invoice::getInvoicePdf($this->invoiceNumberWithPrefix(), $locale, $this->_client); }
/** * Retrieve the PDF version of this invoice */ public function getPdf($locale = null) { return Recurly_Invoice::getInvoicePdf($this->invoice_number, $locale, $this->_client); }