20 lines
No EOL
530 B
C#
20 lines
No EOL
530 B
C#
using System;
|
|
using ShiroginSDK.Runtime.Modules.IAP.Scripts.SO;
|
|
|
|
namespace ShiroginSDK.Runtime.Services.Interfaces
|
|
{
|
|
/// <summary>
|
|
/// Public interface for IAP service.
|
|
/// </summary>
|
|
public interface IIAPService
|
|
{
|
|
bool IsInitialized { get; }
|
|
|
|
StoreRepository StoreRepository { get; }
|
|
|
|
void Buy(StoreItem item, Action<StoreItem> onSuccess = null);
|
|
void Buy(string productId);
|
|
void RestorePurchases();
|
|
string GetLocalizedPriceString(string productId);
|
|
}
|
|
} |