Class PriceContext
- Namespace
- Dynamicweb.Ecommerce.Prices
- Assembly
- Dynamicweb.Ecommerce.dll
Represents the context for price calculations.
- Inheritance
-
Price
Context
- Implements
- Inherited Members
Constructors
PriceContext(Currency, Country)
Creates an instance of Price
Parameters
PriceContext(Currency, Country, Shop, User, bool, DateTime?)
Creates an instance of Price
public PriceContext(Currency currency, Country country, Shop shop, User customer, bool reverseChargeForVat, DateTime? time)
Parameters
currency
CurrencyCurrency
country
CountryCountry
shop
ShopShop
customer
UserCustomer
reverseChargeForVat
booltime
DateTime ?Time
PriceContext(SerializationInfo, StreamingContext)
Parameters
info
SerializationInfo context
StreamingContext
Properties
Country
Gets the country
Property Value
Currency
Gets the currency
Property Value
Customer
Gets the customer (user)
Property Value
ReverseChargeForVat
Gets a value which indicates if reverse charge for VAT should be used
Property Value
Shop
Gets the shop
Property Value
Time
Gets the time