Skip to content

MeteredLineInput

Raw input for deterministic rating of one already-aggregated meter-period line.

const MeteredLineInput: Schema.Struct<{
meter: Schema.Struct<{
key: Schema.brand<Schema.String, "MeterKey">;
revision: Schema.brand<Schema.Int, "DefinitionRevision">;
}>;
rate: Schema.Struct<{
currency: Schema.brand<Schema.String, "Currency">;
amount: Schema.brand<Schema.BigInt, "MinorCurrencyUnits">;
perUnits: Schema.brand<Schema.BigInt, "MeteredRateUnits">;
rounding: Schema.Literal<"trunc">;
}>;
aggregateQuantity: Schema.brand<Schema.BigInt, "MeteredUsageQuantity">;
}>;