AccountS - TestV1DebitAbstractsEventCharges with Abstracts and Concretes matching, RateProfileCost with indexed Rates

This commit is contained in:
DanB
2021-05-10 16:43:26 +02:00
parent 983f74f8a8
commit 32c6b4a673
5 changed files with 15 additions and 10 deletions

View File

@@ -40,10 +40,11 @@ type EventCharges struct {
Charges []*ChargeEntry
Accounting map[string]*AccountCharge
UnitFactors map[string]*UnitFactor
Rating map[string]*RateSInterval
Accounts map[string]*Account
Accounting map[string]*AccountCharge
UnitFactors map[string]*UnitFactor
Rating map[string]*RateSInterval
IntervalRates map[string]*IntervalRate
Accounts map[string]*Account
}
// ChargeEntry is a reference towards Accounting or Rating ID (depending on request type)

View File

@@ -413,6 +413,7 @@ type RateSIncrement struct {
IncrementStart *Decimal
Rate *Rate
IntervalRateIndex int
RateID string
CompressFactor int64
Usage *Decimal
@@ -533,6 +534,7 @@ type RateProfileCost struct {
MaxCost float64
MaxCostStrategy string
RateSIntervals []*RateSInterval
Rates map[string]*IntervalRate
Altered []string
}