Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 2
Next »
Methods
Save Enrollment Span
Method Details | Value |
---|
Visibility | Public |
Method Parameters | AccountDto |
Return Value | void |
Functionality | Check if the account dto object received as input contains any enrollment span that needs to be saved. If there are enrollment spans present in the account then iterate through the list and perform the below steps for each enrollment span. Check if primary key for the enrollment span is present, if it is not present, then create the enrollment span. If the primary key is present, then its an existing enrollment span, check if the enrollment span data was updated, if it is updated then perform the below steps Set the account key in the enrollment span Update the enrollment span detail in the database Check if any new premium spans have to be created or updated, if there are any, then create or update them as necessary
If the enrollment span was not updated, then check if premium spans are updated, if it is updated then save the updated premium spans.
|
Get Matching Enrollment Span
Method Detail | Value |
---|
Visibility | Public |
Method Parameters | String (Exchange Subscriber Id), String (State Type Code) |
Return Value | List<EnrollmentSpan> |
Functionality | Use the enrollment span repository instance to get the enrollment spans from the repository that matches the exchange subscriber Id and the state type code. |