Package ai.vectros.types
Class Credits
java.lang.Object
ai.vectros.types.Credits
-
Method Details
-
getUsed
- Returns:
- Credits consumed this period (rounded down to whole credits)
-
getUsedMilli
- Returns:
- Credits consumed this period in milli-credit precision (1 credit = 1000 milli-credits). Use this for exact accounting and for cross-checking per-environment totals — the rounded
usedvalue can differ fromlive.used + test.usedby up to 1 credit per category due to independent truncation. The milli value is exact.
-
getLimit
- Returns:
- Plan monthly credit limit. Null for unlimited (enterprise) plans.
-
getRemaining
- Returns:
- Remaining credits before plan limit hit. Null for unlimited plans.
-
getBreakdown
-
equals
-
getAdditionalProperties
-
hashCode
public int hashCode() -
toString
-
builder
-