/** * @param string $email * @param Client $client * @param Proxy $proxy */ public function __construct($email, Client $client, Proxy $proxy) { parent::__construct($client, $proxy); $this->setParamValue(ContactResponse::FIELD_EMAIL, $email); }
/** * @param int $phoneNumber * @param Client $client * @param Proxy $proxy */ public function __construct($phoneNumber, Client $client, Proxy $proxy) { parent::__construct($client, $proxy); $this->setParamValue(ContactResponse::FIELD_PHONE_NUMBER, $phoneNumber); }