Commit Graph

41 Commits

Author SHA1 Message Date
andronache98
ecdf5e54ea Changed headers 2022-03-09 14:14:30 +01:00
andronache98
9ec56f5155 Changed headers 2022-03-09 14:14:30 +01:00
ionutboangiu
cb3531d61b Add clone function for EventCharges 2022-02-14 20:45:49 +02:00
porosnicuadrian
5b1924391a Improved accounts + corrected tests after improve 2022-02-03 16:11:16 +01:00
DanB
285b45ef8e AccountSv1.RefundCharges API 2022-01-17 17:45:24 +01:00
Trial97
46f0ddb860 Added decimal context config 2021-12-15 19:57:25 +01:00
andronache
7ab4167613 Corrected header in multiple files 2021-11-01 13:50:00 +02:00
porosnicuadrian
b6b39b0e7d Removed external structs for event charges 2021-10-12 18:10:49 +03:00
porosnicuadrian
05e7900aea Tested the resolved panic with evChargers in account 2021-10-08 11:07:45 +03:00
Trial97
4cb76bb3d9 Updated cache reload 2021-07-31 15:34:23 +02:00
porosnicuadrian
bd59b70694 Debit account from *usage test 2021-07-27 16:18:43 +02:00
porosnicuadrian
0d255ae136 Formated code + usage case for account debiting 2021-07-27 16:18:43 +02:00
porosnicuadrian
2dccdb2162 Updated Equals method + tests 2021-07-27 16:18:43 +02:00
porosnicuadrian
6451d4ab1c Added context in accounts methods for apis 2021-05-17 17:58:44 +02:00
porosnicuadrian
9c9bd14807 Little fixes on IntervalRates/EventCharges 2021-05-17 17:58:44 +02:00
porosnicuadrian
fb5890ae63 Modified Rates field in RateProfileCost + Equals/As methods 2021-05-12 16:26:10 +02:00
DanB
32c6b4a673 AccountS - TestV1DebitAbstractsEventCharges with Abstracts and Concretes matching, RateProfileCost with indexed Rates 2021-05-10 16:45:01 +02:00
porosnicuadrian
b9de24cdc5 Revewed and simplified all equals cases 2021-05-07 10:53:47 +02:00
porosnicuadrian
01ae1f8dc7 FInished Equals for ExtEventChargers + little fixes in some equals 2021-05-06 13:56:43 +02:00
porosnicuadrian
e43bf73d5f Started Equals for ExtEventCharges 2021-05-04 20:45:48 +02:00
porosnicuadrian
249b06a75e Added Equals method for EventCharges 2021-05-04 20:45:48 +02:00
DanB
c8433aacd2 AccountS - properly process Abstract balance with unit factor and insufficient units 2021-05-03 13:17:57 +02:00
porosnicuadrian
14e65ecec0 Fixed ExtEventCharger fields for tests 2021-04-26 18:15:50 +02:00
porosnicuadrian
9bed88bdd2 Modified EventChargers struct fields 2021-04-26 12:59:23 +02:00
DanB
e2f813c4e0 AccountS - enhancing Abstracts with joined charges in EventCharges 2021-04-23 21:07:16 +02:00
porosnicuadrian
82ab4f2fdd Tested the whole AsExtEventChargers cases 2021-04-16 10:56:55 +02:00
porosnicuadrian
91c9a18714 New fields for ExtEventCharges + AsExt methods 2021-04-13 17:45:48 +02:00
DanB
c560d81a5d Corrected fields in EventCharges 2021-04-06 18:17:10 +02:00
DanB
1e11ae7784 EventCharges.Merge using SumDecimalAsBig 2021-04-06 17:52:39 +02:00
DanB
bb15ed3d54 EventCharges - include syncIDs inside Merge 2021-04-06 17:52:39 +02:00
porosnicuadrian
1f485d7cf9 Started renaming AccountPRofile into Account 2021-04-06 17:15:34 +02:00
porosnicuadrian
dfc880a190 Equals and CompressEquals methods for EventCharger Fields 2021-03-26 19:15:42 +01:00
DanB
e8ac5aa043 EventCharges - adding SyncIDs method and some Equals 2021-03-25 20:35:40 +01:00
DanB
e96f128b1e EventCharges population for zero cost abstract debits 2021-03-12 21:03:12 +01:00
DanB
4ddc8395e3 Refactoring EventCharges content, copied RateProfile from engine to serve from utils 2021-03-09 20:25:54 +01:00
DanB
90635d0a54 Adding Abstracts and Cocretes units to EventCharges 2021-03-02 20:09:32 +01:00
DanB
d4f6dfc993 AccountS - Usage in EventCharges as utils.Decimal, zero cost not charged in ConcreteBalances 2021-02-09 19:31:04 +01:00
DanB
7465f25ba0 RateS - return ErrNotFound in case of no profile matched, AccountS - testAccountSv1MaxUsage 2021-02-08 17:10:46 +01:00
DanB
89aac43d25 AccountS debitUsage returning usage within EventCharges 2021-02-02 20:00:33 +01:00
DanB
5a632207ac AccountS - abstractBalance with costIncrement, unitFactor, balanceLimit and partial debitUsage implementation 2021-01-03 19:47:26 +01:00
DanB
f712785f78 AccountS - newAccountBalances, utils.EventCharges 2020-12-28 19:55:01 +01:00