pricing - minor change - constructor scope
MODIFY
src/integration/pricing/ConsumptionChunkPricer.ts
src/integration/pricing/ConsumptionChunkPricer.ts
@@ -9,7 +9,7 @@ export default class ConsumptionChunkPricer {
private consumptionChunk: ConsumptionChunk;
private actualPricingDefinitions: ResolvedPricingDefinition[];
- constructor(consumptionPricer: ConsumptionPricer, consumptionChunk: ConsumptionChunk) {
+ public constructor(consumptionPricer: ConsumptionPricer, consumptionChunk: ConsumptionChunk) {
this.consumptionPricer = consumptionPricer;
this.consumptionChunk = consumptionChunk;
const actualPricingDefinitions = this.getPricingModel().pricingDefinitions.filter((pricingDefinition) =>

MODIFY
src/integration/pricing/ConsumptionPricer.ts
src/integration/pricing/ConsumptionPricer.ts
@@ -21,7 +21,7 @@ export default class ConsumptionPricer {
private pricingModel: ResolvedPricingModel;
private consumptionData: Consumption;
- constructor(tenant: Tenant, pricingModel: ResolvedPricingModel, consumptionData: Consumption) {
+ public constructor(tenant: Tenant, pricingModel: ResolvedPricingModel, consumptionData: Consumption) {
this.tenant = tenant;
this.pricingModel = pricingModel;
this.consumptionData = consumptionData;

MODIFY
src/integration/pricing/simple-pricing/BuiltInPricingIntegration.ts
src/integration/pricing/simple-pricing/BuiltInPricingIntegration.ts
@@ -17,7 +17,7 @@ import Utils from '../../../utils/Utils';
const MODULE_NAME = 'BuiltInPricingIntegration';
export default class BuiltInPricingIntegration extends PricingIntegration<SimplePricingSetting> {
- constructor(tenant: Tenant, readonly settings: SimplePricingSetting) {
+ public constructor(tenant: Tenant, private readonly settings: SimplePricingSetting) {
super(tenant, settings);
}

pricing - minor change - constructor scope