Models/PrioritizedPrice.cs

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

PrioritizedPrice.cs from OrchardCMS/OrchardCore.Commerce

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

namespace OrchardCore.Commerce.Abstractions.Models;

/// <summary>
/// A price and its priority.
/// </summary>
[JsonConverter(typeof(PrioritizedPriceConverter))]
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class PrioritizedPrice
{
    /// <summary>
    /// Gets the priority for the price (higher takes precedence).
    /// </summary>
    public int Priority { get; }

    /// <summary>
    /// Gets the price.
    /// </summary>
    publi

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

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

Get a free API key