Table of Contents

Interface IPriceCalculationResult

Namespace
CMS.Commerce
Assembly
CMS.Commerce.dll

Represents the result of calculating prices for an order, including itemized prices, totals, taxes, and shipping.

public interface IPriceCalculationResult
Extension Methods

Properties

GrandTotal

The final amount to be paid. Total price + shipping (+ additional taxes) - gift card promotions.

decimal GrandTotal { get; set; }

Property Value

decimal

Items

Items of calculation result for internal use.

IEnumerable<IPriceCalculationResultItem<ProductIdentifier, ProductData>> Items { get; }

Property Value

IEnumerable<IPriceCalculationResultItem<ProductIdentifier, ProductData>>

PromotionData

Promotion data.

PriceCalculationResultPromotionData PromotionData { get; }

Property Value

PriceCalculationResultPromotionData

ShippingPrice

The price for shipping.

decimal ShippingPrice { get; set; }

Property Value

decimal

ShippingTax

Nominal amount of shipping tax.

decimal ShippingTax { get; set; }

Property Value

decimal

TotalPrice

The total price of all items after applying all promotions.

decimal TotalPrice { get; set; }

Property Value

decimal

TotalTax

Total tax value.

decimal TotalTax { get; set; }

Property Value

decimal