Interface IPriceCalculationResultItem<TProductIdentifier, TProductData>
Represents the result of calculating prices for a single item in an order. This interface is not intended for custom implementation. Use PriceCalculationResultItem or PriceCalculationResultItemBase<TProductIdentifier, TProductData> for extensibility.
public interface IPriceCalculationResultItem<out TProductIdentifier, out TProductData> where TProductIdentifier : ProductIdentifier where TProductData : ProductData, new()
Type Parameters
TProductIdentifierProduct identifier type.
TProductDataProduct data type.
- Extension Methods
Properties
LineTotal
decimal LineTotal { get; set; }
Property Value
- decimal
Remarks
ProductData
Product data used for the calculation and calculation result.
TProductData ProductData { get; }
Property Value
- TProductData
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
Quantity.
decimal Quantity { get; set; }
Property Value
- decimal