//single public static void AddOrderItems(OrderDetailsCollection orderData, OracleTransaction tran, int orderID, int shippingAddressID) { try { AspxOrderProvider.AddOrderItems(orderData, tran, orderID, shippingAddressID); } catch (Exception e) { throw e; } }
public static void UpdateItemQuantity(OrderDetailsCollection orderData) { try { AspxOrderProvider.UpdateItemQuantity(orderData); } catch (Exception e) { throw e; } }
//multiple public static void AddOrderItemsList(OrderDetailsCollection orderData, SqlTransaction tran, int orderID) { try { AspxOrderProvider.AddOrderItemsList(orderData, tran, orderID); } catch (Exception e) { throw e; } }
public static int AddOrderWithMultipleCheckOut(OrderDetailsCollection orderData, OracleTransaction tran, int paymentMethodId) { try { int orderID = AspxOrderProvider.AddOrderWithMultipleCheckOut(orderData, tran, paymentMethodId); return(orderID); } catch (Exception e) { throw e; } }
public static int AddPaymentInfo(OrderDetailsCollection orderData, OracleTransaction tran) { try { int paymentMethodID = AspxOrderProvider.AddPaymentInfo(orderData, tran); return(paymentMethodID); } catch (Exception e) { throw e; } }
public static int AddShippingAddress(OrderDetailsCollection orderData, OracleTransaction tran) { try { int shippingAddressID = AspxOrderProvider.AddShippingAddress(orderData, tran); return(shippingAddressID); } catch (Exception e) { throw e; } }
public static int AddBillingAddress(OrderDetailsCollection orderData, OracleTransaction tran, int addressID) { try { int billingAddressID = AspxOrderProvider.AddBillingAddress(orderData, tran, addressID); return(billingAddressID); } catch (Exception e) { throw e; } }
public static List <ItemCommonInfo> GetItemsInvolvedInOrder(AspxCommonInfo aspxCommonObj, int orderID) { try { List <ItemCommonInfo> lstMyItems = AspxOrderProvider.GetItemsInvolvedInOrder(aspxCommonObj, orderID); return(lstMyItems); } catch (Exception e) { throw e; } }
public static bool SaveOrderStatus(AspxCommonInfo aspxCommonObj, int orderStatusID, int orderID) { try { bool chkMsg = AspxOrderProvider.SaveOrderStatus(aspxCommonObj, orderStatusID, orderID); return(chkMsg); } catch (Exception e) { throw e; } }
public static List <MyOrderListInfo> GetOrderDetails(int offset, System.Nullable <int> limit, System.Nullable <int> orderStatusName, AspxCommonInfo aspxCommonObj) { try { List <MyOrderListInfo> lstMyOrder = AspxOrderProvider.GetOrderDetails(offset, limit, orderStatusName, aspxCommonObj); return(lstMyOrder); } catch (Exception e) { throw e; } }
public static int AddOrder(OrderDetailsCollection orderData, OracleTransaction tran, int billingAddressID, int paymentMethodId) { try { int orderID = AspxOrderProvider.AddOrder(orderData, tran, billingAddressID, paymentMethodId); return(orderID); } catch (Exception e) { throw e; } }
public static int AddAddress(OrderDetailsCollection orderData, SqlTransaction tran) { try { int addressID = AspxOrderProvider.AddAddress(orderData, tran); return(addressID); } catch (Exception e) { throw e; } }