Interface PreRatingExtensionContext
- All Superinterfaces:
BaseRatingExtensionContext
,ExtensionContext
This interface provides access to rating APIs needed by pre rating customization.
- Since:
- 11.2.0.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
alterRequestedUnits
(String name, UnitValue uv) Alter Requested unitssession IDGet owner balances.boolean
Sets from the extension, define if associated balanceItemvoid
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
setUseLoanBalanceItem
(boolean useLoanBalanceItem) return a flag if associated balanceItem is prioritizevoid
setValidity
(UnitValue validityInSeconds) boolean
triggerAbortSessionRequest
(String sessionId) Session ID to create a ASR service event.Methods inherited from interface oracle.communication.brm.charging.extensions.client.BaseRatingExtensionContext
getApplicableProduct, getBalance, getBillingUnit, getCustomer, getCustomRatedEventFields, getEventZone, getPayloadMutator, getProduct, getQuotaAttributes, getSharedProfiles, getSubscriberPreferences, getTerminatingCustomer, getTerminatingCustomerProduct, getTerminatingCustomerRatingProfiles, getTerminatingProductRatingProfiles, getUsageRequest, isInConsumedRating, isMidSessionCdrConditionMet, setQuotaAttribute, setQuotaHoldingTime, setVolumeQuotaThreshold
Methods inherited from interface oracle.communication.brm.charging.extensions.framework.ExtensionContext
getConfigurationBeanRepository, getExtensionsDataRepository, getLogger, getRequestOperationsList
-
Method Details
-
setValidity
- Throws:
ExtensionException
-
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. -
getOwnerBalances
List<ExtensionBalance> getOwnerBalances()Get owner balances. -
alterRequestedUnits
Alter Requested units -
isUseLoanBalanceItem
boolean isUseLoanBalanceItem()Sets from the extension, define if associated balanceItem- Returns:
-
setUseLoanBalanceItem
void setUseLoanBalanceItem(boolean useLoanBalanceItem) return a flag if associated balanceItem is prioritize -
triggerAbortSessionRequest
Session ID to create a ASR service event.- Specified by:
triggerAbortSessionRequest
in interfaceBaseRatingExtensionContext
- Parameters:
sessionId
- Session Id Which needs to be aborted.- Returns:
- true if the session Id is set and not 5G Session
- Throws:
ExtensionException
-
getAbortSessionRequestSessionId
String getAbortSessionRequestSessionId()session ID- Specified by:
getAbortSessionRequestSessionId
in interfaceBaseRatingExtensionContext
- Returns:
- Session Id
-