Interface UcUsageVolumeProductService

All Known Implementing Classes:
DefaultUcUsageVolumeProductService

@Deprecated(since="2208") public interface UcUsageVolumeProductService
Deprecated.
2208
Service responsible for handling UcUsageVolumeProductModel related operations.
Since:
2108
  • Method Details

    • getUsageVolumeProducts

      List<UcUsageVolumeProductModel> getUsageVolumeProducts(UcUsageVolumeProductContext ucUsageVolumeProductContext, Integer offset, Integer limit)
      Deprecated.
      Retrieves a list of UcUsageVolumeProductModel for a given context.
      Parameters:
      ucUsageVolumeProductContext - the context.
      offset - the offset.
      limit - the maximum number of returned usage volume products.
      Returns:
      the list of usage volume products found for the given context.
    • getNumberOfUsageVolumeProductFor

      Integer getNumberOfUsageVolumeProductFor(UcUsageVolumeProductContext ucUsageVolumeProductContext)
      Deprecated.
      Retrieves the total number of usage volume products found for a given context.
      Parameters:
      ucUsageVolumeProductContext - the context.
      Returns:
      the number of usage volume products found.
    • getMostRecentDate

      Date getMostRecentDate(List<UcUsageVolumeProductModel> usageVolumeProducts)
      Deprecated.
      Retrieves the most recent effective date from ConsumptionSummaries attached on UsageVolumeProducts
      Parameters:
      usageVolumeProducts - the list of usage volume products
      Returns:
      the most recent effective date