WijmoMVC.Models.Invoices.CreateInvoices C# (CSharp) Method

CreateInvoices() public static method

Create a new Invoices object.
public static CreateInvoices ( global customerName, global salesperson, global orderID, global shipperName, global productID, global productName, global unitPrice, global quantity, global discount ) : Invoices
customerName global Initial value of the CustomerName property.
salesperson global Initial value of the Salesperson property.
orderID global Initial value of the OrderID property.
shipperName global Initial value of the ShipperName property.
productID global Initial value of the ProductID property.
productName global Initial value of the ProductName property.
unitPrice global Initial value of the UnitPrice property.
quantity global Initial value of the Quantity property.
discount global Initial value of the Discount property.
return Invoices
        public static Invoices CreateInvoices(global::System.String customerName, global::System.String salesperson, global::System.Int32 orderID, global::System.String shipperName, global::System.Int32 productID, global::System.String productName, global::System.Decimal unitPrice, global::System.Int16 quantity, global::System.Single discount)
        {
            Invoices invoices = new Invoices();
            invoices.CustomerName = customerName;
            invoices.Salesperson = salesperson;
            invoices.OrderID = orderID;
            invoices.ShipperName = shipperName;
            invoices.ProductID = productID;
            invoices.ProductName = productName;
            invoices.UnitPrice = unitPrice;
            invoices.Quantity = quantity;
            invoices.Discount = discount;
            return invoices;
        }