...
Method Detail | Value |
---|---|
Visibility | Private |
Method Parameter | List<EnrollmentSpanDto>, Account |
Return Parameter | List<EnrollmentSpan> |
Functionality | Retrieve the enrollment spans from the list and convert them into enrollment span entities with the help of the mapper and set the account the MMS key of the enrollment span and save the enrollment span to the repository. The corresponding premium spans are also updated by invoking the methods in the premium span helper. |
Update Account Dto With Overlapping Spans
Method Detail | Value |
---|---|
Visibility | Private |
Method Parameters | AccountDto, List<EnrollmentSpanDto> (overlapping enrollment spans) |
Return Parameter | void |
Functionality | In the account dto, remove the enrollment span that matches using the enrollment span code from the overlapping enrollment span list. Once the stale enrollment spans are removed, add the overlapping enrollment span list received in the input to the account. |
Update Overlapping Enrollment Spans
Method Detail | Value |
---|---|
Visibility | Private |
Method Parameters | List<EnrollmentSpanDto> (Overlapping Enrollment Spans), LocalDate (Effective Start Date), LocalDate (Effective End Date) |
Return Parameter | List<EnrollmentSpanDto> |
Functionality | The objective of this method is to identify the overlapping enrollment spans and term or cancel them appropriately. It follows the below steps to achieve this objective.
|