OrderController
public class OrderController : VendrAuthorizedJsonControllerBase
Inheritance
Namespace
Constructors
OrderController
public OrderController(UmbracoControllerContext vendrContext, IStoreService storeService,
IOrderService orderService, IOrderStatusService orderStatusService,
IPaymentMethodService paymentMethodService, IPaymentProviderService paymentProviderService,
IShippingMethodService shippingMethodService, ICountryService countryService,
ITranslationService translationService,
IRegisteredCustomerInfoService registeredCustomerInfoService, IUnitOfWorkProvider uowProvider)
Methods
CancelPayment
public OrderBasicDto CancelPayment(Guid orderId)
CapturePayment
public OrderBasicDto CapturePayment(Guid orderId)
ChangeOrderStatus
public OrderBasicDto ChangeOrderStatus(Guid orderId, Guid orderStatusId)
DeleteOrder
public HttpResponseMessage DeleteOrder(Guid orderId)
GetOrder
public OrderEditDto GetOrder(Guid orderId)
GetOrderEmailConfig
public object GetOrderEmailConfig(Guid orderId)
GetOrderHistoryByOrder
public IEnumerable<OrderBasicDto> GetOrderHistoryByOrder(Guid orderId)
GetOrderRegisteredCustomerInfo
public RegisteredCustomerInfoDto GetOrderRegisteredCustomerInfo(Guid orderId)
GetOrderTransactionInfo
public IEnumerable<PropertyDto> GetOrderTransactionInfo(Guid orderId)
RefundPayment
public OrderBasicDto RefundPayment(Guid orderId)
SaveOrder
public OrderEditDto SaveOrder(OrderSaveDto order)
SearchOrders
public PagedResult<OrderBasicDto> SearchOrders(OrderSearchDto model)
SyncPaymentStatus
public OrderBasicDto SyncPaymentStatus(Guid orderId)