C# 클래스 Nop.Services.Orders.OrderService

Order service
상속: IOrderService
파일 보기 프로젝트 열기: emilianionascu/NopCommerce

공개 메소드들

메소드 설명
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 orderRepository, IRepository opvRepository, IRepository orderNoteRepository, IRepository pvRepository, IRepository recurringPaymentRepository, IRepository customerRepository, IRepository returnRequestRepository, IEventPublisher eventPublisher ) : System

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

메소드 상세

DeleteOrder() 공개 메소드

Deletes an order
public DeleteOrder ( Nop.Core.Domain.Orders.Order order ) : void
order Nop.Core.Domain.Orders.Order The order
리턴 void

DeleteOrderNote() 공개 메소드

Deletes an order note
public DeleteOrderNote ( Nop.Core.Domain.Orders.OrderNote orderNote ) : void
orderNote Nop.Core.Domain.Orders.OrderNote The order note
리턴 void

DeleteOrderProductVariant() 공개 메소드

Delete an order product variant
public DeleteOrderProductVariant ( Nop.Core.Domain.Orders.OrderProductVariant orderProductVariant ) : void
orderProductVariant Nop.Core.Domain.Orders.OrderProductVariant The order product variant
리턴 void

DeleteRecurringPayment() 공개 메소드

Deletes a recurring payment
public DeleteRecurringPayment ( Nop.Core.Domain.Orders.RecurringPayment recurringPayment ) : void
recurringPayment Nop.Core.Domain.Orders.RecurringPayment Recurring payment
리턴 void

DeleteReturnRequest() 공개 메소드

Deletes a return request
public DeleteReturnRequest ( Nop.Core.Domain.Orders.ReturnRequest returnRequest ) : void
returnRequest Nop.Core.Domain.Orders.ReturnRequest Return request
리턴 void

GetAllOrderProductVariants() 공개 메소드

Gets all order product variants
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
리턴 IList

GetOrderByAuthorizationTransactionIdAndPaymentMethod() 공개 메소드

Get an order by authorization transaction ID and payment method system name
public GetOrderByAuthorizationTransactionIdAndPaymentMethod ( string authorizationTransactionId, string paymentMethodSystemName ) : Nop.Core.Domain.Orders.Order
authorizationTransactionId string Authorization transaction ID
paymentMethodSystemName string Payment method system name
리턴 Nop.Core.Domain.Orders.Order

GetOrderByGuid() 공개 메소드

Gets an order
public GetOrderByGuid ( System.Guid orderGuid ) : Nop.Core.Domain.Orders.Order
orderGuid System.Guid The order identifier
리턴 Nop.Core.Domain.Orders.Order

GetOrderById() 공개 메소드

Gets an order
public GetOrderById ( int orderId ) : Nop.Core.Domain.Orders.Order
orderId int The order identifier
리턴 Nop.Core.Domain.Orders.Order

GetOrderProductVariantByGuid() 공개 메소드

Gets an order product variant
public GetOrderProductVariantByGuid ( System.Guid orderProductVariantGuid ) : Nop.Core.Domain.Orders.OrderProductVariant
orderProductVariantGuid System.Guid Order product variant identifier
리턴 Nop.Core.Domain.Orders.OrderProductVariant

GetOrderProductVariantById() 공개 메소드

Gets an order product variant
public GetOrderProductVariantById ( int orderProductVariantId ) : Nop.Core.Domain.Orders.OrderProductVariant
orderProductVariantId int Order product variant identifier
리턴 Nop.Core.Domain.Orders.OrderProductVariant

GetOrdersByAffiliateId() 공개 메소드

Gets all orders by affiliate identifier
public GetOrdersByAffiliateId ( int affiliateId, int pageIndex, int pageSize ) : IPagedList
affiliateId int Affiliate identifier
pageIndex int Page index
pageSize int Page size
리턴 IPagedList

GetOrdersByCustomerId() 공개 메소드

Gets all orders by customer identifier
public GetOrdersByCustomerId ( int customerId ) : IList
customerId int Customer identifier
리턴 IList

GetOrdersByIds() 공개 메소드

Get orders by identifiers
public GetOrdersByIds ( int orderIds ) : IList
orderIds int Order identifiers
리턴 IList

GetRecurringPaymentById() 공개 메소드

Gets a recurring payment
public GetRecurringPaymentById ( int recurringPaymentId ) : Nop.Core.Domain.Orders.RecurringPayment
recurringPaymentId int The recurring payment identifier
리턴 Nop.Core.Domain.Orders.RecurringPayment

GetReturnRequestById() 공개 메소드

Gets a return request
public GetReturnRequestById ( int returnRequestId ) : Nop.Core.Domain.Orders.ReturnRequest
returnRequestId int Return request identifier
리턴 Nop.Core.Domain.Orders.ReturnRequest

InsertOrder() 공개 메소드

Inserts an order
public InsertOrder ( Nop.Core.Domain.Orders.Order order ) : void
order Nop.Core.Domain.Orders.Order Order
리턴 void

InsertRecurringPayment() 공개 메소드

Inserts a recurring payment
public InsertRecurringPayment ( Nop.Core.Domain.Orders.RecurringPayment recurringPayment ) : void
recurringPayment Nop.Core.Domain.Orders.RecurringPayment Recurring payment
리턴 void

OrderService() 공개 메소드

Ctor
public OrderService ( IRepository orderRepository, IRepository opvRepository, IRepository orderNoteRepository, IRepository pvRepository, IRepository recurringPaymentRepository, IRepository customerRepository, IRepository returnRequestRepository, IEventPublisher eventPublisher ) : System
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
리턴 System

SearchOrders() 공개 메소드

Search orders
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
리턴 IPagedList

SearchRecurringPayments() 공개 메소드

Search recurring payments
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
리턴 IPagedList

SearchReturnRequests() 공개 메소드

Search return requests
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
리턴 IPagedList

UpdateOrder() 공개 메소드

Updates the order
public UpdateOrder ( Nop.Core.Domain.Orders.Order order ) : void
order Nop.Core.Domain.Orders.Order The order
리턴 void

UpdateRecurringPayment() 공개 메소드

Updates the recurring payment
public UpdateRecurringPayment ( Nop.Core.Domain.Orders.RecurringPayment recurringPayment ) : void
recurringPayment Nop.Core.Domain.Orders.RecurringPayment Recurring payment
리턴 void