/// <summary> /// Create a new bvc_OrderPayment object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="auditDate">Initial value of the AuditDate property.</param> /// <param name="paymentType">Initial value of the PaymentType property.</param> /// <param name="amount">Initial value of the Amount property.</param> /// <param name="checkNumber">Initial value of the CheckNumber property.</param> /// <param name="giftCertificateNumber">Initial value of the GiftCertificateNumber property.</param> /// <param name="creditCardNumber">Initial value of the CreditCardNumber property.</param> /// <param name="creditCardType">Initial value of the CreditCardType property.</param> /// <param name="creditCardExpMonth">Initial value of the CreditCardExpMonth property.</param> /// <param name="creditCardExpYear">Initial value of the CreditCardExpYear property.</param> /// <param name="creditCardHolder">Initial value of the CreditCardHolder property.</param> /// <param name="transactionReferenceNumber">Initial value of the TransactionReferenceNumber property.</param> /// <param name="transactionResponseCode">Initial value of the TransactionResponseCode property.</param> /// <param name="note">Initial value of the Note property.</param> /// <param name="paymentMethod">Initial value of the PaymentMethod property.</param> /// <param name="orderID">Initial value of the OrderID property.</param> /// <param name="purchaseOrderNumber">Initial value of the PurchaseOrderNumber property.</param> /// <param name="authorizationOnly">Initial value of the AuthorizationOnly property.</param> public static bvc_OrderPayment Createbvc_OrderPayment(global::System.Int32 id, global::System.DateTime auditDate, global::System.Int32 paymentType, global::System.Double amount, global::System.String checkNumber, global::System.String giftCertificateNumber, global::System.String creditCardNumber, global::System.Int32 creditCardType, global::System.Int32 creditCardExpMonth, global::System.Int32 creditCardExpYear, global::System.String creditCardHolder, global::System.String transactionReferenceNumber, global::System.String transactionResponseCode, global::System.String note, global::System.Int32 paymentMethod, global::System.Int32 orderID, global::System.String purchaseOrderNumber, global::System.Int32 authorizationOnly) { bvc_OrderPayment bvc_OrderPayment = new bvc_OrderPayment(); bvc_OrderPayment.ID = id; bvc_OrderPayment.AuditDate = auditDate; bvc_OrderPayment.PaymentType = paymentType; bvc_OrderPayment.Amount = amount; bvc_OrderPayment.CheckNumber = checkNumber; bvc_OrderPayment.GiftCertificateNumber = giftCertificateNumber; bvc_OrderPayment.CreditCardNumber = creditCardNumber; bvc_OrderPayment.CreditCardType = creditCardType; bvc_OrderPayment.CreditCardExpMonth = creditCardExpMonth; bvc_OrderPayment.CreditCardExpYear = creditCardExpYear; bvc_OrderPayment.CreditCardHolder = creditCardHolder; bvc_OrderPayment.TransactionReferenceNumber = transactionReferenceNumber; bvc_OrderPayment.TransactionResponseCode = transactionResponseCode; bvc_OrderPayment.Note = note; bvc_OrderPayment.PaymentMethod = paymentMethod; bvc_OrderPayment.OrderID = orderID; bvc_OrderPayment.PurchaseOrderNumber = purchaseOrderNumber; bvc_OrderPayment.AuthorizationOnly = authorizationOnly; return bvc_OrderPayment; }
/// <summary> /// Deprecated Method for adding a new object to the bvc_OrderPayment EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTobvc_OrderPayment(bvc_OrderPayment bvc_OrderPayment) { base.AddObject("bvc_OrderPayment", bvc_OrderPayment); }