← Files Zuora Coding AgentARCHIVED FILE

references/meter-operators/REALTIME_CHARGING.json

1.7 KB · Oct 2, 2026 · 00:30 UTC

↓ Download file

{
  "key": "REALTIME_CHARGING",
  "nodeType": "PROCESSOR",
  "operatorType": "REALTIME_CHARGING",
  "metadata": {
    "groupFields": [],
    "usageQuantityField": null,
    "usageQuantityAggregation": "SUM",
    "priceModel": "PerUnit",
    "unitPrice": null,
    "priceTable": [],
    "language": "javascript",
    "source": ""
  },
  "label": "Realtime Charging",
  "hints": {
    "usageQuantityAggregation": "SUM | COUNT",
    "priceModel": "PerUnit",
    "language": "javascript | PYTHON"
  },
  "assumptions": [
    {
      "path": "priceModel",
      "value": "PerUnit",
      "reason": "Per-unit pricing is the most common real-time charging model.",
      "confidence": 0.8
    },
    {
      "path": "usageQuantityAggregation",
      "value": "SUM",
      "reason": "SUM is the default aggregation for usage quantity fields.",
      "confidence": 0.85
    }
  ],
  "blockers": [
    {
      "path": "groupFields",
      "message": "REALTIME_CHARGING groupFields is required. Which fields define the charging groups? (e.g. [\"accountNumber\", \"subscriptionNumber\"])"
    },
    {
      "path": "usageQuantityField",
      "message": "REALTIME_CHARGING usageQuantityField is required. Which event field contains the usage quantity to charge?"
    },
    {
      "path": "unitPrice",
      "when": {
        "path": "priceModel",
        "equals": "PerUnit"
      },
      "message": "REALTIME_CHARGING unitPrice is required when priceModel is PerUnit. What is the price per unit?"
    },
    {
      "path": "priceTable",
      "when": {
        "path": "priceModel",
        "equals": "Tiered"
      },
      "message": "REALTIME_CHARGING priceTable is required when priceModel is Tiered. Provide the tiered pricing rules."
    }
  ]
}

SHA-256: b2733e25881cfd4032ff30e563d732f00077bfc372c84c9cf16f73b1ff009b93