A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Interface IOrderExporter

The service for the exporting orders.

Namespace: EPiServer.Commerce.ODP
Assembly: EPiServer.Commerce.ODP.dll
Version: 14.26.0
Syntax
public interface IOrderExporter

Methods

Export(Action<String>)

Export orders to ODP.

Declaration
ExportResult Export(Action<string> uiNotifier)
Parameters
Type Name Description
System.Action<System.String> uiNotifier

The ui notifier

Returns
Type Description
ExportResult

The number of errors

Export(DateTime, DateTime, Action<String>)

Export orders to ODP.

Declaration
ExportResult Export(DateTime fromDate, DateTime toDate, Action<string> uiNotifier)
Parameters
Type Name Description
System.DateTime fromDate

The start date to export.

System.DateTime toDate

The end date to export.

System.Action<System.String> uiNotifier

The ui notifier

Returns
Type Description
ExportResult

The number of errors