Home > nifty-tou > TariffRate > (constructor)
Constructor.
Signature:
constructor(id: string, amount: number, exponent?: number, description?: string);
Parameter | Type | Description |
---|---|---|
id | string | the identifier |
amount | number | the amount |
exponent | number | (Optional) a base-10 exponent to interpret amount in; if not provided then 0 is assumed |
description | string | (Optional) a description |