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