Handling of AI pack through mmicrosoft store.

This commit is contained in:
Burak Kaan Köse
2026-04-02 15:07:05 +02:00
parent 7b369201b0
commit 8f16f553f5
26 changed files with 765 additions and 578 deletions
@@ -1,5 +1,7 @@
using System.Threading.Tasks;
#nullable enable
using System.Threading.Tasks;
using Wino.Core.Domain.Enums;
namespace Wino.Core.Domain.Interfaces;
public interface IStoreManagementService
@@ -13,4 +15,14 @@ public interface IStoreManagementService
/// Attempts to purchase the given add-on.
/// </summary>
Task<StorePurchaseResult> PurchaseAsync(WinoAddOnProductType productType);
/// <summary>
/// Requests a Microsoft Store collections ID key for the current customer.
/// </summary>
Task<string?> GetCustomerCollectionsIdAsync(string serviceTicket, string publisherUserId);
/// <summary>
/// Requests a Microsoft Store purchase ID key for the current customer.
/// </summary>
Task<string?> GetCustomerPurchaseIdAsync(string serviceTicket, string publisherUserId);
}