Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
using Grand.Domain.Orders;
namespace Grand.Business.Core.Interfaces.Checkout.CheckoutAttributes;
/// <summary>
/// Checkout attribute service
/// </summary>
public interface ICheckoutAttributeService
{
#region Checkout attributes
/// <summary>
/// Gets all checkout attributes
/// </summary>
/// <param name="storeId">Store identifier</param>
/// <param name="excludeShippableAttributes">A value indicating whether we should exclude shippable attributes</param>
/// <param name="ignoreAcl"></param>
/// <returns>Checkout attributes</returns>
Task<IList<CheckoutAttribute>> GetAllCheckoutAttributes(string storeId = "",
bool excludeShippableAttributes = false, bool ignoreAcl = false);
/// <summary>
/// Gets a checkout attribute
/// </summary>
/// <param name="checkoutAttributeId">Checkout attribute identifier</param>
/// <returns>Checkout attribute</returns>
Task<CheckoutAttribute> GetCheckoutAttributeById(string checkoutAttributeId);
/// <summary>
/// Inserts a checkout attribute
/// </summary>
/// <param name="checkoutAttribute">Checkout attribute</param>
Task InsertCheckoutAttribute(CheckoutAttribute checkoutAttribute);
/// <summary>
/// Updates the checkout attribute
/// </summary>
/// <param name="checkoutAttribute">Checkout attribute</param>
Task UpdateCheckoutAttribute(CheckoutAttribute checkoutAttribute);
/// <summary>
/// Deletes a checkout attribute
/// </summary>
/// <param name="checkoutAttribute">Checkout attribute</param>
Task DeleteCheckoutAttribute(CheckoutAttribute checkoutAttribute);
#endregion
}