Class OrderGroupExtensions
Provides extensions for OrderGroup when for creating implementations of IOrderProvider<T>
Inheritance
System.Object
OrderGroupExtensions
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: EPiServer.Commerce.Order
Assembly: EPiServer.Business.Commerce.dll
Version: 10.8.0Syntax
public static class OrderGroupExtensions
Methods
Save(OrderGroup, IOrderGroupTotalsCalculator, ReferenceConverter, IContentLoader, ICatalogSystem, IRelationRepository)
Saves the specified order group totals calculator.
Declaration
[Obsolete("Use with LanguageResolver instead. Will remain at least until January 2018.")]
public static OrderReference Save(this OrderGroup orderGroup, IOrderGroupTotalsCalculator orderGroupTotalsCalculator, ReferenceConverter referenceConverter, IContentLoader contentLoader, ICatalogSystem catalogSystem, IRelationRepository relationRepository)
Parameters
Type | Name | Description |
---|---|---|
OrderGroup | orderGroup | The order group. |
IOrderGroupTotalsCalculator | orderGroupTotalsCalculator | The order group totals calculator. |
ReferenceConverter | referenceConverter | The reference converter. |
EPiServer.IContentLoader | contentLoader | The content loader. |
ICatalogSystem | catalogSystem | The catalog system. |
IRelationRepository | relationRepository | The relation repository. |
Returns
Type | Description |
---|---|
OrderReference |
Save(OrderGroup, IOrderGroupTotalsCalculator, ReferenceConverter, IContentLoader, ICatalogSystem, IRelationRepository, LanguageResolver)
Saves the specified order group totals calculator.
Declaration
public static OrderReference Save(this OrderGroup orderGroup, IOrderGroupTotalsCalculator orderGroupTotalsCalculator, ReferenceConverter referenceConverter, IContentLoader contentLoader, ICatalogSystem catalogSystem, IRelationRepository relationRepository, LanguageResolver languageResolver)
Parameters
Type | Name | Description |
---|---|---|
OrderGroup | orderGroup | The order group. |
IOrderGroupTotalsCalculator | orderGroupTotalsCalculator | The order group totals calculator. |
ReferenceConverter | referenceConverter | The reference converter. |
EPiServer.IContentLoader | contentLoader | The content loader. |
ICatalogSystem | catalogSystem | The catalog system. |
IRelationRepository | relationRepository | The relation repository. |
EPiServer.Globalization.LanguageResolver | languageResolver | The language resolved. |
Returns
Type | Description |
---|---|
OrderReference |