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 Summary
Modifier and TypeMethodDescriptiongetBalance(String balanceId) Gets the balance for the passed balance identifieroracle.communication.brm.charging.config.balance.BalanceElementRepositorygetCustomer(String customerId) Gets the customer for the passed customer identifierGets the balance for the passed balance identifiergetProduct(String productId) Gets the product for the passed product identifierGets list of ExtensionRatedQuantity for each unique rum in the rating resultGets all the original rating periods.Method to return the sharing customer IdsMethod to return the sharing product IdsgetSubscriberPreferences(String productId, String customerId) Returns the subscriber preferences for sharing customer/product.intGet taxSupplier Id.booleanvoidsendGenericRarNotification(boolean flag) Send a "RAR_NOTIFICATION_EVENT" notification through JMS.voidsendRarForSharedBalancesNotification(boolean flag) voidsendRarNotification(boolean flag) Send a "RAR_NOTIFICATION_EVENT" notification through JMS.voidsetARPEnabled(boolean isARPEnabled) Methods inherited from interface oracle.communication.brm.charging.extensions.client.BaseRatingExtensionContext
getAbortSessionRequestSessionId, getApplicableProduct, getBalance, getBillingUnit, getCustomer, getCustomRatedEventFields, getEventZone, getPayloadMutator, getProduct, getQuotaAttributes, getSharedProfiles, getSubscriberPreferences, getTerminatingCustomer, getTerminatingCustomerProduct, getTerminatingCustomerRatingProfiles, getTerminatingProductRatingProfiles, getUsageRequest, isInConsumedRating, isMidSessionCdrConditionMet, setQuotaAttribute, setQuotaHoldingTime, setVolumeQuotaThreshold, triggerAbortSessionRequestMethods inherited from interface oracle.communication.brm.charging.extensions.framework.ExtensionContext
getConfigurationBeanRepository, getExtensionsDataRepository, getLogger, getRequestOperationsListMethods inherited from interface oracle.communication.brm.charging.extensions.client.SharingExtensionContext
getBillingUnit, getSharingBalanceIds, getSharingBillingUnitIds
-
Method Details
-
getCustomer
Gets the customer for the passed customer identifier- Specified by:
getCustomerin interfaceSharingExtensionContext- Parameters:
customerId- input customer identifier- Returns:
- returns the customer for the passed customer identifier
-
getProduct
Gets the product for the passed product identifier- Specified by:
getProductin interfaceSharingExtensionContext- Parameters:
productId- input product identifier- Returns:
- returns the product for the passed product identifier
-
getBalance
Gets the balance for the passed balance identifier- Specified by:
getBalancein interfaceSharingExtensionContext- 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
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:
getSubscriberPreferencesin interfaceSharingExtensionContext- Parameters:
productId- ID of the product for which the preferences should be fetched. If not provided, only the customer level preferences will be returnedcustomerId- 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:
getSharingCustomerIdsin interfaceSharingExtensionContext- 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:
getSharingProductIdsin interfaceSharingExtensionContext- 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. -
setARPEnabled
void setARPEnabled(boolean isARPEnabled) -
isARPEnabled
boolean isARPEnabled() -
getBalanceElementRepository
oracle.communication.brm.charging.config.balance.BalanceElementRepository getBalanceElementRepository()
-