public interface PostRatingChargingExtensionContext extends BaseRatingExtensionContext, SharingExtensionContext
Modifier and Type | Method and Description |
---|---|
ExtensionBalance |
getBalance(java.lang.String balanceId)
Gets the balance for the passed balance identifier
|
ExtensionCustomer |
getCustomer(java.lang.String customerId)
Gets the customer for the passed customer identifier
|
java.util.Map<java.lang.String,ExtensionBalance> |
getImpactedBalance()
Gets the balance for the passed balance identifier
|
ExtensionProduct |
getProduct(java.lang.String productId)
Gets the product for the passed product identifier
|
java.util.List<ExtensionRatedQuantity> |
getRatedQuantityPerRum()
Gets list of ExtensionRatedQuantity for each unique rum in the rating result
|
java.util.Collection<ExtensionRatingPeriod> |
getRatingPeriods()
Gets all the original rating periods.
|
java.util.Collection<java.lang.String> |
getSharingCustomerIds()
Method to return the sharing customer Ids
|
java.util.Collection<java.lang.String> |
getSharingProductIds()
Method to return the sharing product Ids
|
java.util.Map<java.lang.String,java.lang.String> |
getSubscriberPreferences(java.lang.String productId,
java.lang.String customerId)
Returns the subscriber preferences for sharing customer/product.
|
int |
getTaxSupplierId()
Get taxSupplier Id.
|
void |
sendGenericRarNotification(boolean flag)
Send a "RAR_NOTIFICATION_EVENT" notification through JMS.
|
void |
sendRarNotification(boolean flag)
Send a "RAR_NOTIFICATION_EVENT" notification through JMS.
|
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
ExtensionCustomer getCustomer(java.lang.String customerId)
getCustomer
in interface SharingExtensionContext
customerId
- input customer identifierExtensionProduct getProduct(java.lang.String productId)
getProduct
in interface SharingExtensionContext
productId
- input product identifierExtensionBalance getBalance(java.lang.String balanceId)
getBalance
in interface SharingExtensionContext
balanceId
- input balance identifierjava.util.Map<java.lang.String,ExtensionBalance> getImpactedBalance()
java.util.Collection<ExtensionRatingPeriod> getRatingPeriods()
int getTaxSupplierId()
java.util.List<ExtensionRatedQuantity> getRatedQuantityPerRum()
ExtensionRatedQuantity
java.util.Map<java.lang.String,java.lang.String> getSubscriberPreferences(java.lang.String productId, java.lang.String customerId)
getSubscriberPreferences
in interface SharingExtensionContext
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 fetchedjava.util.Collection<java.lang.String> getSharingCustomerIds()
getSharingCustomerIds
in interface SharingExtensionContext
java.util.Collection<java.lang.String> getSharingProductIds()
getSharingProductIds
in interface SharingExtensionContext
void sendRarNotification(boolean flag)
void sendGenericRarNotification(boolean flag)