POST = $POST; self::_setCompanyId(); } public function _setNaceCodes() { return ($this->NaceCodes = $this->POST['naf']); } public function _setCompanyId() { return ($this->CompanyId = $this->POST['siret']); } public function _setRegisteredName() { return ($this->RegisteredName = $this->POST['raisonSociale']); } public function _setStreet() { return ($this->Street = $this->POST['voie']); } public function _setHouseNumber() { return ($this->Building = $this->POST['numVoie']); } public function _setPostcode() { return ($this->Postcode = $this->POST['cpVille']); } public function _createObject() { self::_setCompanyId(); self::_setNaceCodes(); self::_setRegisteredName(); self::_setStreet(); self::_setHouseNumber(); self::_setPostcode(); } } ?>