Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

IDateRangeService.cs

using Nop.Core.Domain.Shipping;

namespace Nop.Services.Shipping.Date;

/// 
/// Date range service interface
/// 
public partial interface IDateRangeService
{
    #region Delivery dates

    /// 
    /// Delete a delivery date
    /// 
    /// The delivery date
    /// A task that represents the asynchronous operation
    Task DeleteDeliveryDateAsync(DeliveryDate deliveryDate);

    /// 
    /// Get a delivery date
    /// 
    /// The delivery date identifier
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the delivery date
    /// 
    Task GetDeliveryDateByIdAsync(int deliveryDateId);

    /// 
    /// Get all delivery dates
    /// 
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the delivery dates
    /// 
    Task> GetAllDeliveryDatesAsync();

    /// 
    /// Insert a delivery date
    /// 
    /// Delivery date
    /// A task that represents the asynchronous operation
    Task InsertDeliveryDateAsync(DeliveryDate deliveryDate);

    /// 
    /// Update the delivery date
    /// 
    /// Delivery date
    /// A task that represents the asynchronous operation
    Task UpdateDeliveryDateAsync(DeliveryDate deliveryDate);

    #endregion

    #region Product availability ranges

    /// 
    /// Get a product availability range
    /// 
    /// The product availability range identifier
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the product availability range
    /// 
    Task GetProductAvailabilityRangeByIdAsync(int productAvailabilityRangeId);

    /// 
    /// Get all product availability ranges
    /// 
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the product availability ranges
    /// 
    Task> GetAllProductAvailabilityRangesAsync();

    /// 
    /// Insert the product availability range
    /// 
    /// Product availability range
    /// A task that represents the asynchronous operation
    Task InsertProductAvailabilityRangeAsync(ProductAvailabilityRange productAvailabilityRange);

    /// 
    /// Update the product availability range
    /// 
    /// Product availability range
    /// A task that represents the asynchronous operation
    Task UpdateProductAvailabilityRangeAsync(ProductAvailabilityRange productAvailabilityRange);

    /// 
    /// Delete the product availability range
    /// 
    /// Product availability range
    /// A task that represents the asynchronous operation
    Task DeleteProductAvailabilityRangeAsync(ProductAvailabilityRange productAvailabilityRange);

    #endregion
}