Uses of Interface
oracle.communication.brm.charging.util.unit.UnitValue
Packages that use UnitValue
Package
Description
-
Uses of UnitValue in oracle.communication.brm.charging.extensions.client
Methods in oracle.communication.brm.charging.extensions.client that return UnitValueModifier and TypeMethodDescriptionExtensionBalance.getAvailableBalance(Integer numericCode) This method calculates and returns the available balance valid at current usage session start time.Calculates and returns the available balance.ExtensionBalance.getAvailableBalance(Integer numericCode, String sessionId, ZonedDateTime sessionStartTime) This method calculates and returns the available balance as applicable at the sessionStartTime passed.ExtensionBalance.getAvailableBalance(String beCode, String sessionId, ZonedDateTime sessionStartTime) ExtensionBalance.getAvailableBalanceUpToCreditLimit(Integer paramInteger) This method returns the Available Balance UpTo CreditLimitExtensionBalance.getCurrentBalance(Integer numericCode, ZonedDateTime sessionStartTime) Returns the current balance for the given resource considering the balance items valid during the specified validity rangeBaseRatingPeriod.getImpact()Method returns the balance element's impact amount associated with this RatingPeriod.ExtensionRatedQuantity.getNetOriginalQuantity()Gets the net original quantity without any rounding/increment adjustment for the associated rumExtensionRatedQuantity.getNetRatedQuantity()Gets the net rated quantity for the associated rumExtensionRatedQuantity.getNetUnRatedQuantity()Gets the net unrated quantity for the associated rumExtensionBalance.getOriginalBalance(Integer numericCode) This method calculates and returns the original balance valid at current usage session start time.BaseRatingPeriod.getOriginalImpact()Gets the original charge impact prior any override via extensions (e.g currency conversions).BaseRatingPeriod.getQuantity()Gets the extension rating period quantityExtensionBalance.getRemainingBalance(Integer numericCode) This method returns the remaining balance valid at current usage session start time.ExtensionBalance.getRemainingBalanceUptoCreditLimit(Integer numericCode) This method returns the remaining balance valid at current usage session start time capped at teh credit limit.Methods in oracle.communication.brm.charging.extensions.client that return types with arguments of type UnitValueModifier and TypeMethodDescriptionExtensionBalance.getAllRemainingBalance()This method returns the map of remaining balances with key as balance resource code the first value in the pair is remaining balance without credit limit cap; the second value is up to credit limitExtensionBalance.getAllRemainingBalance()This method returns the map of remaining balances with key as balance resource code the first value in the pair is remaining balance without credit limit cap; the second value is up to credit limitBaseRatingExtensionContext.getQuotaAttributes()Methods in oracle.communication.brm.charging.extensions.client with parameters of type UnitValueModifier and TypeMethodDescriptionPostRatingExtensionContext.addRatingPeriod(Integer ratingPeriodId, Range timeRange, UnitValue theValue, String theRumName, String customerId, String balanceId, String productId, Integer balanceElementId, String balanceElementCode, String generalLedgerCode, String taxCode, oracle.communication.brm.charging.ratingview.TaxTime taxTime, BigDecimal taxRate, oracle.communication.brm.charging.config.offerprofile.OfferProfile offerProfile, UnitValue quantityRated, String aaResultTag, String timeTag, String zoneTag, String pricingName, String timeModelName, String zoneModelName, String chargeRatePlanName, String impactCategory, boolean isFirstUsageGrant, Range validity, oracle.communication.brm.charging.util.range.QuantityRange quantityRange, oracle.communication.brm.charging.ratingview.RatingPeriod.RatingPeriodType ratingPeriodType, Integer coRelatedRatingPeriodId, oracle.communication.brm.charging.util.misc.Pair<String, String> item, boolean recurringBundleImpact, oracle.communication.brm.charging.util.misc.Pair<Integer, Long> recurringBundleDetails, String origZoneTag, String purchasedProductOfferingId, String offeringId, String productOfferingExternalId, String combinedZoneResult, boolean isCounterImpact, boolean isFirstUsageOffer, boolean isFixedImpact, boolean isCurrencyImpact, String initialZoneResultTag, String usedZoneModelName, UnitValue originalImpact, Integer originalBalanceElementId, oracle.communication.brm.charging.ratingview.TaxJurisdiction taxJurisdiction, String rateTag, String lineage, String discountInfo, String alterationRatePlanName, String alterationConfigurationName, String alterationPricingName, boolean isConsumedRatingPeriod) PostRatingExtensionContext.addRatingPeriod(Integer ratingPeriodId, Range timeRange, UnitValue theValue, String theRumName, String customerId, String balanceId, String productId, Integer balanceElementId, String balanceElementCode, String generalLedgerCode, String taxCode, oracle.communication.brm.charging.ratingview.TaxTime taxTime, BigDecimal taxRate, oracle.communication.brm.charging.config.offerprofile.OfferProfile offerProfile, UnitValue quantityRated, String aaResultTag, String timeTag, String zoneTag, String pricingName, String timeModelName, String zoneModelName, String chargeRatePlanName, String impactCategory, boolean isFirstUsageGrant, Range validity, oracle.communication.brm.charging.util.range.QuantityRange quantityRange, oracle.communication.brm.charging.ratingview.RatingPeriod.RatingPeriodType ratingPeriodType, Integer coRelatedRatingPeriodId, oracle.communication.brm.charging.util.misc.Pair<String, String> item, boolean recurringBundleImpact, oracle.communication.brm.charging.util.misc.Pair<Integer, Long> recurringBundleDetails, String origZoneTag, String purchasedProductOfferingId, String offeringId, String productOfferingExternalId, String combinedZoneResult, boolean isCounterImpact, boolean isFirstUsageOffer, boolean isFixedImpact, boolean isCurrencyImpact, String initialZoneResultTag, String usedZoneModelName, UnitValue originalImpact, Integer originalBalanceElementId, oracle.communication.brm.charging.ratingview.TaxJurisdiction taxJurisdiction, String rateTag, String lineage, String discountInfo, String alterationRatePlanName, String alterationConfigurationName, String alterationPricingName, boolean isAdjustedForWorstCost, boolean isAfterTTCImpact, boolean isConsumedRating) PostRatingExtensionContext.addRatingPeriod(Integer ratingPeriodId, Range timeRange, UnitValue theValue, String theRumName, String customerId, String balanceId, String productId, Integer balanceElementId, String balanceElementCode, String generalLedgerCode, String taxCode, oracle.communication.brm.charging.ratingview.TaxTime taxTime, BigDecimal taxRate, oracle.communication.brm.charging.config.offerprofile.OfferProfile offerProfile, UnitValue quantityRated, String aaResultTag, String timeTag, String zoneTag, String pricingName, String timeModelName, String zoneModelName, String chargeRatePlanName, String impactCategory, boolean isFirstUsageGrant, Range validity, oracle.communication.brm.charging.util.range.QuantityRange quantityRange, oracle.communication.brm.charging.ratingview.RatingPeriod.RatingPeriodType ratingPeriodType, Integer coRelatedRatingPeriodId, oracle.communication.brm.charging.util.misc.Pair<String, String> item, boolean recurringBundleImpact, oracle.communication.brm.charging.util.misc.Pair<Integer, Long> recurringBundleDetails, String origZoneTag, String purchasedProductOfferingId, String offeringId, String productOfferingExternalId, String combinedZoneResult, boolean isCounterImpact, boolean isFirstUsageOffer, boolean isFixedImpact, boolean isCurrencyImpact, String initialZoneResultTag, String usedZoneModelName, UnitValue originalImpact, Integer originalBalanceElementId, oracle.communication.brm.charging.ratingview.TaxJurisdiction taxJurisdiction, String rateTag, String lineage, String discountInfo, String alterationRatePlanName, String alterationConfigurationName, String alterationPricingName, boolean isAfterTTCImpact, oracle.communication.brm.charging.util.range.QuantityRange actualQty) PostRatingExtensionContext.addTaxRatingPeriod(int originalExtRPId, Integer balanceElementId, UnitValue impact, String glCode) Creates the new rating period to be added to the original rating result Only supports addition of new tax extension rating period.voidPreRatingExtensionContext.alterRequestedUnits(String name, UnitValue uv) Alter Requested unitsvoidExtensionBalance.generateSpendingLimitNotificationEvents(String beCode, UnitValue existingCurrBalanceWithConsumed, UnitValue newCurrBalanceWithConsumed, Collection<oracle.communication.brm.charging.config.offerprofile.OfferProfile> offerProfiles, ZonedDateTime eventTime, oracle.communication.brm.charging.extensions.client.notification.UpdateExtensionContext extensionContext) This method Generates the Spending Limit Notification EventvoidExtensionBalance.generateSpendingLimitNotificationEventsForPostCharging(String beCode, UnitValue existingCurrBalanceWithConsumed, UnitValue newCurrBalanceWithConsumed, Collection<oracle.communication.brm.charging.config.offerprofile.OfferProfile> offerProfiles, ZonedDateTime eventTime, PostChargingExtensionContext extensionContext) This method Generates the Spending Limit Notification EventvoidExtensionRatingPeriod.modifyImpact(UnitValue modifiedImpact) Modifies the balance impact amountvoidBaseRatingExtensionContext.setQuotaAttribute(oracle.communication.brm.charging.rating.RatingConstants.QUOTA_ATTRIBUTES timerConfigurationName, UnitValue timerValue) voidBaseRatingExtensionContext.setQuotaHoldingTime(UnitValue quotaHoldingTimeInSeconds) voidPreRatingExtensionContext.setValidity(UnitValue validityInSeconds) voidBaseRatingExtensionContext.setVolumeQuotaThreshold(UnitValue volumeQuotaThreshold) -
Uses of UnitValue in oracle.communication.brm.charging.extensions.framework
Methods in oracle.communication.brm.charging.extensions.framework with parameters of type UnitValueModifier and TypeMethodDescriptionPayloadMutator.setDynamicRequestedQuota(String name, UnitValue value, Boolean isAuthorizedRequest) Method that is used to set the dynamic quota into the request. -
Uses of UnitValue in oracle.communication.brm.charging.messages.query
Methods in oracle.communication.brm.charging.messages.query that return UnitValueModifier and TypeMethodDescriptionBalanceQueryResponse.BalanceDetail.BalanceItemDetail.getActiveReservation()Method returns the BalanceItem level Active ReservationBalanceQueryResponse.BalanceDetail.BalanceItemDetail.getAvailableBalance()Method returns the BalanceItem level Available BalanceBalanceQueryResponse.BalanceDetail.BalanceItemDetail.getConsumedReservation()Method returns the BalanceItem level Consumed ReservationBalanceQueryResponse.BalanceDetail.BalanceItemDetail.getCurrentBalance()Method returns the BalanceItem level current main BalanceBalanceQueryResponse.BalanceDetail.BalanceItemDetail.getLoanBalance()Method returns the BalanceItem level loan BalanceBalanceQueryResponse.BalanceDetail.BalanceItemDetail.getOriginalBalance()Method returns the BalanceItem level Original BalanceBalanceQueryResponse.BalanceDetail.getTotalAvailableBalance()Method returns the totalAvailable Balance of this BalanceElement type.Methods in oracle.communication.brm.charging.messages.query that return types with arguments of type UnitValueModifier and TypeMethodDescriptionBalanceQueryResponse.getSummary()Method to return the summary of balance query along with balance element numeric Id. -
Uses of UnitValue in oracle.communication.brm.charging.messages.usage
Methods in oracle.communication.brm.charging.messages.usage that return UnitValueModifier and TypeMethodDescriptionCostInformation.getAmount()RemainingBalance.getAmount()GrantedUnit.getDuration()GrantedUnit.getGrantedUnit(String rum) GrantedUnit.getInputVolume()GrantedUnit.getOutputVolume()OnlineUsageResponse.getQuotaAttribute(String name) OnlineUsageResponse.getQuotaHoldingTime()GrantedUnit.getSpecificUnit()GrantedUnit.getTotalVolume()OnlineUsageResponse.getVolumeQuotaThreshold()Methods in oracle.communication.brm.charging.messages.usage that return types with arguments of type UnitValueModifier and TypeMethodDescriptionOnlineUsageResponse.getAllQuotaAttributes()Method that returns a map of all the attributes related to the quota eg.VOLUME_QUOTA_THRESHOLD, QUOTA_HOLDING_TIMEGrantedUnit.getGrantedUnits()OnlineUsageResponse.getQuantityInfo() -
Uses of UnitValue in oracle.communication.brm.charging.ratedevent.custom
Methods in oracle.communication.brm.charging.ratedevent.custom that return UnitValueMethods in oracle.communication.brm.charging.ratedevent.custom that return types with arguments of type UnitValueModifier and TypeMethodDescriptionRatingResultView.getUnratedNetAndOriginalQuantities()Method to fetch unrated and net quantitiesRatingResultView.getUnratedNetAndOriginalQuantities()Method to fetch unrated and net quantitiesRatingResultView.getUnratedNetAndOriginalQuantities()Method to fetch unrated and net quantities -
Uses of UnitValue in oracle.communication.brm.charging.util.unit
Methods in oracle.communication.brm.charging.util.unit that return UnitValueModifier and TypeMethodDescriptionThe method adds the quantities of two UnitValues.Returns an instance of the UnitValue with this Unit converted according to a specific ratioReturns an instance of the UnitValue with this Unit converted according to a specific ratioReturns an instance of the UnitValue with this Unit converted according to a specific ratioOccurrence.convert(UnitValue<Occurrence> otherValue) Returns an instance of the UnitValue with this Unit converted according to a specific ratioReturns an instance of the UnitValue with this Unit converted according to a specific ratioData.createValueFromUnitString(String unitString, BigDecimal theValue) helper method used to choose the correct UOM and set the value.Duration.createValueFromUnitString(String unitString, BigDecimal theValue) helper method used to choose the correct UOM and set the value.static UnitValue<Occurrence> Occurrence.createValueFromUnitString(String unitString, BigDecimal theValue) helper method used to choose the correct UOM and set the value.compare with the otherUnitValue and return the maxCreates an instance of Money of type Currency with the passed symbol.The method multiplies the other UnitValue from this UnitValue.UnitValue.round(int precision, RoundingMode mode) The method rounds the quantity based on the passed precision and the RoundingModeUnitValue.scale(int scaleValue, RoundingMode mode) The method scales the quantity based on the passed scale and the RoundingModeThe method subtracts the other UnitValue from this UnitValue.Data.valueOf(BigDecimal b) Returns an instance of the UnitValue with this Unit and provided quantityDuration.valueOf(BigDecimal b) Returns an instance of the UnitValue with this Unit and provided quantityMoney.valueOf(BigDecimal b) Returns an instance of the UnitValue with this Unit and provided quantityOccurrence.valueOf(BigDecimal b) Returns an instance of the UnitValue with this Unit and provided quantityUnit.valueOf(BigDecimal b) Returns an instance of the UnitValue with this Unit and provided quantityMethods in oracle.communication.brm.charging.util.unit with parameters of type UnitValueModifier and TypeMethodDescriptionThe method adds the quantities of two UnitValues.Returns an instance of the UnitValue with this Unit converted according to a specific ratioReturns an instance of the UnitValue with this Unit converted according to a specific ratioReturns an instance of the UnitValue with this Unit converted according to a specific ratioOccurrence.convert(UnitValue<Occurrence> otherValue) Returns an instance of the UnitValue with this Unit converted according to a specific ratioReturns an instance of the UnitValue with this Unit converted according to a specific ratiocompare with the otherUnitValue and return the maxThe method multiplies the other UnitValue from this UnitValue.The method subtracts the other UnitValue from this UnitValue.