using System;
using System.Collections.Generic;
using UnityEngine.Purchasing.Extension;
namespace UnityEngine.Purchasing
{
///
/// IAP transaction history and debugging extension.
///
public interface ITransactionHistoryExtensions : IStoreExtension
{
///
/// Get the description of the last received purchase failure.
///
/// The PurchaseFailureDescription associated with the last failed purchase.
PurchaseFailureDescription GetLastPurchaseFailureDescription();
///
/// Gets the store-specfic error code of the last received purchase failure.
///
/// The StoreSpecificPurchaseErrorCode associated with the last failed purchase.
StoreSpecificPurchaseErrorCode GetLastStoreSpecificPurchaseErrorCode();
}
}