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

Order processing service
상속: IOrderProcessingService
파일 보기 프로젝트 열기: jimmy00784/nopCommerce-Linux-Mysql

공개 메소드들

메소드 설명
CanCancelOrder ( Nop.Core.Domain.Orders.Order order ) : bool

Gets a value indicating whether cancel is allowed

CanCancelRecurringPayment ( Customer customerToValidate, Nop.Core.Domain.Orders.RecurringPayment recurringPayment ) : bool

Gets a value indicating whether a customer can cancel recurring payment

CanCapture ( Nop.Core.Domain.Orders.Order order ) : bool

Gets a value indicating whether capture from admin panel is allowed

CanMarkOrderAsAuthorized ( Nop.Core.Domain.Orders.Order order ) : bool

Gets a value indicating whether order can be marked as authorized

CanMarkOrderAsPaid ( Nop.Core.Domain.Orders.Order order ) : bool

Gets a value indicating whether order can be marked as paid

CanPartiallyRefund ( Nop.Core.Domain.Orders.Order order, decimal amountToRefund ) : bool

Gets a value indicating whether partial refund from admin panel is allowed

CanPartiallyRefundOffline ( Nop.Core.Domain.Orders.Order order, decimal amountToRefund ) : bool

Gets a value indicating whether order can be marked as partially refunded

CanRefund ( Nop.Core.Domain.Orders.Order order ) : bool

Gets a value indicating whether refund from admin panel is allowed

CanRefundOffline ( Nop.Core.Domain.Orders.Order order ) : bool

Gets a value indicating whether order can be marked as refunded

CanVoid ( Nop.Core.Domain.Orders.Order order ) : bool

Gets a value indicating whether void from admin panel is allowed

CanVoidOffline ( Nop.Core.Domain.Orders.Order order ) : bool

Gets a value indicating whether order can be marked as voided

CancelOrder ( Nop.Core.Domain.Orders.Order order, bool notifyCustomer ) : void

Cancels order

CancelRecurringPayment ( Nop.Core.Domain.Orders.RecurringPayment recurringPayment ) : IList

Cancels a recurring payment

Capture ( Nop.Core.Domain.Orders.Order order ) : IList

Capture an order (from admin panel)

DeleteOrder ( Nop.Core.Domain.Orders.Order order ) : void

Deletes an order

Deliver ( Nop.Core.Domain.Shipping.Shipment shipment, bool notifyCustomer ) : void

Marks a shipment as delivered

IsReturnRequestAllowed ( Nop.Core.Domain.Orders.Order order ) : bool

Check whether return request is allowed

MarkAsAuthorized ( Nop.Core.Domain.Orders.Order order ) : void

Marks order as authorized

MarkOrderAsPaid ( Nop.Core.Domain.Orders.Order order ) : void

Marks order as paid

OrderProcessingService ( IOrderService orderService, IWebHelper webHelper, ILocalizationService localizationService, ILanguageService languageService, IProductService productService, IPaymentService paymentService, ILogger logger, IOrderTotalCalculationService orderTotalCalculationService, IPriceCalculationService priceCalculationService, IPriceFormatter priceFormatter, IProductAttributeParser productAttributeParser, IProductAttributeFormatter productAttributeFormatter, IGiftCardService giftCardService, IShoppingCartService shoppingCartService, ICheckoutAttributeFormatter checkoutAttributeFormatter, IShippingService shippingService, IShipmentService shipmentService, ITaxService taxService, ICustomerService customerService, IDiscountService discountService, IEncryptionService encryptionService, IWorkContext workContext, IWorkflowMessageService workflowMessageService, ICustomerActivityService customerActivityService, ICurrencyService currencyService, IEventPublisher eventPublisher, Nop.Core.Domain.Payments.PaymentSettings paymentSettings, Nop.Core.Domain.Customers.RewardPointsSettings rewardPointsSettings, Nop.Core.Domain.Orders.OrderSettings orderSettings, Nop.Core.Domain.Tax.TaxSettings taxSettings, Nop.Core.Domain.Localization.LocalizationSettings localizationSettings, Nop.Core.Domain.Directory.CurrencySettings currencySettings ) : System

Ctor

PartiallyRefund ( Nop.Core.Domain.Orders.Order order, decimal amountToRefund ) : IList

Partially refunds an order (from admin panel)

PartiallyRefundOffline ( Nop.Core.Domain.Orders.Order order, decimal amountToRefund ) : void

Partially refunds an order (offline)

PlaceOrder ( Nop.Services.Payments.ProcessPaymentRequest processPaymentRequest ) : Nop.Services.Orders.PlaceOrderResult

Places an order

ProcessNextRecurringPayment ( Nop.Core.Domain.Orders.RecurringPayment recurringPayment ) : void

Process next recurring psayment

ReOrder ( Nop.Core.Domain.Orders.Order order ) : void

Place order items in current user shopping cart.

Refund ( Nop.Core.Domain.Orders.Order order ) : IList

Refunds an order (from admin panel)

RefundOffline ( Nop.Core.Domain.Orders.Order order ) : void

Refunds an order (offline)

Ship ( Nop.Core.Domain.Shipping.Shipment shipment, bool notifyCustomer ) : void

Send a shipment

ValidateMinOrderSubtotalAmount ( IList cart ) : bool

Valdiate minimum order sub-total amount

ValidateMinOrderTotalAmount ( IList cart ) : bool

Valdiate minimum order total amount

Void ( Nop.Core.Domain.Orders.Order order ) : IList

Voids order (from admin panel)

VoidOffline ( Nop.Core.Domain.Orders.Order order ) : void

Voids order (offline)

보호된 메소드들

메소드 설명
CheckOrderStatus ( Nop.Core.Domain.Orders.Order order ) : void

Checks order status

SetOrderStatus ( Nop.Core.Domain.Orders.Order order, OrderStatus os, bool notifyCustomer ) : void

Sets an order status

메소드 상세

CanCancelOrder() 공개 메소드

Gets a value indicating whether cancel is allowed
public CanCancelOrder ( Nop.Core.Domain.Orders.Order order ) : bool
order Nop.Core.Domain.Orders.Order Order
리턴 bool

CanCancelRecurringPayment() 공개 메소드

Gets a value indicating whether a customer can cancel recurring payment
public CanCancelRecurringPayment ( Customer customerToValidate, Nop.Core.Domain.Orders.RecurringPayment recurringPayment ) : bool
customerToValidate Nop.Core.Domain.Customers.Customer Customer
recurringPayment Nop.Core.Domain.Orders.RecurringPayment Recurring Payment
리턴 bool

CanCapture() 공개 메소드

Gets a value indicating whether capture from admin panel is allowed
public CanCapture ( Nop.Core.Domain.Orders.Order order ) : bool
order Nop.Core.Domain.Orders.Order Order
리턴 bool

CanMarkOrderAsAuthorized() 공개 메소드

Gets a value indicating whether order can be marked as authorized
public CanMarkOrderAsAuthorized ( Nop.Core.Domain.Orders.Order order ) : bool
order Nop.Core.Domain.Orders.Order Order
리턴 bool

CanMarkOrderAsPaid() 공개 메소드

Gets a value indicating whether order can be marked as paid
public CanMarkOrderAsPaid ( Nop.Core.Domain.Orders.Order order ) : bool
order Nop.Core.Domain.Orders.Order Order
리턴 bool

CanPartiallyRefund() 공개 메소드

Gets a value indicating whether partial refund from admin panel is allowed
public CanPartiallyRefund ( Nop.Core.Domain.Orders.Order order, decimal amountToRefund ) : bool
order Nop.Core.Domain.Orders.Order Order
amountToRefund decimal Amount to refund
리턴 bool

CanPartiallyRefundOffline() 공개 메소드

Gets a value indicating whether order can be marked as partially refunded
public CanPartiallyRefundOffline ( Nop.Core.Domain.Orders.Order order, decimal amountToRefund ) : bool
order Nop.Core.Domain.Orders.Order Order
amountToRefund decimal Amount to refund
리턴 bool

CanRefund() 공개 메소드

Gets a value indicating whether refund from admin panel is allowed
public CanRefund ( Nop.Core.Domain.Orders.Order order ) : bool
order Nop.Core.Domain.Orders.Order Order
리턴 bool

CanRefundOffline() 공개 메소드

Gets a value indicating whether order can be marked as refunded
public CanRefundOffline ( Nop.Core.Domain.Orders.Order order ) : bool
order Nop.Core.Domain.Orders.Order Order
리턴 bool

CanVoid() 공개 메소드

Gets a value indicating whether void from admin panel is allowed
public CanVoid ( Nop.Core.Domain.Orders.Order order ) : bool
order Nop.Core.Domain.Orders.Order Order
리턴 bool

CanVoidOffline() 공개 메소드

Gets a value indicating whether order can be marked as voided
public CanVoidOffline ( Nop.Core.Domain.Orders.Order order ) : bool
order Nop.Core.Domain.Orders.Order Order
리턴 bool

CancelOrder() 공개 메소드

Cancels order
public CancelOrder ( Nop.Core.Domain.Orders.Order order, bool notifyCustomer ) : void
order Nop.Core.Domain.Orders.Order Order
notifyCustomer bool True to notify customer
리턴 void

CancelRecurringPayment() 공개 메소드

Cancels a recurring payment
public CancelRecurringPayment ( Nop.Core.Domain.Orders.RecurringPayment recurringPayment ) : IList
recurringPayment Nop.Core.Domain.Orders.RecurringPayment Recurring payment
리턴 IList

Capture() 공개 메소드

Capture an order (from admin panel)
public Capture ( Nop.Core.Domain.Orders.Order order ) : IList
order Nop.Core.Domain.Orders.Order Order
리턴 IList

CheckOrderStatus() 보호된 메소드

Checks order status
protected CheckOrderStatus ( Nop.Core.Domain.Orders.Order order ) : void
order Nop.Core.Domain.Orders.Order Order
리턴 void

DeleteOrder() 공개 메소드

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

Deliver() 공개 메소드

Marks a shipment as delivered
public Deliver ( Nop.Core.Domain.Shipping.Shipment shipment, bool notifyCustomer ) : void
shipment Nop.Core.Domain.Shipping.Shipment Shipment
notifyCustomer bool True to notify customer
리턴 void

IsReturnRequestAllowed() 공개 메소드

Check whether return request is allowed
public IsReturnRequestAllowed ( Nop.Core.Domain.Orders.Order order ) : bool
order Nop.Core.Domain.Orders.Order Order
리턴 bool

MarkAsAuthorized() 공개 메소드

Marks order as authorized
public MarkAsAuthorized ( Nop.Core.Domain.Orders.Order order ) : void
order Nop.Core.Domain.Orders.Order Order
리턴 void

MarkOrderAsPaid() 공개 메소드

Marks order as paid
public MarkOrderAsPaid ( Nop.Core.Domain.Orders.Order order ) : void
order Nop.Core.Domain.Orders.Order Order
리턴 void

OrderProcessingService() 공개 메소드

Ctor
public OrderProcessingService ( IOrderService orderService, IWebHelper webHelper, ILocalizationService localizationService, ILanguageService languageService, IProductService productService, IPaymentService paymentService, ILogger logger, IOrderTotalCalculationService orderTotalCalculationService, IPriceCalculationService priceCalculationService, IPriceFormatter priceFormatter, IProductAttributeParser productAttributeParser, IProductAttributeFormatter productAttributeFormatter, IGiftCardService giftCardService, IShoppingCartService shoppingCartService, ICheckoutAttributeFormatter checkoutAttributeFormatter, IShippingService shippingService, IShipmentService shipmentService, ITaxService taxService, ICustomerService customerService, IDiscountService discountService, IEncryptionService encryptionService, IWorkContext workContext, IWorkflowMessageService workflowMessageService, ICustomerActivityService customerActivityService, ICurrencyService currencyService, IEventPublisher eventPublisher, Nop.Core.Domain.Payments.PaymentSettings paymentSettings, Nop.Core.Domain.Customers.RewardPointsSettings rewardPointsSettings, Nop.Core.Domain.Orders.OrderSettings orderSettings, Nop.Core.Domain.Tax.TaxSettings taxSettings, Nop.Core.Domain.Localization.LocalizationSettings localizationSettings, Nop.Core.Domain.Directory.CurrencySettings currencySettings ) : System
orderService IOrderService Order service
webHelper IWebHelper Web helper
localizationService ILocalizationService Localization service
languageService ILanguageService Language service
productService IProductService Product service
paymentService IPaymentService Payment service
logger ILogger Logger
orderTotalCalculationService IOrderTotalCalculationService Order total calculationservice
priceCalculationService IPriceCalculationService Price calculation service
priceFormatter IPriceFormatter Price formatter
productAttributeParser IProductAttributeParser Product attribute parser
productAttributeFormatter IProductAttributeFormatter Product attribute formatter
giftCardService IGiftCardService Gift card service
shoppingCartService IShoppingCartService Shopping cart service
checkoutAttributeFormatter ICheckoutAttributeFormatter Checkout attribute service
shippingService IShippingService Shipping service
shipmentService IShipmentService Shipment service
taxService ITaxService Tax service
customerService ICustomerService Customer service
discountService IDiscountService Discount service
encryptionService IEncryptionService Encryption service
workContext IWorkContext Work context
workflowMessageService IWorkflowMessageService Workflow message service
customerActivityService ICustomerActivityService Customer activity service
currencyService ICurrencyService Currency service
eventPublisher IEventPublisher Event published
paymentSettings Nop.Core.Domain.Payments.PaymentSettings Payment settings
rewardPointsSettings Nop.Core.Domain.Customers.RewardPointsSettings Reward points settings
orderSettings Nop.Core.Domain.Orders.OrderSettings Order settings
taxSettings Nop.Core.Domain.Tax.TaxSettings Tax settings
localizationSettings Nop.Core.Domain.Localization.LocalizationSettings Localization settings
currencySettings Nop.Core.Domain.Directory.CurrencySettings Currency settings
리턴 System

PartiallyRefund() 공개 메소드

Partially refunds an order (from admin panel)
public PartiallyRefund ( Nop.Core.Domain.Orders.Order order, decimal amountToRefund ) : IList
order Nop.Core.Domain.Orders.Order Order
amountToRefund decimal Amount to refund
리턴 IList

PartiallyRefundOffline() 공개 메소드

Partially refunds an order (offline)
public PartiallyRefundOffline ( Nop.Core.Domain.Orders.Order order, decimal amountToRefund ) : void
order Nop.Core.Domain.Orders.Order Order
amountToRefund decimal Amount to refund
리턴 void

PlaceOrder() 공개 메소드

Places an order
public PlaceOrder ( Nop.Services.Payments.ProcessPaymentRequest processPaymentRequest ) : Nop.Services.Orders.PlaceOrderResult
processPaymentRequest Nop.Services.Payments.ProcessPaymentRequest Process payment request
리턴 Nop.Services.Orders.PlaceOrderResult

ProcessNextRecurringPayment() 공개 메소드

Process next recurring psayment
public ProcessNextRecurringPayment ( Nop.Core.Domain.Orders.RecurringPayment recurringPayment ) : void
recurringPayment Nop.Core.Domain.Orders.RecurringPayment Recurring payment
리턴 void

ReOrder() 공개 메소드

Place order items in current user shopping cart.
public ReOrder ( Nop.Core.Domain.Orders.Order order ) : void
order Nop.Core.Domain.Orders.Order The order
리턴 void

Refund() 공개 메소드

Refunds an order (from admin panel)
public Refund ( Nop.Core.Domain.Orders.Order order ) : IList
order Nop.Core.Domain.Orders.Order Order
리턴 IList

RefundOffline() 공개 메소드

Refunds an order (offline)
public RefundOffline ( Nop.Core.Domain.Orders.Order order ) : void
order Nop.Core.Domain.Orders.Order Order
리턴 void

SetOrderStatus() 보호된 메소드

Sets an order status
protected SetOrderStatus ( Nop.Core.Domain.Orders.Order order, OrderStatus os, bool notifyCustomer ) : void
order Nop.Core.Domain.Orders.Order Order
os OrderStatus New order status
notifyCustomer bool True to notify customer
리턴 void

Ship() 공개 메소드

Send a shipment
public Ship ( Nop.Core.Domain.Shipping.Shipment shipment, bool notifyCustomer ) : void
shipment Nop.Core.Domain.Shipping.Shipment Shipment
notifyCustomer bool True to notify customer
리턴 void

ValidateMinOrderSubtotalAmount() 공개 메소드

Valdiate minimum order sub-total amount
public ValidateMinOrderSubtotalAmount ( IList cart ) : bool
cart IList Shopping cart
리턴 bool

ValidateMinOrderTotalAmount() 공개 메소드

Valdiate minimum order total amount
public ValidateMinOrderTotalAmount ( IList cart ) : bool
cart IList Shopping cart
리턴 bool

Void() 공개 메소드

Voids order (from admin panel)
public Void ( Nop.Core.Domain.Orders.Order order ) : IList
order Nop.Core.Domain.Orders.Order Order
리턴 IList

VoidOffline() 공개 메소드

Voids order (offline)
public VoidOffline ( Nop.Core.Domain.Orders.Order order ) : void
order Nop.Core.Domain.Orders.Order Order
리턴 void