Exemplo n.º 1
0
 /**
  * 
  * @param int $id
  * @return InvoiceBill
  * @throws IfirmaException
  */
 public static function get($id)
 {
     $bill = new InvoiceBillResponse();
     $bill->disableSendMethod();
     ConnectorAbstract::factory($bill)->receive($id);
     return $bill;
 }
Exemplo n.º 2
0
 /**
  * 
  * @param int $id
  * @return InvoiceBill
  * @throws IfirmaException
  */
 public static function get($id)
 {
     require_once dirname(__FILE__) . '/InvoiceBillResponse.php';
     $bill = new InvoiceBillResponse();
     $bill->disableSendMethod();
     ConnectorAbstract::factory($bill)->receive($id);
     return $bill;
 }