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
LineSubtotalAfterAllDiscounts
The price of all items after all applicable discounts were applied.
decimal LineSubtotalAfterAllDiscounts { get; set; }
Property Value
- decimal
Remarks
The discounts included are catalog discounts and proportion of order item promotion split by weight according to all items in the order.
LineSubtotalAfterLineDiscount
The price of all items after catalog discount was applied.
decimal LineSubtotalAfterLineDiscount { get; set; }
Property Value
- decimal
LineTaxAmount
Nominal amount of tax paid.
decimal LineTaxAmount { get; set; }
Property Value
- decimal
LineTotalPrice
The price of all items after all discounts were applied.
decimal LineTotalPrice { get; set; }
Property Value
- decimal
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
PromotionData
Promotion data.
PriceCalculationResultItemPromotionData PromotionData { get; }
Property Value
Quantity
Quantity.
decimal Quantity { get; set; }
Property Value
- decimal
TaxRate
Tax rate.
decimal TaxRate { get; set; }
Property Value
- decimal