Class PriceTypeConfiguration
The class to manage price type configuration.
Inheritance
System.Object
PriceTypeConfiguration
Namespace: Mediachase.Commerce.Pricing
Assembly: Mediachase.Commerce.dll
Version: 14.26.0Syntax
public class PriceTypeConfiguration : Object
Constructors
PriceTypeConfiguration()
Declaration
public PriceTypeConfiguration()
PriceTypeConfiguration(IEnumerable<SalePriceTypeDefinition>)
Declaration
public PriceTypeConfiguration(IEnumerable<SalePriceTypeDefinition> configuredPriceTypes)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<SalePriceTypeDefinition> | configuredPriceTypes |
Properties
Instance
Declaration
public static PriceTypeConfiguration Instance { get; }
Property Value
Type | Description |
---|---|
PriceTypeConfiguration |
PriceTypeDefinitions
Gets price types from enum and configuration file.
Declaration
public virtual IDictionary<CustomerPricing.PriceType, PriceTypeDefinition> PriceTypeDefinitions { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<CustomerPricing.PriceType, PriceTypeDefinition> |