
**Summary:** Provides methods to set metered key.

**Module:** [aspose.gis](/psd/python-net/aspose.gis/)

**Full Name:** aspose.gis.Metered

**Aspose.PSD Version:** 25.9.0

## **Methods**
| **Name** | **Description** |
| :- | :- |
| [get_consumption_credit()](#get_consumption_credit__1) | Gets consumption credit |
| [get_consumption_quantity()](#get_consumption_quantity__2) | Gets consumption file size |
| reset_metered_key() | Removes previously setup license |
| [set_metered_key(public_key, private_key)](#set_metered_key_public_key_private_key_3) | Sets metered public and private key |


### Method: get_consumption_credit()  [static] {#get_consumption_credit__1}


```
 get_consumption_credit() 
```

Gets consumption credit

**Returns**

| Type | Description |
| :- | :- |
| decimal | consumption quantity |


### Method: get_consumption_quantity()  [static] {#get_consumption_quantity__2}


```
 get_consumption_quantity() 
```

Gets consumption file size

**Returns**

| Type | Description |
| :- | :- |
| decimal | consumption quantity |


### Method: set_metered_key(public_key, private_key)  [static] {#set_metered_key_public_key_private_key_3}


```
 set_metered_key(public_key, private_key) 
```

Sets metered public and private key

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| public_key | string | public key |
| private_key | string | private key |

