Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class LineItemReportingModel

The line item model for reports.

Inheritance
System.Object
LineItemReportingModel
Namespace: EPiServer.Commerce.Reporting.Order.ReportingModels
Assembly: EPiServer.Commerce.Reporting.dll
Version: 14.26.0
Syntax
public class LineItemReportingModel : LineItemStoreModel

Constructors

LineItemReportingModel()

Declaration
public LineItemReportingModel()

Properties

AdditionalValues

Gets or sets the additional properties.

Declaration
public IEnumerable<string> AdditionalValues { get; set; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.String>

Currency

The currency.

Declaration
public string Currency { get; set; }
Property Value
Type Description
System.String

CustomerId

The customer id.

Declaration
public Guid CustomerId { get; set; }
Property Value
Type Description
System.Guid

CustomerName

The customer name.

Declaration
public string CustomerName { get; set; }
Property Value
Type Description
System.String

MarketId

The order market id.

Declaration
public string MarketId { get; set; }
Property Value
Type Description
System.String

OrderNumber

The order number.

Declaration
public string OrderNumber { get; set; }
Property Value
Type Description
System.String

Site

The site.

Declaration
public string Site { get; set; }
Property Value
Type Description
System.String

Methods

GetOrderCSVHeader()

Get CSV header

Declaration
public static string GetOrderCSVHeader()
Returns
Type Description
System.String

ToString()

Convert this model to string that can be used in a csv file.

Declaration
public override string ToString()
Returns
Type Description
System.String

A string with comma-separated values.