Skip to main content

Customers

The Customer Service is the "Source of Truth" for all customer-related data including contact information, support details, and account hierarchy.

Functional Overview

  • Contact Management: Storing and managing various roles for customer contacts (Billing, Technical, Admin).
  • Account Relationships: Defining parent-child relationships between different customer entities.
  • Audit Tracking: Uses Envers for detailed revision history of customer changes.

Major Code Modules (com.sureink.customer)

  • controller: CustomerControllerService and CustomerUpdateControllerService for managing profiles.
  • service: Core logic for searching and managing customer records (CustomerService).
  • report: Specialized helpers for generating customer-centric reports (AccountAndContactsReportHelper).
  • event: Handling lifecycle events such as CustomerCreated or CustomerUpdated.

Linkages and References

  • Consumer: This service is heavily consumed by CloudMsaApplication when creating new subscriptions.
  • Syncer: Receives data updates from the Connector (Salesforce sync) and User Management (Registration).