uriForInvoice() 보호된 정적인 메소드

protected static uriForInvoice ( $invoiceNumber )
예제 #1
0
 protected function uri()
 {
     if (!empty($this->_href)) {
         return $this->getHref();
     } else {
         if (!empty($this->invoice_number)) {
             return Recurly_Invoice::uriForInvoice($this->invoice_number);
         } else {
             throw new Recurly_Error("Invoice number not specified");
         }
     }
 }
예제 #2
0
 protected function uri() {
   $invoiceNumberWithPrefix = $this->invoiceNumberWithPrefix();
   if (!empty($this->_href))
     return $this->getHref();
   else if (!empty($invoiceNumberWithPrefix))
     return Recurly_Invoice::uriForInvoice($invoiceNumberWithPrefix);
   else
     throw new Recurly_Error("Invoice number not specified");
 }