Balance Spendable Normalizer

The balance spendable normalizer determines whether any amount of a balance (or set of balances of the same class) is available for usage charging. The balance spendable normalizer is similar to a balance distribution normalizer in that normalization is based on an available balance amount with two ranges, the first range being less than or equal to zero and the second range being greater than zero.

This normalizer considers a balance available if either of the following conditions is true:

  • A balance instance is less than the credit limit.
  • First usage grants were provisionally authorized for a balance instance, and usage has not yet been reported for the authorized quota.

Use this normalizer in policy calculations. Immediately after a quota authorization, the balance does not have an available amount. However, the calculated policy takes into account that there was a provisional grant during the authorization.

Input to the normalizer is a Balance Class ID and, optionally, a Template ID or Tag ID. The balance's available amount is used for normalization. The valid output normalization values are:

  • 0 — No spendable amount exists or the specified balance is not found.
  • 1 — A spendable amount exists. That is, the balance is less than the credit limit or the balance has provisional first usage grants and has reservation for authorized usage.

This normalizer acts as a binary-valued Sy policy counter that could be used in Sy or Gx calculations (or 5G equivalents). My MATRIXX validates that the balance spendable normalizer is used within policy pricing components only.