Skip to content

buildLegs

function buildLegs(
catalog,
customer,
set,
feature
): Leg[];

Defined in: src/ledger.ts:116

The legs for feature. A metered feature with creditCost that no plan includes is governed by its credit pools only (its own counter is record-only).

Parameter Type
catalog AnyCatalog
customer string
set EntitlementSet
feature NormalizedFeature

Leg[]