v3.1.2
2020.3+

Namespace Unity.Services.Economy

Classes

AddInventoryItemOptions

Options for a AddInventoryItemAsync call.

Configuration

DecrementBalanceOptions

Options for a DecrementBalanceAsync call.

DeletePlayersInventoryItemOptions

Options for a DeletePlayersInventoryItemAsync call.

Economy

EconomyAppleAppStorePurchaseFailedException

An exception that is thrown when a request to redeem an Apple App Store purchase fails in one of the following ways: invalid receipt, purchase already redeemed, product ID mismatch, product ID not defined, currency max would be exceeded.

EconomyException

An exception specific to the Economy service.

EconomyGooglePlayStorePurchaseFailedException

An exception that is thrown when a request to redeem an Google Play Store purchase fails in one of the following ways: invalid purchase data, invalid purchase data signature, purchase already redeemed, product ID mismatch, product ID not defined, currency max would be exceeded.

EconomyInstance

EconomyRateLimitedException

An exception that is thrown when the client has been rate limited.

EconomyService

EconomyValidationErrorDetail

EconomyValidationException

Represents a validation error from the Economy service.

GetBalancesOptions

Options for a GetBalancesAsync call.

GetInventoryOptions

Options for a GetInventoryAsync call.

IncrementBalanceOptions

Options for a IncrementBalanceAsync call.

MakeVirtualPurchaseOptions

Options for a MakeVirtualPurchaseAsync call.

PlayerBalances

PlayerBalances.DecrementBalanceOptions

PlayerBalances.GetBalancesOptions

PlayerBalances.IncrementBalanceOptions

PlayerBalances.SetBalanceOptions

PlayerInventory

PlayerInventory.AddInventoryItemOptions

PlayerInventory.DeletePlayersInventoryItemOptions

PlayerInventory.GetInventoryOptions

PlayerInventory.UpdatePlayersInventoryItemOptions

Purchases

Purchases.MakeVirtualPurchaseOptions

Purchases.RedeemAppleAppStorePurchaseArgs

Purchases.RedeemGooglePlayStorePurchaseArgs

RedeemAppleAppStorePurchaseArgs

Arguments for a RedeemAppleAppStorePurchaseAsync call.

RedeemGooglePlayStorePurchaseArgs

Arguments for a RedeemGooglePlayStorePurchaseAsync call.

SetBalanceOptions

Options for a SetBalancesAsync call.

UpdatePlayersInventoryItemOptions

Options for a UpdatePlayersInventoryItemAsync call.

Interfaces

IEconomyConfigurationApiClient

This class allows you to retrieve items from the global economy configuration as it is set up in the Unity Dashboard.

IEconomyPlayerBalancesApiClient

The PlayerBalances methods provide access to the current player's balances, and allow you to update them.

IEconomyPlayerInventoryApiClient

The PlayerInventory methods provide access to the current player's inventory items, and allow you to update them.

IEconomyPurchasesApiClientApi

The Purchases methods allow you to make virtual and real world purchases.

IEconomyService

Enums

EconomyExceptionReason

An enum of possible reasons that Economy would throw an exception. These are mapped to particular HTTP status codes.