mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-24 08:38:45 +05:00
AccountS - TestV1DebitAbstractsEventCharges with Abstracts and Concretes matching, RateProfileCost with indexed Rates
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user