docs.unity.cn
    Show / Hide Table of Contents

    Interface ITransactionHistoryExtensions

    IAP transaction history and debugging extension.

    Namespace: UnityEngine.Purchasing
    Syntax
    public interface ITransactionHistoryExtensions : IStoreExtension

    Methods

    GetLastPurchaseFailureDescription()

    Get the description of the last received purchase failure.

    Declaration
    PurchaseFailureDescription GetLastPurchaseFailureDescription()
    Returns
    Type Description
    PurchaseFailureDescription

    The PurchaseFailureDescription associated with the last failed purchase.

    GetLastStoreSpecificPurchaseErrorCode()

    Gets the store-specfic error code of the last received purchase failure.

    Declaration
    StoreSpecificPurchaseErrorCode GetLastStoreSpecificPurchaseErrorCode()
    Returns
    Type Description
    StoreSpecificPurchaseErrorCode

    The StoreSpecificPurchaseErrorCode associated with the last failed purchase.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 20 April 2021