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.

IsCaptureSupported()

Determines whether this Order has remote capture capabilities or not.

public bool IsCaptureSupported()

Returns

bool

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

IsOrderCaptured()

public bool IsOrderCaptured()

Returns

bool

IsOrderComplete(string, string)

Determines if the order can be interpreted as a completed order.

public bool IsOrderComplete(string orderId, string orderSecret)

Parameters

orderId string
orderSecret string

Returns

bool

IsPartialCaptureSupported()

Determines whether this Order has remote partial capture capabilities or not.

public bool IsPartialCaptureSupported()

Returns

bool

IsPartialReturnSupported()

Determines whether this Order has remote partial return capabilities or not.

public bool IsPartialReturnSupported()

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

SavedCardResult()

public OutputResult SavedCardResult()

Returns

OutputResult
To top