The cord connector body is attached to the end of the wire and can be used in conjunction with plugs.
This device connects to the devices side electrical inlet to provide power.
American Electric Cord Connector Body 15A Series has a wide variety of ratings and variations, so you can choose to suit your needs.