Table of Contents

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 Order
The order.

Methods

AmountRefund(Order)

Refunds amount for order.
public void AmountRefund(Order rmaOrder)

Parameters

rmaOrder Order

CancelOrder()

Cancels order.
public bool CancelOrder()

Returns

bool

Capture()

Captures order.
public OrderCaptureInfo Capture()

Returns

OrderCaptureInfo

ChangeOrder()

Changes order.
public bool ChangeOrder()

Returns

bool

CheckAuthorizationStatus()

Checks the order authorization status.
public AuthorizationStatus CheckAuthorizationStatus()

Returns

AuthorizationStatus

CheckOrderStatus()

Checks order status.
public void CheckOrderStatus()

CreateRecurringOrder(Order)

public static bool CreateRecurringOrder(Order order)

Parameters

order Order

Returns

bool

FullReturn()

Full returns order.
public void FullReturn()

GetFor(Order)

Gets order manager instance for an order.
public static OrderManager GetFor(Order order)

Parameters

order Order
The order.

Returns

OrderManager
The order manager instance.

IsOperationSupported(OrderOperations)

public bool IsOperationSupported(OrderOperations operation)

Parameters

operation OrderOperations

Returns

bool

IsOperationSupported(OrderOperations, Order, CheckoutHandler)

Checks if operation supported by order gateway.
public static bool IsOperationSupported(OrderOperations operation, Order order, CheckoutHandler checkoutHandler)

Parameters

operation OrderOperations
order Order
checkoutHandler CheckoutHandler

Returns

bool

PartialCapture(long, bool)

Partially captures order.
public OrderCaptureInfo PartialCapture(long amount, bool final)

Parameters

amount long
final bool

Returns

OrderCaptureInfo

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()

Returns

string
To top