public function createDataLocation(VentaCompletaTO $ventaCompletaTO) { $dataLocation = new Datosubicacion(); $dataLocation->setLada($ventaCompletaTO->getLada()); $dataLocation->setTelefono($ventaCompletaTO->getTelefono()); $dataLocation->setEmail($ventaCompletaTO->getEmail()); $dataLocation->setCiudad($ventaCompletaTO->getCiudad()); return $dataLocation; }