Commit Graph

34 Commits

Author SHA1 Message Date
Trial97
1437cfaff3 Updated SetBalance action 2021-02-25 18:13:01 +01:00
Trial97
83c26e5fd6 Updated actions 2021-02-25 18:13:01 +01:00
DanB
5166bfe86f Adding DynamicWeight support to RateS 2021-02-16 18:03:00 +01:00
porosnicuadrian
a975522e2c Ordered fields in Balance struct type 2021-02-15 20:28:00 +01:00
porosnicuadrian
db53fa7df1 Removed BalanceBlocker field from Balance 2021-02-15 20:28:00 +01:00
DanB
19cb5c6fa7 AccountS - enabling dynamic weights when computing accounts and balance order 2021-02-13 18:13:50 +01:00
DanB
efb9e463b8 AccountS - debit on multiple accounts with dynamic weights 2021-02-13 17:56:37 +01:00
porosnicuadrian
f5e7c522bf New fields in accountProfile - Opts and Weights as DynamicWeights 2021-02-12 17:39:22 +01:00
DanB
ce49256a4d AccountS - Balance ordering based on dynamic weight, CGREvent.AsDatProvider() 2021-02-11 20:16:43 +01:00
porosnicuadrian
a02e431098 Modified clone method for Balance 2021-02-11 10:27:39 +01:00
porosnicuadrian
21dff26a35 Updated clone method for accountProfile 2021-02-11 10:27:39 +01:00
Trial97
167f7c0a4a Updated Accounts 2021-02-09 15:16:20 +01:00
TeoV
34d17d0307 Add RateProfileIDs to Balance struct and rename from CostAttributes to AttributeIDs ( same as from ChargerProfile ) 2021-01-19 13:12:52 +01:00
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