lib_unity_purchase/Runtime/AppleCore/INativeAppleStore.cs

24 lines
961 B
C#
Raw Normal View History

2024-01-29 18:49:33 +08:00
namespace UnityEngine.Purchasing
{
internal interface INativeAppleStore : INativeStore
{
void SetUnityPurchasingCallback(UnityPurchasingCallback AsyncCallback);
void RestoreTransactions();
void RefreshAppReceipt();
void AddTransactionObserver();
void SetApplicationUsername(string applicationUsername);
string appReceipt { get; }
double appReceiptModificationDate { get; }
bool canMakePayments { get; }
bool simulateAskToBuy { get; set; }
void FetchStorePromotionOrder();
void SetStorePromotionOrder(string json);
void FetchStorePromotionVisibility(string productId);
void SetStorePromotionVisibility(string productId, string visibility);
string GetTransactionReceiptForProductId(string productId);
void InterceptPromotionalPurchases();
void ContinuePromotionalPurchases();
void PresentCodeRedemptionSheet();
}
}