Correct coding for solvePnP method, four points

Hi, i’ve been using solvePNP so far and want to try specifying my method from the default to P3P but to 4 points. I understand that it requires a change in the method parameter I just need some help with an example to change the code below to meet this need(version opencv 4 +).

solvePnP(object_points, image_points, cam_intrinsic, distCoeffs, rvec, tvec, false, SOLVEPNP_P3P);