Code to generate a shipping method renderer