using EImece.Domain.Entities;
using EImece.Domain.Models.FrontModels;
using Iyzipay.Model;

namespace EImece.Domain.Services.IServices
{
    public interface IShoppingCartService : IBaseEntityService<ShoppingCart>
    {
        ShoppingCart GetShoppingCartByOrderGuid(string orderGuid);

        void SaveOrEditShoppingCart(ShoppingCart item);

        Order SaveShoppingCart(ShoppingCartSession shoppingCart, CheckoutForm checkoutForm, string userId);

        void DeleteByOrderGuid(string orderGuid);
        object SaveBuyNow(BuyNowModel buyNowSession, CheckoutForm checkoutForm);
    }
}