Awesome deal!
I think that might be the right buttonhole attachment for that machine. Seems like the ones in the black, red, or green cases were for the earlier black machines.
Excepting for whether they are for a slant bar or for a straight bar, Singer buttonhole attachments that take the cams are pretty much all identical once you take off the outer shell.