Interface PostRatingChargingExtensionContext

All Superinterfaces:
BaseRatingExtensionContext, ExtensionContext, SharingExtensionContext
All Known Subinterfaces:
PostChargingExtensionContext, PostRatingExtensionContext

public interface PostRatingChargingExtensionContext extends BaseRatingExtensionContext, SharingExtensionContext
This interface provides access to rating APIs needed by post rating and charging customization.
Since:
11.2.0.7.0
  • Method Details

    • getCustomer

      ExtensionCustomer getCustomer(String customerId)
      Gets the customer for the passed customer identifier
      Specified by:
      getCustomer in interface SharingExtensionContext
      Parameters:
      customerId - input customer identifier
      Returns:
      returns the customer for the passed customer identifier
    • getProduct

      ExtensionProduct getProduct(String productId)
      Gets the product for the passed product identifier
      Specified by:
      getProduct in interface SharingExtensionContext
      Parameters:
      productId - input product identifier
      Returns:
      returns the product for the passed product identifier
    • getBalance

      ExtensionBalance getBalance(String balanceId)
      Gets the balance for the passed balance identifier
      Specified by:
      getBalance in interface SharingExtensionContext
      Parameters:
      balanceId - input balance identifier
      Returns:
      returns the balance for the passed product identifier
    • getImpactedBalance

      Map<String,ExtensionBalance> getImpactedBalance()
      Gets the balance for the passed balance identifier
      Returns:
      returns tall Impacted balance
    • getRatingPeriods

      Collection<ExtensionRatingPeriod> getRatingPeriods()
      Gets all the original rating periods. Key - original rating period identifier as the key Value - rating period
      Returns:
      returns the map of the original ECE rating periods
    • getTaxSupplierId

      int getTaxSupplierId()
      Get taxSupplier Id. Default is 0, if there is no tax supplier id
      Returns:
      returns the tax supplier Id
    • getRatedQuantityPerRum

      List<ExtensionRatedQuantity> getRatedQuantityPerRum()
      Gets list of ExtensionRatedQuantity for each unique rum in the rating result
      Returns:
      Gets list of ExtensionRatedQuantity for each unique rum in the rating result
      See Also:
    • getSubscriberPreferences

      Map<String,String> getSubscriberPreferences(String productId, String customerId)
      Returns the subscriber preferences for sharing customer/product. If the product ID is provided, the product level subscriber preferences take precedence over the customer level preferences
      Specified by:
      getSubscriberPreferences in interface SharingExtensionContext
      Parameters:
      productId - ID of the product for which the preferences should be fetched. If not provided, only the customer level preferences will be returned
      customerId - ID of the customer for which the preferences should be fetched
      Returns:
      subscriber preferences
    • getSharingCustomerIds

      Collection<String> getSharingCustomerIds()
      Method to return the sharing customer Ids
      Specified by:
      getSharingCustomerIds in interface SharingExtensionContext
      Returns:
      the sharing customer Ids, empty is there are no sharing customers
    • getSharingProductIds

      Collection<String> getSharingProductIds()
      Method to return the sharing product Ids
      Specified by:
      getSharingProductIds in interface SharingExtensionContext
      Returns:
      the sharing product Ids, empty is there are no sharing products
    • sendRarNotification

      void sendRarNotification(boolean flag)
      Send a "RAR_NOTIFICATION_EVENT" notification through JMS.
    • sendGenericRarNotification

      void sendGenericRarNotification(boolean flag)
      Send a "RAR_NOTIFICATION_EVENT" notification through JMS.
    • sendRarForSharedBalancesNotification

      void sendRarForSharedBalancesNotification(boolean flag)
    • setARPEnabled

      void setARPEnabled(boolean isARPEnabled)
    • isARPEnabled

      boolean isARPEnabled()
    • getBalanceElementRepository

      oracle.communication.brm.charging.config.balance.BalanceElementRepository getBalanceElementRepository()