Interface IPurchaseOrderProcessor
The processor responsible for processing a IPurchaseOrder.
Namespace: EPiServer.Commerce.Order
Assembly: EPiServer.Business.Commerce.dll
Version: 12.17.2Syntax
public interface IPurchaseOrderProcessor
Methods
CancelOrder(IPurchaseOrder)
Cancels an IPurchaseOrder.
Declaration
OrderProcessingResult CancelOrder(IPurchaseOrder purchaseOrder)
Parameters
Type | Name | Description |
---|---|---|
IPurchaseOrder | purchaseOrder | The purchase order. |
Returns
Type | Description |
---|---|
OrderProcessingResult | The order processing result. |
HoldOrder(IPurchaseOrder)
Holds an IPurchaseOrder.
Declaration
OrderProcessingResult HoldOrder(IPurchaseOrder purchaseOrder)
Parameters
Type | Name | Description |
---|---|---|
IPurchaseOrder | purchaseOrder | The purchase order. |
Returns
Type | Description |
---|---|
OrderProcessingResult | The order processing result. |
ProcessOrder(IPurchaseOrder)
Processes an IPurchaseOrder.
Declaration
OrderProcessingResult ProcessOrder(IPurchaseOrder purchaseOrder)
Parameters
Type | Name | Description |
---|---|---|
IPurchaseOrder | purchaseOrder | The purchase order. |
Returns
Type | Description |
---|---|
OrderProcessingResult | The order processing result. |
ReleaseOrder(IPurchaseOrder)
Releases an on-hold IPurchaseOrder.
Declaration
OrderProcessingResult ReleaseOrder(IPurchaseOrder purchaseOrder)
Parameters
Type | Name | Description |
---|---|---|
IPurchaseOrder | purchaseOrder | The purchase order. |
Returns
Type | Description |
---|---|
OrderProcessingResult | The order processing result. |