@ai-billing/core / toJSONObject
Function: toJSONObject()
toJSONObject(Defined in: packages/core/src/event/to-json-object.ts:9 Casts a billing event into a JSON object payload.event):JSONObject
Parameters
event
BillingEvent<JSONObject>
The billing event to cast.
Returns
JSONObject
The billing event represented as a JSON object.