...
Method Detail | Value |
---|---|
Visibility | Public |
Method Parameters | TransactionDto, Account, List<EnrollmentSpanDto> priorEnrollmentSpans |
Return | EnrollmentSpan |
Functionality | Below are the steps to create the enrollment span.
|
...
Method Detail | Value |
---|---|
Visibility | Public |
Method Parameters | AccountDto, TransactionDto, Account |
Return Parameter | void |
Functionality | Check if there are any enrollment spans that are being affected by add this enrollment span to the account (getOverlappingEnrollmentSpans). Update these overlapping enrollment spans as appropriate by terming or canceling them as needed. (updateOverlappingEnrollmentSpans) Update the account dto object with the enrollment spans that have been identified as overlapping and are termed or canceled (updateAccountDtoWithOverlappingSpans) Save the updated enrollment spans in the database (saveUpdatedEnrollmentSpans) Create the new enrollment span based on the information from the transaction (createEnrollmentSpan) Update the account entity with the updated and created enrollment spans. |
Cancel Premium Span
Method Detail | Value |
---|---|
Visibility | Private |
Method Parameter | PremiumSpanDto |
Return Parameter | void |
Functionality | If the premium span start date is not equal to end date or if they are equal and the status is "ACTIVE" then,
|
...