Once your customer has regsitered on your site and you have changed the user role type, the next step is to configure your discount codes or prices and apply them to this specific user role.
Please take a look at the following articles for help and advice on setting up discount codes. Please make sure however when you need to set them to apply to a membership role you choose 'Trade Customer'