The USB-C port is on a separately replaceable board; battery and rear-camera guides cover distinct faults.
What to check before buying
Charging board
iFixit calls the USB-C part a daughterboard or sub-board. The guide suggests clearing debris before attributing intermittent charging to the board.
Cameras and battery
The rear wide, ultrawide and telephoto cameras can be addressed individually or together. The battery has its own procedure, separate from the board.