Billing and Revenue Management (MOSC)

MOSC Banner

How can we consume from Currency bucket in ECE while doing Prepaid Usage.

edited Mar 7, 2016 8:13AM in Billing and Revenue Management (MOSC) 8 commentsAnswered ✓

Hi,

We are trying to do prepaid usage in ECE using Diameter Gateway. Our basic scenario is as follows:

- We are creating prepaid account having two event configurations, 1) OTC charge : Granting 100 INR intially 2) Usage : Chargin INR 1.0/Min

- When account is created in ECE we can see a balance bucket created for INR with -100 as Balance as below.

####################### Balance Begin #######################

                [BalanceImpl

                 BalanceId = 170249188}

                 externalRevision = 2}

                 OwnerId = 170241492}

                 BillingUnitId = 170239956}

                 BillingUnit = null}

                 balanceItemSpecs ={INR=BalanceItemSpecImpl{beCode='INR', unit=Money{cur=INR}, creditProfile=CreditProfile{creditFloor=-9223372036854775808, creditCeiling=9223372036854775807, id='0', percentageCreditThresholds=[], fixedCreditThresholds=[]}, consumptionRule=NONE, lastBalanceItemIndex=2}}}

                 ActiveReservationMap ={}}

                 BalanceItems =

                ([BalanceItemImpl balanceItemId = 2} , currentBalance = -100} , balanceItemSpec = BalanceItemSpecImpl{beCode='INR', unit=Money{cur=INR}, creditProfile=CreditProfile{creditFloor=-9223372036854775808, creditCeiling=9223372036854775807, id='0', percentageCreditThresholds=[], fixedCreditThresholds=[]}, consumptionRule=NONE, lastBalanceItemIndex=2} , validity = [2015-12-18T20:52:52.000+05:30,292278994-08-17T07:12:55.807Z]} , validityRule = null} , firstUsageCreatedTime = null} , granter = GranterImpl{granterId='170246292'

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center