lib_unity_purchase/Runtime/Stores/TransactionHistory/ITransactionHistoryExtensio...

25 lines
930 B
C#
Raw Permalink Normal View History

2024-01-29 18:49:33 +08:00
using System;
using System.Collections.Generic;
using UnityEngine.Purchasing.Extension;
namespace UnityEngine.Purchasing
{
/// <summary>
/// IAP transaction history and debugging extension.
/// </summary>
public interface ITransactionHistoryExtensions : IStoreExtension
{
/// <summary>
/// Get the description of the last received purchase failure.
/// </summary>
/// <returns> The <c>PurchaseFailureDescription</c> associated with the last failed purchase. </returns>
PurchaseFailureDescription GetLastPurchaseFailureDescription();
/// <summary>
/// Gets the store-specfic error code of the last received purchase failure.
/// </summary>
/// <returns> The <c>StoreSpecificPurchaseErrorCode</c> associated with the last failed purchase. </returns>
StoreSpecificPurchaseErrorCode GetLastStoreSpecificPurchaseErrorCode();
}
}