How do I go about determining how to wire a breaker box in a cargo trailer
If all you are planning to do is plug it into a standard 120V receptacle then you don't need a breaker box in the trailer at all. The plug and cord are your means of disconnect.