Try your search with a different keyword or use * as a wildcard.
using Nop.Core.Domain.Shipping;
namespace Nop.Services.Shipping;
///
/// Shipping methods service interface
///
public partial interface IShippingMethodsService
{
///
/// Deletes a shipping method
///
/// The shipping method
/// A task that represents the asynchronous operation
Task DeleteShippingMethodAsync(ShippingMethod shippingMethod);
///
/// Gets a shipping method
///
/// The shipping method identifier
///
/// A task that represents the asynchronous operation
/// The task result contains the shipping method
///
Task GetShippingMethodByIdAsync(int shippingMethodId);
///
/// Gets all shipping methods
///
/// The country identifier to filter by
///
/// A task that represents the asynchronous operation
/// The task result contains the shipping methods
///
Task> GetAllShippingMethodsAsync(int? filterByCountryId = null);
///
/// Inserts a shipping method
///
/// Shipping method
/// A task that represents the asynchronous operation
Task InsertShippingMethodAsync(ShippingMethod shippingMethod);
///
/// Updates the shipping method
///
/// Shipping method
/// A task that represents the asynchronous operation
Task UpdateShippingMethodAsync(ShippingMethod shippingMethod);
///
/// Does country restriction exist
///
/// Shipping method
/// Country identifier
///
/// A task that represents the asynchronous operation
/// The task result contains the result
///
Task CountryRestrictionExistsAsync(ShippingMethod shippingMethod, int countryId);
///
/// Gets shipping country mappings
///
/// The shipping method identifier
/// Country identifier
///
/// A task that represents the asynchronous operation
/// The task result contains the shipping country mappings
///
Task> GetShippingMethodCountryMappingAsync(int shippingMethodId, int countryId);
///
/// Inserts a shipping country mapping
///
/// Shipping country mapping
/// A task that represents the asynchronous operation
Task InsertShippingMethodCountryMappingAsync(ShippingMethodCountryMapping shippingMethodCountryMapping);
///
/// Delete the shipping country mapping
///
/// Shipping country mapping
/// A task that represents the asynchronous operation
Task DeleteShippingMethodCountryMappingAsync(ShippingMethodCountryMapping shippingMethodCountryMapping);
}