Метод | Описание | |
---|---|---|
BestSellersReport ( System.DateTime startTime, System.DateTime endTime, OrderStatus os, PaymentStatus ps, ShippingStatus ss, int billingCountryId, int recordsToReturn = 5, int orderBy = 1, int groupBy = 1, bool showHidden = false ) : IList |
Get best sellers report
|
|
GetOrderAverageReportLine ( OrderStatus os, PaymentStatus ps, ShippingStatus ss, System.DateTime startTimeUtc, System.DateTime endTimeUtc, string billingEmail, bool ignoreCancelledOrders = false ) : Nop.Core.Domain.Orders.OrderAverageReportLine |
Get order average report
|
|
GetProductsAlsoPurchasedById ( int productId, int recordsToReturn = 5, bool showHidden = false ) : IList |
Gets a list of products purchased by other customers who purchased the above
|
|
OrderAverageReport ( OrderStatus os ) : OrderAverageReportLineSummary |
Get order average report
|
|
OrderReportService ( IRepository |
Ctor
|
|
ProductsNeverSold ( DateTime startTime, DateTime endTime, int pageIndex, int pageSize, bool showHidden = false ) : IPagedList |
Gets a list of product variants that were never sold
|
|
ProfitReport ( OrderStatus os, PaymentStatus ps, ShippingStatus ss, DateTime startTimeUtc, DateTime endTimeUtc, string billingEmail ) : decimal |
Get profit report
|
public BestSellersReport ( System.DateTime startTime, System.DateTime endTime, OrderStatus os, PaymentStatus ps, ShippingStatus ss, int billingCountryId, int recordsToReturn = 5, int orderBy = 1, int groupBy = 1, bool showHidden = false ) : IList |
||
startTime | System.DateTime | Order start time; null to load all |
endTime | System.DateTime | Order end time; null to load all |
os | OrderStatus | Order status; null to load all records |
ps | PaymentStatus | Order payment status; null to load all records |
ss | ShippingStatus | Shipping status; null to load all records |
billingCountryId | int | Billing country identifier; 0 to load all records |
recordsToReturn | int | Records to return |
orderBy | int | 1 - order by quantity, 2 - order by total amount |
groupBy | int | 1 - group by product variants, 2 - group by products |
showHidden | bool | A value indicating whether to show hidden records |
Результат | IList |
public GetOrderAverageReportLine ( OrderStatus os, PaymentStatus ps, ShippingStatus ss, System.DateTime startTimeUtc, System.DateTime endTimeUtc, string billingEmail, bool ignoreCancelledOrders = false ) : Nop.Core.Domain.Orders.OrderAverageReportLine | ||
os | OrderStatus | Order status |
ps | PaymentStatus | Payment status |
ss | ShippingStatus | Shipping status |
startTimeUtc | System.DateTime | Start date |
endTimeUtc | System.DateTime | End date |
billingEmail | string | Billing email. Leave empty to load all records. |
ignoreCancelledOrders | bool | A value indicating whether to ignore cancelled orders |
Результат | Nop.Core.Domain.Orders.OrderAverageReportLine |
public GetProductsAlsoPurchasedById ( int productId, int recordsToReturn = 5, bool showHidden = false ) : IList |
||
productId | int | Product identifier |
recordsToReturn | int | Records to return |
showHidden | bool | A value indicating whether to show hidden records |
Результат | IList |
public OrderAverageReport ( OrderStatus os ) : OrderAverageReportLineSummary | ||
os | OrderStatus | Order status |
Результат | OrderAverageReportLineSummary |
public OrderReportService ( IRepository |
||
orderRepository | IRepository |
Order repository |
opvRepository | IRepository |
Order product variant repository |
productRepository | IRepository |
Product repository |
productVariantRepository | IRepository |
Product variant repository |
dateTimeHelper | IDateTimeHelper | Datetime helper |
productService | IProductService | Product service |
Результат | System |
public ProductsNeverSold ( DateTime startTime, DateTime endTime, int pageIndex, int pageSize, bool showHidden = false ) : IPagedList |
||
startTime | DateTime | Order start time; null to load all |
endTime | DateTime | Order end time; null to load all |
pageIndex | int | Page index |
pageSize | int | Page size |
showHidden | bool | A value indicating whether to show hidden records |
Результат | IPagedList |
public ProfitReport ( OrderStatus os, PaymentStatus ps, ShippingStatus ss, DateTime startTimeUtc, DateTime endTimeUtc, string billingEmail ) : decimal | ||
os | OrderStatus | Order status; null to load all records |
ps | PaymentStatus | Order payment status; null to load all records |
ss | ShippingStatus | Shipping status; null to load all records |
startTimeUtc | DateTime | Start date |
endTimeUtc | DateTime | End date |
billingEmail | string | Billing email. Leave empty to load all records. |
Результат | decimal |