using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace UnityEngine.Purchasing.Extension
{
///
/// Extension point for purchasing plugins.
///
/// An abstract class is provided so that methods can be added to the IStore
/// without breaking binary compatibility with existing plugins.
///
public abstract class AbstractStore : IStore
{
///
/// Terminal - no callback required
///
///
public abstract void Initialize(IStoreCallback callback);
///
/// Returns results through IStoreCallback previously passed into Initialize
///
///
public abstract void RetrieveProducts(ReadOnlyCollection products);
///
/// Returns results through IStoreCallback previously passed into Initialize
///
///
///
public abstract void Purchase(ProductDefinition product, string developerPayload);
///
/// Returns results through IStoreCallback previously passed into Initialize
///
///
///
public abstract void FinishTransaction(ProductDefinition product, string transactionId);
}
}