This is a like-new Omron E3K-R10K4-NR Photoelectric Switch / Sensor for a gate opener. Everything pictured is included. A repairman charged me for a new sensor but it was the motherboard that needed replacing. This sensor works like new.
Google B008EKEBSK for specs on this item. It’s $150+ from that store.