Models/OrderLineItem.cs

OrchardCore.Commerce · src/Libraries/OrchardCore.Commerce.Abstractions/Models/OrderLineItem.cs · csharp · MIT
payments, tag:knn-classified

Order line item model for OrchardCore Commerce, holding quantity, SKU, pricing, and attributes.

// Source: https://github.com/OrchardCMS/OrchardCore.Commerce | License: MIT
// Provided via justclaw.it.com; keep this notice with the code.
using OrchardCore.Commerce.Abstractions.Abstractions;
using OrchardCore.Commerce.MoneyDataType;
using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;

namespace OrchardCore.Commerce.Abstractions.Models;

public class OrderLineItem
{
    public int Quantity { get; set; }
    public string ProductSku { get; set; }
    public string FullSku { get; set; }
    public Amount UnitPrice { get; set; }
    public Amount LinePrice { get; set; }
    public string ContentItemVersion { get; set; }
    public ISet<IProductAttributeValue> Attributes { get; init; }
    public IDictionary<string, IDictionary<string, str

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key