Class CollectReportingDataJob
This class is intended to be used internally by EPiServer. We do not support any backward compatibility on this. Scheduled job that generates the reporting data in CSV format.
Inheritance
System.Object
CollectReportingDataJob
Namespace: EPiServer.Commerce.Reporting.ScheduledJobs.Internal
Assembly: EPiServer.Commerce.Reporting.dll
Version: 13.30.0Syntax
public class CollectReportingDataJob : ScheduledJobBase
Constructors
CollectReportingDataJob(LocalizationService, IReportingService, ReportingTimeRangeOptions, ReportingDataWriter)
Initializes a new instance of the CollectReportingDataJob class.
Declaration
public CollectReportingDataJob(LocalizationService localizationService, IReportingService reportingService, ReportingTimeRangeOptions options, ReportingDataWriter reportingDataWriter)
Parameters
Type | Name | Description |
---|---|---|
EPiServer.Framework.Localization.LocalizationService | localizationService | The service that is used to handle localization. |
IReportingService | reportingService | The service that is used to handle reporting process. |
ReportingTimeRangeOptions | options | The options for this scheduled job. |
ReportingDataWriter | reportingDataWriter | The reporting data writer. |
Methods
Execute()
Declaration
public override string Execute()
Returns
Type | Description |
---|---|
System.String |
SaveOrderData(DateTime, DateTime)
Saves collected data of order to data warehouse.
Declaration
public void SaveOrderData(DateTime fromDate, DateTime toDate)
Parameters
Type | Name | Description |
---|---|---|
System.DateTime | fromDate | The start date. |
System.DateTime | toDate | The end date. |