Interface ServiceModule

All Superinterfaces:
BaseModule
All Known Implementing Classes:
PCMServiceModule

public interface ServiceModule extends BaseModule
  • Method Details

    • getAccountServicesCount

      List<ServicesByPurchase> getAccountServicesCount(String accountId)
      Retrieves services of given account with count
      Parameters:
      accountId - Account number for which services need to be retrieved
      Returns:
      collection of ServicesByPurchase
    • getLifeCycleStates

      LifeCycleStates getLifeCycleStates()
      Retrieves the life cycle states and their allowed state transitions from the lifecycle state object
      Returns:
      LifeCycleStates object
    • getFriendlyNamesServiceMapping

      List<ServiceDetails> getFriendlyNamesServiceMapping()
      Retrieves the service type - service friendly names from BRM For ex : "/service/provider => remittance definition"
      Returns:
      List of ServiceDetails payload which comprises of service type and its friendly names respectively
    • getServiceProfile

      ServiceProfile getServiceProfile(String serviceId)
      Retrieves the service profile details based on the service profile configurations.
      Parameters:
      serviceId -
      Returns:
      ServiceProfile
    • updateServiceProfile

      void updateServiceProfile(UpdateServiceProfile serviceProfile)
      Updates service details and profile details.
      Parameters:
      serviceProfile - payload that holds both serviceType and profileType objects.
    • updateServiceAndEras

      void updateServiceAndEras(UpdateServiceAndEras updateServiceAndEras)
      Updates service details like login id & the ERA's associated with the service
      Parameters:
      updateServiceAndEras - payload that holds both service and the associated eras.