Add a line of business for submission

About this task

This procedure is followed by a detailed example with code that you can copy and paste into Studio to form working quick quote and full quote impls for business auto.

Procedure

  1. Create new scenarios and feature files that specify new steps.
  2. If necessary, modify the ProductCode enum so that it includes the new line of business.
    • You only need to do this once for each new line of business. If you have already done this for another job type, you do not need to do it again for submissions.
  3. If necessary, modify TagProcessorInfo so that it has a method to correctly set the product type for scenarios specific to the new line of business.
    • You only need to do this once for each new line of business. If you have already done this for another job type, you do not need to do it again for submissions.
  4. Create a new step class that provides definitions for the new step methods.
  5. If necessary, create a new LOB-specific interface/impl pair.
    • You only need to do this once for each new line of business. If you have already done this for another job type, you do not need to do it again for submissions.
  6. Create a SubmissionContextImplBase for the new line of business.
  7. Create a new impl for quick quote submissions.
  8. Create a new impl for full quote submissions.
  9. Bind the new impls to the parent interface.