# PurchasingSettings

> Editor API for the Unity Services editor feature. Normally Purchasing is enabled from the Services window, but if writing your own editor extension, this API can be used.

## Definition

* **Type:** Class
* **Namespace:** [UnityEditor.Purchasing](/engine/6000.7/script-reference/unityeditor/purchasing.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static class PurchasingSettings
```

## Static Properties

| Property                                                                                        | Description                                                                                                |
| ----------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| [enabled](/engine/6000.7/script-reference/unityeditor/purchasing/purchasingsettings/enabled.md) | This Boolean field will cause the Purchasing feature in Unity to be enabled if true, or disabled if false. |
