e.g. one custom module for enterprise sales orders, another custom module for B2B sales orders etc... All of the sales order types (there are 5) have very different rules that need applying to them with the end result being a JSON object that I will send to a third party API.