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.BalanceElementRepository
getCustomer
(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.int
Get taxSupplier Id.boolean
void
sendGenericRarNotification
(boolean flag) Send a "RAR_NOTIFICATION_EVENT" notification through JMS.void
sendRarForSharedBalancesNotification
(boolean flag) void
sendRarNotification
(boolean flag) Send a "RAR_NOTIFICATION_EVENT" notification through JMS.void
setARPEnabled
(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, triggerAbortSessionRequest
Methods inherited from interface oracle.communication.brm.charging.extensions.framework.ExtensionContext
getConfigurationBeanRepository, getExtensionsDataRepository, getLogger, getRequestOperationsList
Methods 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:
getCustomer
in 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:
getProduct
in 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:
getBalance
in 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:
getSubscriberPreferences
in 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:
getSharingCustomerIds
in 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:
getSharingProductIds
in 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()
-