private static WebpayWS.OrderType ConvertOrderType(CONST.OrderType orderType) { return(orderType == CONST.OrderType.INVOICE ? WebpayWS.OrderType.Invoice : WebpayWS.OrderType.PaymentPlan); }
/// <summary> /// Prepares the PaymentPlan order for delivery. /// </summary> /// <exception cref="SveaWebPayValidationException"></exception> /// <returns>HandleOrder</returns> public HandleOrder DeliverPaymentPlanOrder() { _orderType = CONST.OrderType.PAYMENTPLAN; return(new HandleOrder(this)); }
public void SetOrderType(CONST.OrderType orderType) { _orderType = orderType; }
/// <summary> /// Updates the invoice order with additional information and prepares it for delivery. /// Will automatically match all order rows that are to be delivered with those which was sent /// when creating the invoice order. /// </summary> /// <exception cref="SveaWebPayValidationException"></exception> /// <returns>HandleOrder</returns> public HandleOrder DeliverInvoiceOrder() { _orderType = CONST.OrderType.INVOICE; return(new HandleOrder(this)); }