Class PriceTypeConfiguration
The class to manage price type configuration.
Inheritance
System.Object
PriceTypeConfiguration
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Pricing
Assembly: Mediachase.Commerce.dll
Version: 13.30.0Syntax
public class PriceTypeConfiguration
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> |