Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out 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