{"templateId":"markdown","versions":[{"version":"9.0","label":"9.0","link":"/classes/whmcs/usagebilling/contracts/metrics/usageinterface","default":true,"active":true,"folderId":"9d7dc099"},{"version":"8.13","label":"8.13","link":"/classes/8.13/whmcs/usagebilling/contracts/metrics/usageinterface","default":false,"active":false,"folderId":"9d7dc099"}],"sharedDataIds":{"sidebar":"sidebar-classes/@8.13/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"WHMCS\\UsageBilling\\Contracts\\Metrics\\UsageInterface","description":"Developer documentation for the WHMCS API — the","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"whmcsusagebillingcontractsmetricsusageinterface","__idx":0},"children":["WHMCS\\UsageBilling\\Contracts\\Metrics\\UsageInterface"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Interface"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["UsageInterface"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"methods","__idx":1},"children":["Methods"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"collectedat","__idx":2},"children":["collectedAt"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"php","header":{"controls":{"copy":{}}},"source":"public function collectedAt()\n","lang":"php"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Returns"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Carbon"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"startat","__idx":3},"children":["startAt"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"php","header":{"controls":{"copy":{}}},"source":"public function startAt()\n","lang":"php"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Returns"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["null\\|Carbon"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"endat","__idx":4},"children":["endAt"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"php","header":{"controls":{"copy":{}}},"source":"public function endAt()\n","lang":"php"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Returns"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["null\\|Carbon"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"value","__idx":5},"children":["value"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"php","header":{"controls":{"copy":{}}},"source":"public function value()\n","lang":"php"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Returns"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["float"]}]}]},"headings":[{"value":"WHMCS\\UsageBilling\\Contracts\\Metrics\\UsageInterface","id":"whmcsusagebillingcontractsmetricsusageinterface","depth":1},{"value":"Methods","id":"methods","depth":2},{"value":"collectedAt","id":"collectedat","depth":3},{"value":"startAt","id":"startat","depth":3},{"value":"endAt","id":"endat","depth":3},{"value":"value","id":"value","depth":3}],"frontmatter":{"title":"WHMCS\\UsageBilling\\Contracts\\Metrics\\UsageInterface","seo":{"title":"WHMCS\\UsageBilling\\Contracts\\Metrics\\UsageInterface"}},"lastModified":"2026-08-05T14:37:16.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/classes/whmcs/usagebilling/contracts/metrics/usageinterface","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}