IPolicyHeaderService¶
Contract for loading the policy header and the policy relationships from the Policy Header API. PolicyHeaderService implements it.
Purpose¶
- Supply the header shown at the top of policy pages and the associated policies for the dropdown (BR-BOLMIDDLEWARE-013).
Context¶
- Namespace:
BolMiddleware.Services.Headers.Policy - Assembly/package:
BolMiddleware
Public members¶
| Member | Signature | Purpose |
|---|---|---|
GetHeader |
PolicyHeader GetHeader(long policyNumber, long? customerId, string? userTypeCode) |
Returns the header for the policy, with associations filtered for the user type. |
GetRelationships |
List<PolicyAssociation> GetRelationships(long policyNumber) |
Returns the policies related to the given policy. |
Behavioral notes¶
- Registered as singleton.
Constraints and usage notes¶
- Callers should treat failures as possible; see the implementation page.
Sources¶
- src/BolMiddleware/Services/Headers/Policy/IPolicyHeaderService.cs