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.
|
ExtensionServiceContext |
getExtensionServiceContext()
To get the extension service context
|
java.util.Map<java.lang.String,java.lang.String> |
getResponseCustomData()
Gets the custom data appended in the response for this request.
|
void |
markAsRejectResponse()
If invoked this request will be rejected with Failure status in OnlineResponse.
|
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 |
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, getPayloadMutator, getProduct, getQuotaAttributes, getSharedProfiles, getSubscriberPreferences, getTerminatingCustomer, getTerminatingCustomerProduct, getTerminatingCustomerRatingProfiles, getTerminatingProductRatingProfiles, getUsageRequest, isInConsumedRating, isMidSessionCdrConditionMet, setQuotaAttribute, setQuotaHoldingTime, setVolumeQuotaThreshold
getConfigurationBeanRepository, getExtensionsDataRepository, getLogger
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 addExtendedRedirectValidity(java.lang.Long redirectValidity)
redirectValidity
- When the redirect occurs this needs to be set - it should be a configurable attribute