London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Class ReportingDataLoader

This type/member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Loads reporting data from data warehouse.

Inheritance
System.Object
ReportingDataLoader
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.Reporting.Order.Internal.DataAccess
Assembly: EPiServer.Commerce.Reporting.dll
Version: 13.30.0
Syntax
public class ReportingDataLoader

Constructors

ReportingDataLoader(ReportingAdditionalDataHandler)

Initializes a new instance of the ReportingDataLoader class.

Declaration
public ReportingDataLoader(ReportingAdditionalDataHandler reportingAdditionalDataHandler)
Parameters
Type Name Description
ReportingAdditionalDataHandler reportingAdditionalDataHandler

The reporting additional data handler.

Methods

GetAggregatedReportingData(Decimal)

Gets aggregated data for sales report by day.

Declaration
public IEnumerable<SalesByDayReportingModel> GetAggregatedReportingData(decimal timeZoneOffset)
Parameters
Type Name Description
System.Decimal timeZoneOffset

The time zone offset in minutes.

Returns
Type Description
System.Collections.Generic.IEnumerable<SalesByDayReportingModel>

GetReportingData(DateTime, DateTime)

Gets data for report during a period of time.

Declaration
public IEnumerable<LineItemReportingModel> GetReportingData(DateTime fromDate, DateTime toDate)
Parameters
Type Name Description
System.DateTime fromDate

The start date to export.

System.DateTime toDate

The end date to export.

Returns
Type Description
System.Collections.Generic.IEnumerable<LineItemReportingModel>

GetSubscriptionReportingData(DateTime, DateTime)

Gets data for report during a period of time.

Declaration
public IEnumerable<LineItemSubscriptionReportingModel> GetSubscriptionReportingData(DateTime fromDate, DateTime toDate)
Parameters
Type Name Description
System.DateTime fromDate

The start date to export.

System.DateTime toDate

The end date to export.

Returns
Type Description
System.Collections.Generic.IEnumerable<LineItemSubscriptionReportingModel>