#nullable enable using System.Threading.Tasks; using Wino.Core.Domain.Enums; namespace Wino.Core.Domain.Interfaces; public interface IStoreManagementService { /// /// Checks whether user has the type of an add-on purchased. /// Task HasProductAsync(WinoAddOnProductType productType); /// /// Attempts to purchase the given add-on. /// Task PurchaseAsync(WinoAddOnProductType productType); /// /// Requests a Microsoft Store collections ID key for the current customer. /// Task GetCustomerCollectionsIdAsync(string serviceTicket, string publisherUserId); /// /// Requests a Microsoft Store purchase ID key for the current customer. /// Task GetCustomerPurchaseIdAsync(string serviceTicket, string publisherUserId); }