コード例 #1
0
ファイル: Line.php プロジェクト: lizard2010/Economic-PHP-SDK
 /**
  * Construct class and set dependencies
  * @param devdk\Economics\Client $client
  */
 public function __construct(Client $client, $invoiceHandle = NULL)
 {
     $this->client = $client->getClient();
     $this->client_raw = $client;
     if ($invoiceHandle) {
         $this->invoiceHandle = $invoiceHandle;
     }
 }
コード例 #2
0
ファイル: Line.php プロジェクト: lizard2010/Economic-PHP-SDK
 /**
  * Construct class and set dependencies
  * @param devdk\Economics\Client $client
  */
 public function __construct(Client $client, $orderHandle = NULL)
 {
     $this->client = $client->getClient();
     $this->client_raw = $client;
     if ($orderHandle) {
         $this->orderHandle = $orderHandle;
     }
 }
コード例 #3
0
ファイル: Group.php プロジェクト: lizard2010/Economic-PHP-SDK
 /**
  * Construct class and set dependencies
  * @param devdk\Economics\Client $client
  */
 public function __construct(Client $client)
 {
     $this->client = $client->getClient();
     $this->client_raw = $client;
 }
コード例 #4
0
 /**
  * Construct class and set dependencies
  * @param Client $client
  * @param mixed $quotationHandle
  */
 public function __construct(Client $client, $quotationHandle = NULL)
 {
     $this->client = $client->getClient();
     $this->client_raw = $client;
     $this->quotationHandle = $quotationHandle;
 }
コード例 #5
0
 public function __construct(Client $client, $subscriptionHandle)
 {
     $this->client = $client->getClient();
     $this->client_raw = $client;
     $this->subscriptionHandle = $subscriptionHandle;
 }
コード例 #6
0
 /**
  * Book a current Invoice
  *
  * @param  integer $invoiceNumber
  * @return object
  */
 public function book($invoiceNumber)
 {
     $handle = $this->getHandle($invoiceNumber);
     $number = $this->client->CurrentInvoice_Book(['currentInvoiceHandle' => $handle])->CurrentInvoice_BookResult;
     return $number;
 }