public function set_service_schemas_validator(WC_Connect_Service_Schemas_Validator $validator) { $this->service_schemas_validator = $validator; }