public interface PostChargingExtensionContext extends PostRatingChargingExtensionContext
Modifier and Type | Method and Description |
---|---|
void |
addCustomDataToResponse(java.util.Map<java.lang.String,java.lang.String> customDataMap)
Adds custom name value pair to be passed in the response.
|
void |
addExtendedRedirectAddress(java.lang.String redirectAddress)
To add Extended redirection information i.e.
|
void |
addExtendedRedirectType(java.lang.String redirectType)
To add Extended redirection information i.e.
|
void |
addExtendedRedirectValidity(java.lang.Long redirectValidity)
To add Extended redirection information i.e.
|
java.util.Map<java.lang.String,ExtensionBalance> |
getBalances()
Gets the customer's Balances
|
java.util.Map<java.lang.String,ExtensionBillingUnit> |
getBillingUnits()
Gets the customer's billing unit
|
ExtensionServiceContext |
getExtensionServiceContext()
To get the extension service context
|
java.util.Map<java.lang.String,java.util.Map<java.lang.Integer,OverageDetailsImpl>> |
getOverageDetailsMap()
Gets the overage data in the response for this request.
|
java.util.List<ExtensionBalance> |
getOwnerBalances()
Get owner balances.
|
java.util.Map<java.lang.String,ExtensionProduct> |
getProducts()
Gets the customer's products
|
java.util.Map<java.lang.String,java.lang.String> |
getResponseCustomData()
Gets the custom data appended in the response for this request.
|
java.util.List<ExtensionProduct> |
getSharedProducts()
Get shared products.
|
void |
markAsRejectResponse()
If invoked this request will be rejected with Failure status in OnlineResponse.
|
void |
sendCustomBrmOpCodeEventNotification(java.util.Map<java.lang.String,java.lang.String> customEventNotificationDataMap,
java.lang.String opCode,
java.lang.String externalReference)
Method to set the custom data along with the opcode by the custom extension code to invoke the Custom Flist
from the BRM gateway extension
|
void |
sendCustomEventNotification(java.util.Map<java.lang.String,java.lang.String> customEventNotificationDataMap)
Send custom data map via "CUSTOM_EVENT" through JMS similar to any other external notification.
|
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.
|
getBalance, getCustomer, getImpactedBalance, getProduct, getRatedQuantityPerRum, getRatingPeriods, getSharingCustomerIds, getSharingProductIds, getSubscriberPreferences, getTaxSupplierId
getApplicableProduct, getBalance, getBillingUnit, getCustomer, getCustomRatedEventFields, getEventZone, getPayloadMutator, getProduct, getQuotaAttributes, getSharedProfiles, getSubscriberPreferences, getTerminatingCustomer, getTerminatingCustomerProduct, getTerminatingCustomerRatingProfiles, getTerminatingProductRatingProfiles, getUsageRequest, isInConsumedRating, isMidSessionCdrConditionMet, setQuotaAttribute, setQuotaHoldingTime, setVolumeQuotaThreshold
getConfigurationBeanRepository, getExtensionsDataRepository, getLogger, getRequestOperationsList
getBillingUnit, getSharingBalanceIds, getSharingBillingUnitIds
void addCustomDataToResponse(java.util.Map<java.lang.String,java.lang.String> customDataMap)
customDataMap
- custom name value pair to be passed in the responsejava.util.Map<java.lang.String,java.lang.String> getResponseCustomData()
void sendCustomEventNotification(java.util.Map<java.lang.String,java.lang.String> customEventNotificationDataMap)
customEventNotificationDataMap
- data that will be sent asynchronously via external notificationvoid markAsRejectResponse()
ExtensionServiceContext getExtensionServiceContext()
void addExtendedRedirectType(java.lang.String redirectType)
redirectType
- Type of redirection address (viz. URL, IPV4 or IPV6 address)void addExtendedRedirectAddress(java.lang.String redirectAddress)
redirectAddress
- Redirect address which operator will provide (viz."http://vha.com.au/redirect/1", "http://orange.fr/redirect/1" etc)void sendRarNotification(boolean flag)
sendRarNotification
in interface PostRatingChargingExtensionContext
void sendGenericRarNotification(boolean flag)
sendGenericRarNotification
in interface PostRatingChargingExtensionContext
void sendRarForSharedBalancesNotification(boolean flag)
sendRarForSharedBalancesNotification
in interface PostRatingChargingExtensionContext
void addExtendedRedirectValidity(java.lang.Long redirectValidity)
redirectValidity
- When the redirect occurs this needs to be set - it should be a configurable attributejava.util.Map<java.lang.String,ExtensionProduct> getProducts()
java.util.Map<java.lang.String,ExtensionBalance> getBalances()
java.util.Map<java.lang.String,ExtensionBillingUnit> getBillingUnits()
void sendCustomBrmOpCodeEventNotification(java.util.Map<java.lang.String,java.lang.String> customEventNotificationDataMap, java.lang.String opCode, java.lang.String externalReference)
customEventNotificationDataMap
- Map that holds the custom data from the extensionopCode
- Op Code which needs to be calledexternalReference
- externalReferencejava.util.Map<java.lang.String,java.util.Map<java.lang.Integer,OverageDetailsImpl>> getOverageDetailsMap()
java.util.List<ExtensionBalance> getOwnerBalances()
java.util.List<ExtensionProduct> getSharedProducts()