A valve assembly comprising: a valve body that houses a valve component for controlling a flow of fluid through the valve body; and at least one solenoid component (14a, 14b) that controls operation of the valve component; wherein the at least one solenoid component (14a, 14b) comprises a connector cap (36a, 36b) that is attached to a solenoid base (38a, 38b), the connector cap (36a, 36b) having a plurality of electrical connection openings (40a, 40b, 42a, 42b) including a first electrical connection opening (40a, 40b) and a second electrical connection opening (42a, 42b) that are oriented at different directions relative to each other, and the first and second electrical connection openings are configurable at multiple orientations corresponding to different directions of electrical connection paths with the solenoid component; wherein the at least one solenoid component (14a, 14b) is rotatable about a longitudinal axis of the at least one solenoid component relative to the valve body to configure the first and second electrical connection openings (40a, 40b, 42a, 42b) at one of multiple first orientations, wherein each of the multiple first orientations corresponds to a rotational position of the at least one solenoid component relative to the valve body; characterised in that the connector cap is rotatable about a transverse axis of the at least one solenoid component relative to the solenoid base to configure the first and second electrical connection openings (40a, 40b, 42a, 42b) at one of multiple second orientations, wherein each of the multiple second orientations corresponds to a rotational position of the connector cap (36a, 36b) relative to the solenoid base (38a, 38b). a valve body that houses a valve component for controlling a flow of fluid through the valve body; and at least one solenoid component (14a, 14b) that controls operation of the valve component; wherein the at least one solenoid component (14a, 14b) comprises a connector cap (36a, 36b) that is attached to a solenoid base (38a, 38b), the connector cap (36a, 36b) having a plurality of electrical connection openings (40a, 40b, 42a, 42b) including a first electrical connection opening (40a, 40b) and a second electrical connection opening (42a, 42b) that are oriented at different directions relative to each other, and the first and second electrical connection openings are configurable at multiple orientations corresponding to different directions of electrical connection paths with the solenoid component; wherein the at least one solenoid component (14a, 14b) is rotatable about a longitudinal axis of the at least one solenoid component relative to the valve body to configure the first and second electrical connection openings (40a, 40b, 42a, 42b) at one of multiple first orientations, wherein each of the multiple first orientations corresponds to a rotational position of the at least one solenoid component relative to the valve body; characterised in that the connector cap is rotatable about a transverse axis of the at least one solenoid component relative to the solenoid base to configure the first and second electrical connection openings (40a, 40b, 42a, 42b) at one of multiple second orientations, wherein each of the multiple second orientations corresponds to a rotational position of the connector cap (36a, 36b) relative to the solenoid base (38a, 38b).