Commit Graph

21 Commits

Author SHA1 Message Date
TeoV
ae146640f4 Start merging CGREventWithOpts with CGREvent 2021-01-14 10:30:35 +01:00
porosnicuadrian
5a3d48a9ea Removed error from decimal convert func + tests in utils 2021-01-12 12:49:31 +01:00
TeoV
fd3d0fd8c2 Update on AccountProfile from []*Balance to map[string]*Balance 2021-01-08 17:53:59 +01:00
TeoV
abb6507006 Add comments to methods 2021-01-07 15:34:41 +01:00
TeoV
9c32b2310a Add APIAccountProfile struct + commands in cgr-console 2021-01-07 14:25:01 +01:00
TeoV
1ff5adfa9d Rename from BalanceValue to BalanceUnits for AccountProfile 2021-01-06 15:50:23 +01:00
TeoV
6887863ed1 Update encoding for Get/Set AccountProfile for DataManager 2021-01-06 13:56:03 +01:00
TeoV
806d932fe0 Update TPAccountProfile struct 2021-01-06 13:56:03 +01:00
porosnicuadrian
7ae311de6a Clone function in accountprofile + tests 2021-01-04 17:09:09 +01:00
TeoV
d316df7ae3 Remove Account2 2021-01-04 17:07:24 +01:00
DanB
5a632207ac AccountS - abstractBalance with costIncrement, unitFactor, balanceLimit and partial debitUsage implementation 2021-01-03 19:47:26 +01:00
DanB
325d0f0131 AccountS - concreteBalance.debitUnits implementation with tests 2021-01-02 18:54:48 +01:00
DanB
cccf2a7b17 AccountS UsageFactor - UnitFactor 2021-01-02 14:41:26 +01:00
DanB
77677b3019 AccountS - debitUnits for concreteBalance, Balance SetDecimalValue and DecimalValue export methods 2020-12-30 20:54:16 +01:00
DanB
11d6d9be42 AccountS - usage and usageFactor as decimal.Big 2020-12-30 16:17:56 +01:00
DanB
c3616b96dc AccountS - concrete and abstract balance processors 2020-12-29 17:14:13 +01:00
DanB
f712785f78 AccountS - newAccountBalances, utils.EventCharges 2020-12-28 19:55:01 +01:00
DanB
fd090f5b36 AccountS - matchingAccountForEvent implementation 2020-12-24 18:34:30 +01:00
TeoV
4eefdc9a03 Add ThresholdIDs to AccountProfiles 2020-12-21 17:51:02 +01:00
TeoV
68c8625250 Add infrastructure in models for AccountProfile 2020-12-21 10:19:59 +01:00
TeoV
5775d09c7b Add infrastructure for AccountS in DataManager 2020-12-21 10:19:59 +01:00