requiresUsage
requiresUsage(
r,hasCarry?):boolean
Whether pricing this rate needs usedSoFar: anything whose price depends on position in the period
(several tiers, flat fees, volume, package, cumulative rounding without a carry).
Parameters
Bölüm başlığı “Parameters”| Parameter | Type | Default value |
|---|---|---|
r |
Rate |
undefined |
hasCarry |
boolean |
false |
Returns
Bölüm başlığı “Returns”boolean