using System.Collections.Generic; using System.Threading.Tasks; using Webshop.Application.DTOs.Orders; using Webshop.Application.DTOs.Shipping; using Webshop.Application; // Für ServiceResult namespace Webshop.Application.Services.Customers.Interfaces { public interface ICheckoutService { // Methode 1: Für den Checkout (interne Verarbeitung) Task>> GetCompatibleShippingMethodsAsync(IEnumerable items); // +++ METHODE 2: DIESE FEHLTE +++ // Für den Warenkorb-Check (kommt vom Controller als List) Task>> GetCompatibleShippingMethodsAsync(List items); Task> CreateOrderAsync(CreateOrderDto orderDto, string? userId); } }