/// <summary> /// Create a new ecommrc_OrderTransactions object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="storeId">Initial value of the StoreId property.</param> /// <param name="orderId">Initial value of the OrderId property.</param> /// <param name="orderNumber">Initial value of the OrderNumber property.</param> /// <param name="timestamp">Initial value of the Timestamp property.</param> /// <param name="action">Initial value of the Action property.</param> /// <param name="amount">Initial value of the Amount property.</param> /// <param name="creditCard">Initial value of the CreditCard property.</param> /// <param name="success">Initial value of the Success property.</param> /// <param name="voided">Initial value of the Voided property.</param> /// <param name="refNum1">Initial value of the RefNum1 property.</param> /// <param name="refNum2">Initial value of the RefNum2 property.</param> /// <param name="linkedToTransaction">Initial value of the LinkedToTransaction property.</param> /// <param name="messages">Initial value of the Messages property.</param> /// <param name="checkNumber">Initial value of the CheckNumber property.</param> /// <param name="purchaseOrderNumber">Initial value of the PurchaseOrderNumber property.</param> /// <param name="giftCardNumber">Initial value of the GiftCardNumber property.</param> /// <param name="companyAccountNumber">Initial value of the CompanyAccountNumber property.</param> public static ecommrc_OrderTransactions Createecommrc_OrderTransactions(global::System.Guid id, global::System.Int64 storeId, global::System.String orderId, global::System.String orderNumber, global::System.DateTime timestamp, global::System.Int32 action, global::System.Decimal amount, global::System.String creditCard, global::System.Boolean success, global::System.Boolean voided, global::System.String refNum1, global::System.String refNum2, global::System.String linkedToTransaction, global::System.String messages, global::System.String checkNumber, global::System.String purchaseOrderNumber, global::System.String giftCardNumber, global::System.String companyAccountNumber) { ecommrc_OrderTransactions ecommrc_OrderTransactions = new ecommrc_OrderTransactions(); ecommrc_OrderTransactions.Id = id; ecommrc_OrderTransactions.StoreId = storeId; ecommrc_OrderTransactions.OrderId = orderId; ecommrc_OrderTransactions.OrderNumber = orderNumber; ecommrc_OrderTransactions.Timestamp = timestamp; ecommrc_OrderTransactions.Action = action; ecommrc_OrderTransactions.Amount = amount; ecommrc_OrderTransactions.CreditCard = creditCard; ecommrc_OrderTransactions.Success = success; ecommrc_OrderTransactions.Voided = voided; ecommrc_OrderTransactions.RefNum1 = refNum1; ecommrc_OrderTransactions.RefNum2 = refNum2; ecommrc_OrderTransactions.LinkedToTransaction = linkedToTransaction; ecommrc_OrderTransactions.Messages = messages; ecommrc_OrderTransactions.CheckNumber = checkNumber; ecommrc_OrderTransactions.PurchaseOrderNumber = purchaseOrderNumber; ecommrc_OrderTransactions.GiftCardNumber = giftCardNumber; ecommrc_OrderTransactions.CompanyAccountNumber = companyAccountNumber; return ecommrc_OrderTransactions; }
/// <summary> /// Deprecated Method for adding a new object to the ecommrc_OrderTransactions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToecommrc_OrderTransactions(ecommrc_OrderTransactions ecommrc_OrderTransactions) { base.AddObject("ecommrc_OrderTransactions", ecommrc_OrderTransactions); }