Introduction
This section provides some solutions to common errors that occur while working with the Pricing4SaaS suite within a SaaS. For now, there are not known errors in the versions of the libraries supported by this documentation. If you are facing any issues, please refer to either Pricing4Java or Pricing4React GitHub repository.
How do I express an unlimited amount in usage limits?
In yaml you can use the keywork .inf
of the YAML specification to express an unlimited amount of something. See Canonical and Examples section to see the usage and the syntax definition.
This keyword is very usefull in Pricing2Yaml specification if you want to model an usage limit that in some tier of your plan is Unlimited.
Example:
usageLimits:
todoNotesLimit:
valueType: NUMERIC
defaultValue: 10
plans:
FREE:
usageLimits: null
STANDARD:
usageLimits:
todoNotesLimit: .inf