/** * 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; } }
/** * 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; } }
/** * Construct class and set dependencies * @param devdk\Economics\Client $client */ public function __construct(Client $client) { $this->client = $client->getClient(); $this->client_raw = $client; }
/** * 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; }
public function __construct(Client $client, $subscriptionHandle) { $this->client = $client->getClient(); $this->client_raw = $client; $this->subscriptionHandle = $subscriptionHandle; }