Class OrderManager
- Namespace
- Dynamicweb.Ecommerce.Orders.Gateways
- Assembly
- Dynamicweb.Ecommerce.dll
The class OrderManager represents manager for gateways.
public class OrderManager
- Inheritance
-
OrderManager
- Inherited Members
Constructors
OrderManager(Order)
Initializes a new instance of the OrderManager class.
public OrderManager(Order order)
Parameters
order
OrderThe order.
Methods
AmountRefund(Order)
Refunds amount for order.
public void AmountRefund(Order rmaOrder)
Parameters
rmaOrder
Order
CancelOrder()
Cancels order.
public bool CancelOrder()
Returns
Capture()
Captures order.
public OrderCaptureInfo Capture()
Returns
ChangeOrder()
Changes order.
public bool ChangeOrder()
Returns
CheckAuthorizationStatus()
Checks the order authorization status.
public AuthorizationStatus CheckAuthorizationStatus()
Returns
CheckOrderStatus()
Checks order status.
public void CheckOrderStatus()
CreateRecurringOrder(Order)
public static bool CreateRecurringOrder(Order order)
Parameters
order
Order
Returns
FullReturn()
Full returns order.
public void FullReturn()
GetFor(Order)
Gets order manager instance for an order.
public static OrderManager GetFor(Order order)
Parameters
order
OrderThe order.
Returns
- OrderManager
The order manager instance.
IsOperationSupported(OrderOperations)
public bool IsOperationSupported(OrderOperations operation)
Parameters
operation
OrderOperations
Returns
IsOperationSupported(OrderOperations, Order, CheckoutHandler)
Checks if operation supported by order gateway.
public static bool IsOperationSupported(OrderOperations operation, Order order, CheckoutHandler checkoutHandler)
Parameters
operation
OrderOperationsorder
OrdercheckoutHandler
CheckoutHandler
Returns
PartialCapture(long, bool)
Partially captures order.
public OrderCaptureInfo PartialCapture(long amount, bool final)
Parameters
Returns
PartialReturn(Order)
Partially returns order.
public void PartialReturn(Order rmaOrder)
Parameters
rmaOrder
Order
PartialReturn(double)
Partially returns order.
public void PartialReturn(double amount)
Parameters
amount
double
Recurring()
Creates recurring order delivery.
public void Recurring()
SavedCard()
Saves card for order.
public string SavedCard()