Méthode | Description | |
---|---|---|
DeleteOrder ( Nop.Core.Domain.Orders.Order order ) : void |
Deletes an order
|
|
DeleteOrderNote ( Nop.Core.Domain.Orders.OrderNote orderNote ) : void |
Deletes an order note
|
|
DeleteOrderProductVariant ( Nop.Core.Domain.Orders.OrderProductVariant orderProductVariant ) : void |
Delete an order product variant
|
|
DeleteRecurringPayment ( Nop.Core.Domain.Orders.RecurringPayment recurringPayment ) : void |
Deletes a recurring payment
|
|
DeleteReturnRequest ( Nop.Core.Domain.Orders.ReturnRequest returnRequest ) : void |
Deletes a return request
|
|
GetAllOrderProductVariants ( int orderId, int customerId, System.DateTime startTime, System.DateTime endTime, OrderStatus os, PaymentStatus ps, ShippingStatus ss, bool loadDownloableProductsOnly ) : IList |
Gets all order product variants
|
|
GetOrderByAuthorizationTransactionIdAndPaymentMethod ( string authorizationTransactionId, string paymentMethodSystemName ) : Nop.Core.Domain.Orders.Order |
Get an order by authorization transaction ID and payment method system name
|
|
GetOrderByGuid ( System.Guid orderGuid ) : Nop.Core.Domain.Orders.Order |
Gets an order
|
|
GetOrderById ( int orderId ) : Nop.Core.Domain.Orders.Order |
Gets an order
|
|
GetOrderProductVariantByGuid ( System.Guid orderProductVariantGuid ) : Nop.Core.Domain.Orders.OrderProductVariant |
Gets an order product variant
|
|
GetOrderProductVariantById ( int orderProductVariantId ) : Nop.Core.Domain.Orders.OrderProductVariant |
Gets an order product variant
|
|
GetOrdersByAffiliateId ( int affiliateId, int pageIndex, int pageSize ) : IPagedList |
Gets all orders by affiliate identifier
|
|
GetOrdersByCustomerId ( int customerId ) : IList |
Gets all orders by customer identifier
|
|
GetOrdersByIds ( int orderIds ) : IList |
Get orders by identifiers
|
|
GetRecurringPaymentById ( int recurringPaymentId ) : Nop.Core.Domain.Orders.RecurringPayment |
Gets a recurring payment
|
|
GetReturnRequestById ( int returnRequestId ) : Nop.Core.Domain.Orders.ReturnRequest |
Gets a return request
|
|
InsertOrder ( Nop.Core.Domain.Orders.Order order ) : void |
Inserts an order
|
|
InsertRecurringPayment ( Nop.Core.Domain.Orders.RecurringPayment recurringPayment ) : void |
Inserts a recurring payment
|
|
OrderService ( IRepository |
Ctor
|
|
SearchOrders ( System.DateTime startTime, System.DateTime endTime, OrderStatus os, PaymentStatus ps, ShippingStatus ss, string billingEmail, string orderGuid, int pageIndex, int pageSize ) : IPagedList |
Search orders
|
|
SearchRecurringPayments ( int customerId, int initialOrderId, OrderStatus initialOrderStatus, int pageIndex, int pageSize, bool showHidden = false ) : IPagedList |
Search recurring payments
|
|
SearchReturnRequests ( int customerId, int orderProductVariantId, ReturnRequestStatus rs, int pageIndex, int pageSize ) : IPagedList |
Search return requests
|
|
UpdateOrder ( Nop.Core.Domain.Orders.Order order ) : void |
Updates the order
|
|
UpdateRecurringPayment ( Nop.Core.Domain.Orders.RecurringPayment recurringPayment ) : void |
Updates the recurring payment
|
public DeleteOrder ( Nop.Core.Domain.Orders.Order order ) : void | ||
order | Nop.Core.Domain.Orders.Order | The order |
Résultat | void |
public DeleteOrderNote ( Nop.Core.Domain.Orders.OrderNote orderNote ) : void | ||
orderNote | Nop.Core.Domain.Orders.OrderNote | The order note |
Résultat | void |
public DeleteOrderProductVariant ( Nop.Core.Domain.Orders.OrderProductVariant orderProductVariant ) : void | ||
orderProductVariant | Nop.Core.Domain.Orders.OrderProductVariant | The order product variant |
Résultat | void |
public DeleteRecurringPayment ( Nop.Core.Domain.Orders.RecurringPayment recurringPayment ) : void | ||
recurringPayment | Nop.Core.Domain.Orders.RecurringPayment | Recurring payment |
Résultat | void |
public DeleteReturnRequest ( Nop.Core.Domain.Orders.ReturnRequest returnRequest ) : void | ||
returnRequest | Nop.Core.Domain.Orders.ReturnRequest | Return request |
Résultat | void |
public GetAllOrderProductVariants ( int orderId, int customerId, System.DateTime startTime, System.DateTime endTime, OrderStatus os, PaymentStatus ps, ShippingStatus ss, bool loadDownloableProductsOnly ) : IList |
||
orderId | int | Order identifier; null to load all records |
customerId | int | Customer identifier; null to load all records |
startTime | System.DateTime | Order start time; null to load all records |
endTime | System.DateTime | Order end time; null to load all records |
os | OrderStatus | Order status; null to load all records |
ps | PaymentStatus | Order payment status; null to load all records |
ss | ShippingStatus | Order shippment status; null to load all records |
loadDownloableProductsOnly | bool | Value indicating whether to load downloadable products only |
Résultat | IList |
public GetOrderByAuthorizationTransactionIdAndPaymentMethod ( string authorizationTransactionId, string paymentMethodSystemName ) : Nop.Core.Domain.Orders.Order | ||
authorizationTransactionId | string | Authorization transaction ID |
paymentMethodSystemName | string | Payment method system name |
Résultat | Nop.Core.Domain.Orders.Order |
public GetOrderByGuid ( System.Guid orderGuid ) : Nop.Core.Domain.Orders.Order | ||
orderGuid | System.Guid | The order identifier |
Résultat | Nop.Core.Domain.Orders.Order |
public GetOrderById ( int orderId ) : Nop.Core.Domain.Orders.Order | ||
orderId | int | The order identifier |
Résultat | Nop.Core.Domain.Orders.Order |
public GetOrderProductVariantByGuid ( System.Guid orderProductVariantGuid ) : Nop.Core.Domain.Orders.OrderProductVariant | ||
orderProductVariantGuid | System.Guid | Order product variant identifier |
Résultat | Nop.Core.Domain.Orders.OrderProductVariant |
public GetOrderProductVariantById ( int orderProductVariantId ) : Nop.Core.Domain.Orders.OrderProductVariant | ||
orderProductVariantId | int | Order product variant identifier |
Résultat | Nop.Core.Domain.Orders.OrderProductVariant |
public GetOrdersByAffiliateId ( int affiliateId, int pageIndex, int pageSize ) : IPagedList |
||
affiliateId | int | Affiliate identifier |
pageIndex | int | Page index |
pageSize | int | Page size |
Résultat | IPagedList |
public GetOrdersByCustomerId ( int customerId ) : IList |
||
customerId | int | Customer identifier |
Résultat | IList |
public GetOrdersByIds ( int orderIds ) : IList |
||
orderIds | int | Order identifiers |
Résultat | IList |
public GetRecurringPaymentById ( int recurringPaymentId ) : Nop.Core.Domain.Orders.RecurringPayment | ||
recurringPaymentId | int | The recurring payment identifier |
Résultat | Nop.Core.Domain.Orders.RecurringPayment |
public GetReturnRequestById ( int returnRequestId ) : Nop.Core.Domain.Orders.ReturnRequest | ||
returnRequestId | int | Return request identifier |
Résultat | Nop.Core.Domain.Orders.ReturnRequest |
public InsertOrder ( Nop.Core.Domain.Orders.Order order ) : void | ||
order | Nop.Core.Domain.Orders.Order | Order |
Résultat | void |
public InsertRecurringPayment ( Nop.Core.Domain.Orders.RecurringPayment recurringPayment ) : void | ||
recurringPayment | Nop.Core.Domain.Orders.RecurringPayment | Recurring payment |
Résultat | void |
public OrderService ( IRepository |
||
orderRepository | IRepository |
Order repository |
opvRepository | IRepository |
Order product variant repository |
orderNoteRepository | IRepository |
Order note repository |
pvRepository | IRepository |
Product variant repository |
recurringPaymentRepository | IRepository |
Recurring payment repository |
customerRepository | IRepository |
Customer repository |
returnRequestRepository | IRepository |
Return request repository |
eventPublisher | IEventPublisher | Event published |
Résultat | System |
public SearchOrders ( System.DateTime startTime, System.DateTime endTime, OrderStatus os, PaymentStatus ps, ShippingStatus ss, string billingEmail, string orderGuid, int pageIndex, int pageSize ) : IPagedList |
||
startTime | System.DateTime | Order start time; null to load all orders |
endTime | System.DateTime | Order end time; null to load all orders |
os | OrderStatus | Order status; null to load all orders |
ps | PaymentStatus | Order payment status; null to load all orders |
ss | ShippingStatus | Order shippment status; null to load all orders |
billingEmail | string | Billing email. Leave empty to load all records. |
orderGuid | string | Search by order GUID (Global unique identifier) or part of GUID. Leave empty to load all orders. |
pageIndex | int | Page index |
pageSize | int | Page size |
Résultat | IPagedList |
public SearchRecurringPayments ( int customerId, int initialOrderId, OrderStatus initialOrderStatus, int pageIndex, int pageSize, bool showHidden = false ) : IPagedList |
||
customerId | int | The customer identifier; 0 to load all records |
initialOrderId | int | The initial order identifier; 0 to load all records |
initialOrderStatus | OrderStatus | Initial order status identifier; null to load all records |
pageIndex | int | Page index |
pageSize | int | Page size |
showHidden | bool | A value indicating whether to show hidden records |
Résultat | IPagedList |
public SearchReturnRequests ( int customerId, int orderProductVariantId, ReturnRequestStatus rs, int pageIndex, int pageSize ) : IPagedList |
||
customerId | int | Customer identifier; null to load all entries |
orderProductVariantId | int | Order product variant identifier; null to load all entries |
rs | ReturnRequestStatus | Return request status; null to load all entries |
pageIndex | int | Page index |
pageSize | int | Page size |
Résultat | IPagedList |
public UpdateOrder ( Nop.Core.Domain.Orders.Order order ) : void | ||
order | Nop.Core.Domain.Orders.Order | The order |
Résultat | void |
public UpdateRecurringPayment ( Nop.Core.Domain.Orders.RecurringPayment recurringPayment ) : void | ||
recurringPayment | Nop.Core.Domain.Orders.RecurringPayment | Recurring payment |
Résultat | void |