---
Product: Aspose.3D
Platform: java
Page Type: reference
Canonical URL: https://reference.aspose.org/3d/java/metered
---

# Metered

## Overview

`Metered` is a class in Aspose.3D FOSS for Java.

Metered license management class (not available in FOSS version).

This class provides 4 methods for working with Metered objects in Java programs.
Available methods include: `Metered`, `getConsumptionCredit`, `getConsumptionQuantity`, `setMeteredKey`.
All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Properties: `consumptionCredit`, `consumptionQuantity`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `consumptionCredit` | `double` | Read | Gets consumed credit quantity (not available in FOSS version). |
| `consumptionQuantity` | `double` | Read | Gets consumption quantity (not available in FOSS version). |

## Methods

| Signature | Description |
|-----------|-------------|
| `Metered()` | Initializes a new instance of the Metered class. |
| `setMeteredKey(publicKey: String, privateKey: String)` | **Not implemented in the FOSS edition — throws at runtime.** Sets metered public and private key (not available in FOSS version). |
| `getConsumptionCredit()` → `double` | **Not implemented in the FOSS edition — throws at runtime.** Gets consumed credit quantity (not available in FOSS version). |
| `getConsumptionQuantity()` → `double` | **Not implemented in the FOSS edition — throws at runtime.** Gets consumption quantity (not available in FOSS version). |

## See Also
- [Aspose.3D for Java — Enterprise API Reference](https://reference.aspose.com/3d/java/com.aspose.threed/metered/)