C# Class Ucrm.Invoice

Holds the details of the shopping cart for its assigned user and uses them to create invoice
Mostra file Open project: bytecode0101/uCRM

Public Methods

Method Description
Invoice ( ) : System
MakeInvoice ( User user, Cart cart, Address address ) : DataTable

Method to create the invoice using the details of the user and his shopping cart

PrintInvoice ( DataTable invoice_details ) : void

Prints the invoice details according to the invoice resulted from MakeInvoice()

Method Details

Invoice() public method

public Invoice ( ) : System
return System

MakeInvoice() public method

Method to create the invoice using the details of the user and his shopping cart
public MakeInvoice ( User user, Cart cart, Address address ) : DataTable
user User
cart Cart
address Address
return System.Data.DataTable

PrintInvoice() public method

Prints the invoice details according to the invoice resulted from MakeInvoice()
public PrintInvoice ( DataTable invoice_details ) : void
invoice_details System.Data.DataTable
return void