Table of Contents

Interface IPriceCalculationRequestItem<TProductIdentifier>

Namespace
CMS.Commerce
Assembly
CMS.Commerce.dll

Defines the contract for an item included in a price calculation request. Each item represents a product and its quantity for which pricing is to be calculated.

public interface IPriceCalculationRequestItem<out TProductIdentifier> where TProductIdentifier : ProductIdentifier

Type Parameters

TProductIdentifier

Product identifier type.

Extension Methods

Properties

ProductIdentifier

Unique identifier for the associated product in the cart. Used to link calculation logic to a specific cart item.

TProductIdentifier ProductIdentifier { get; }

Property Value

TProductIdentifier

Quantity

The quantity of the product being purchased or processed.

decimal Quantity { get; init; }

Property Value

decimal