docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Namespace Unity.Services.Apis.Economy

    Classes

    AddInventoryRequest

    AddInventoryRequest

    BasicErrorResponse

    Referenced from - https://tools.ietf.org/html/rfc7807#page-3 Consumers MUST use the 'type' string as the primary identifier for the problem type; the 'title' string is advisory and included only for users who are not aware of the semantics of the URI and do not have the ability to discover them (for example, offline log analysis). Consumers SHOULD NOT automatically dereference the type URI. The "status" member, if present, is only advisory; it conveys the HTTP status code used for the convenience of the consumer. Generators MUST use the same status code in the actual HTTP response, to assure that generic HTTP software that does not understand this format still behaves correctly. See Section 5 for further caveats regarding its use. Consumers can use the status member to determine what the original status code used by the generator was, in cases where it has been changed (for example, by an intermediary or cache), and when message bodies persist without HTTP information. Generic HTTP software still uses the HTTP status code. The "detail" member, if present, should focus on helping the client correct the problem, rather than giving debugging information.

    Cost

    Cost

    CurrencyBalanceRequest

    CurrencyBalanceRequest

    CurrencyBalanceResponse

    CurrencyBalanceResponse

    CurrencyExchangeItem

    CurrencyExchangeItem

    CurrencyModifyBalanceRequest

    CurrencyModifyBalanceRequest

    CurrencyResource

    The definition for a economy resource that represents a currency.

    EconomyConfigurationApi

    Represents a collection of functions to interact with the API endpoints

    EconomyCurrenciesApi

    Represents a collection of functions to interact with the API endpoints

    EconomyInventoryApi

    Represents a collection of functions to interact with the API endpoints

    EconomyPurchasesApi

    Represents a collection of functions to interact with the API endpoints

    ErrorResponseConflictCurrencyBalance

    An error response sent back upon currency balance conflict.

    ErrorResponseConflictCurrencyBalanceData

    ErrorResponseConflictCurrencyBalanceData

    ErrorResponseConflictCurrencyBalanceDataExisting

    ErrorResponseConflictCurrencyBalanceDataExisting

    ErrorResponseConflictInventory

    An error response sent back upon player inventory item conflict.

    ErrorResponseConflictInventoryDelete

    An error response sent back upon player inventory item conflict.

    ErrorResponseConflictInventoryDeleteData

    ErrorResponseConflictInventoryDeleteData

    ErrorResponseConflictInventoryDeleteDataAttempted

    ErrorResponseConflictInventoryDeleteDataAttempted

    ErrorResponseConflictInventoryUpdate

    An error response sent back upon player inventory item conflict.

    ErrorResponseConflictInventoryUpdateData

    ErrorResponseConflictInventoryUpdateData

    ErrorResponseConflictInventoryUpdateDataExisting

    ErrorResponseConflictInventoryUpdateDataExisting

    ErrorResponsePurchaseAppleappstoreFailed

    An error response sent back upon a redeem Apple App Store purchase.

    ErrorResponsePurchaseGoogleplaystoreFailed

    An error response sent back upon a redeem Google Play purchase.

    InventoryDeleteRequest

    The request body has been deprecated in favor of using query parameters due to inconsistent HTTP client support for sending request bodies for DELETE requests. Please use the corresponding query parameters instead, which will take precedence over any request body properties if both are present.

    InventoryExchangeItem

    InventoryExchangeItem

    InventoryItemResource

    The definition for a economy resource that represents a inventory item.

    InventoryRequestUpdate

    InventoryRequestUpdate

    InventoryResponse

    InventoryResponse

    ModifiedMetadata

    ModifiedMetadata

    PlayerConfigurationResponse

    PlayerConfigurationResponse

    PlayerConfigurationResponseMetadata

    Contains information about the results.

    PlayerConfigurationResponseResultsInner

    PlayerConfigurationResponseResultsInner

    PlayerCurrencyBalanceResponse

    PlayerCurrencyBalanceResponse

    PlayerCurrencyBalanceResponseLinks

    PlayerCurrencyBalanceResponseLinks

    PlayerInventoryResponse

    PlayerInventoryResponse

    PlayerPurchaseAppleappstoreRequest

    PlayerPurchaseAppleappstoreRequest

    PlayerPurchaseAppleappstoreResponse

    PlayerPurchaseAppleappstoreResponse

    PlayerPurchaseAppleappstoreResponseVerification

    PlayerPurchaseAppleappstoreResponseVerification

    PlayerPurchaseAppleappstoreResponseVerificationStore

    Details from the receipt validation service.

    PlayerPurchaseGoogleplaystoreRequest

    PlayerPurchaseGoogleplaystoreRequest

    PlayerPurchaseGoogleplaystoreResponse

    PlayerPurchaseGoogleplaystoreResponse

    PlayerPurchaseGoogleplaystoreResponseRewards

    Rewards of the purchase.

    PlayerPurchaseGoogleplaystoreResponseVerification

    PlayerPurchaseGoogleplaystoreResponseVerification

    PlayerPurchaseGoogleplaystoreResponseVerificationStore

    Details from the receipt validation service.

    PlayerPurchaseVirtualRequest

    PlayerPurchaseVirtualRequest

    PlayerPurchaseVirtualResponse

    PlayerPurchaseVirtualResponse

    PlayerPurchaseVirtualResponseCosts

    Costs of the purchase.

    PlayerPurchaseVirtualResponseRewards

    Rewards of the purchase.

    RealMoneyPurchaseResource

    The definition for a economy resource that represents a real money purchase.

    RealMoneyPurchaseResourceStoreIdentifiers

    Store identifiers.

    RedeemAppleAppStorePurchase422Response

    RedeemAppleAppStorePurchase422Response

    RedeemGooglePlayPurchase422Response

    RedeemGooglePlayPurchase422Response

    Reward

    Reward

    SetPlayerCurrencyBalance400Response

    SetPlayerCurrencyBalance400Response

    ValidationErrorBody

    Single error in the Validation Error Response.

    ValidationErrorResponse

    Validation error response when a value provided from the client does not pass validation on server.

    VirtualPurchaseResource

    The definition for a economy resource that represents a virtual purchase.

    Interfaces

    IEconomyConfigurationApi

    Represents a collection of functions to interact with the API endpoints

    IEconomyCurrenciesApi

    Represents a collection of functions to interact with the API endpoints

    IEconomyInventoryApi

    Represents a collection of functions to interact with the API endpoints

    IEconomyPurchasesApi

    Represents a collection of functions to interact with the API endpoints

    Enums

    CurrencyResource.TypeEnum

    Type of the resource, for example CURRENCY, INVENTORY_ITEM, VIRTUAL_PURCHASE, MONEY_PURCHASE.

    InventoryItemResource.TypeEnum

    Type of the resource, for example CURRENCY, INVENTORY_ITEM, VIRTUAL_PURCHASE, MONEY_PURCHASE.

    PlayerPurchaseAppleappstoreResponseVerification.StatusEnum

    Status of the receipt verification. * VALID: The purchase was valid. * VALID_NOT_REDEEMED: The purchase was valid but seen before, and had not yet been redeemed. * INVALID_ALREADY_REDEEMED: The purchase has already been redeemed. * INVALID_VERIFICATION_FAILED: The receipt verification Service returned that the receipt data was not valid. * INVALID_ANOTHER_PLAYER: The receipt has previously been used by a different player and validated. * INVALID_CONFIGURATION: The service configuration is invalid, further information in the details section of the response. * INVALID_PRODUCT_ID_MISMATCH: The purchase configuration store product identifier does not match the one in the receipt. * CURRENCY_MAX_EXCEEDED: Could not add the rewards because one or more currencies would be taken over the specified maximum balance.

    PlayerPurchaseGoogleplaystoreResponseVerification.StatusEnum

    Status of the receipt verification. * VALID: The purchase was valid. * VALID_NOT_REDEEMED: The purchase was valid but seen before, and had not yet been redeemed. * INVALID_ALREADY_REDEEMED: The purchase has already been redeemed. * INVALID_VERIFICATION_FAILED: The receipt verification Service returned that the receipt data was not valid. * INVALID_ANOTHER_PLAYER: The receipt has previously been used by a different player and validated. * INVALID_CONFIGURATION: The service configuration is invalid, further information in the details section of the response. * INVALID_PRODUCT_ID_MISMATCH: The purchase configuration store product identifier does not match the one in the receipt. * CURRENCY_MAX_EXCEEDED: Could not add the rewards because one or more currencies would be taken over the specified maximum balance.

    RealMoneyPurchaseResource.TypeEnum

    Type of the item, for example CURRENCY, INVENTORY_ITEM, VIRTUAL_PURCHASE, MONEY_PURCHASE.

    VirtualPurchaseResource.TypeEnum

    Type of the item, for example CURRENCY, INVENTORY_ITEM, VIRTUAL_PURCHASE, MONEY_PURCHASE.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)