Table of Contents

Class PriceRaw

Namespace
Dynamicweb.Ecommerce.Prices
Assembly
Dynamicweb.Ecommerce.dll
Represents a placeholder for an amount and a currency. PriceRaw is a simple unqualified price, that's mostly used internally by the PriceManager or by PriceProviders.
[Serializable]
public class PriceRaw : IPriceSourceInfo
Inheritance
PriceRaw
Implements
Inherited Members

Remarks

A PriceRaw have no indicators to tell if VAT is included or if rounding have been perfomed. If you need to work with qualified prices, use PriceInfo.

Constructors

PriceRaw()

Initializes a new instance of the PriceRaw class.
public PriceRaw()

PriceRaw(double, Currency)

Initializes a new instance of the PriceRaw class with a Price and a Currency.
public PriceRaw(double price, Currency currency)

Parameters

price double
The amount of the Currency.
currency Currency
The Currency of the Amount.

Properties

Currency

The Currency of the PriceRaw
public Currency Currency { get; set; }

Property Value

Currency

Price

The Amount of the PriceRaw
public double Price { get; set; }

Property Value

double

PriceSource

Gets or sets a value indicating what price provider generate price.
public PriceSource? PriceSource { get; set; }

Property Value

PriceSource?
To top