Webiant Logo Webiant Logo
  1. No results found.

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

IShippingByWeightByTotalService.cs

using Nop.Core;
using Nop.Plugin.Shipping.FixedByWeightByTotal.Domain;

namespace Nop.Plugin.Shipping.FixedByWeightByTotal.Services;

/// 
/// Represents service shipping by weight service
/// 
public interface IShippingByWeightByTotalService
{
    /// 
    /// Get a shipping by weight record by passed parameters
    /// 
    /// Shipping method identifier
    /// Store identifier
    /// Warehouse identifier
    /// Country identifier
    /// State identifier
    /// Zip postal code
    /// Weight
    /// Order subtotal
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the shipping by weight record
    /// 
    Task FindRecordsAsync(int shippingMethodId, int storeId, int warehouseId,
        int countryId, int stateProvinceId, string zip, decimal weight, decimal orderSubtotal);

    /// 
    /// Filter Shipping Weight Records
    /// 
    /// Shipping method identifier
    /// Store identifier
    /// Warehouse identifier
    /// Country identifier
    /// State identifier
    /// Zip postal code
    /// Weight
    /// Order subtotal
    /// Page index
    /// Page size
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the list of the shipping by weight record
    /// 
    Task> FindRecordsAsync(int shippingMethodId, int storeId, int warehouseId,
        int countryId, int stateProvinceId, string zip, decimal? weight, decimal? orderSubtotal, int pageIndex, int pageSize);

    /// 
    /// Get a shipping by weight record by identifier
    /// 
    /// Record identifier
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the shipping by weight record
    /// 
    Task GetByIdAsync(int shippingByWeightRecordId);

    /// 
    /// Insert the shipping by weight record
    /// 
    /// Shipping by weight record
    /// A task that represents the asynchronous operation
    Task InsertShippingByWeightRecordAsync(ShippingByWeightByTotalRecord shippingByWeightRecord);

    /// 
    /// Update the shipping by weight record
    /// 
    /// Shipping by weight record
    /// A task that represents the asynchronous operation
    Task UpdateShippingByWeightRecordAsync(ShippingByWeightByTotalRecord shippingByWeightRecord);

    /// 
    /// Delete the shipping by weight record
    /// 
    /// Shipping by weight record
    /// A task that represents the asynchronous operation
    Task DeleteShippingByWeightRecordAsync(ShippingByWeightByTotalRecord shippingByWeightRecord);
}