getInvoicePdf() 공개 정적인 메소드

Retrieve the PDF version of an invoice
public static getInvoicePdf ( $invoiceNumber, $locale = null, $client = null )
예제 #1
0
 public function testGetInvoicePdf()
 {
     $result = Recurly_Invoice::getInvoicePdf('abcdef1234567890', 'en-GB', $this->client);
     $this->assertEquals(array('/invoices/abcdef1234567890', 'en-GB'), $result);
 }
예제 #2
0
 /**
  * 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);
 }