using Nop.Core; using Nop.Plugin.Pickup.PickupInStore.Domain; namespace Nop.Plugin.Pickup.PickupInStore.Services; /// /// Store pickup point service interface /// public interface IStorePickupPointService { /// /// Gets all pickup points /// /// The store identifier; pass 0 to load all records /// Page index /// Page size /// /// A task that represents the asynchronous operation /// The task result contains the pickup points /// Task> GetAllStorePickupPointsAsync(int storeId = 0, int pageIndex = 0, int pageSize = int.MaxValue); /// /// Gets a pickup point /// /// Pickup point identifier /// /// A task that represents the asynchronous operation /// The task result contains the pickup point /// Task GetStorePickupPointByIdAsync(int pickupPointId); /// /// Inserts a pickup point /// /// Pickup point /// A task that represents the asynchronous operation Task InsertStorePickupPointAsync(StorePickupPoint pickupPoint); /// /// Updates a pickup point /// /// Pickup point /// A task that represents the asynchronous operation Task UpdateStorePickupPointAsync(StorePickupPoint pickupPoint); /// /// Deletes a pickup point /// /// Pickup point /// A task that represents the asynchronous operation Task DeleteStorePickupPointAsync(StorePickupPoint pickupPoint); }