C# Class TheAirline.Models.General.Finances.Invoices

Inheritance: BaseModel
Show file Open project: TheAirlineProject/tap-desktop Class Usage Examples

Private Properties

Property Type Description
Invoices System

Public Methods

Method Description
AddInvoice ( Invoice invoice ) : void
AddInvoice ( Invoice type, int year, int month, int day, double amount ) : void
Contains ( Invoice type, int year, int month ) : System.Boolean
Contains ( Invoice type, int year, int month, int day ) : System.Boolean
GetAmount ( ) : double
GetAmount ( Invoice type ) : double
GetAmount ( Invoice type, int year, int month ) : double
GetAmount ( int year, int month ) : double
GetInvoiceList ( ) : List
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
GetYearlyAmount ( Invoice type, int year ) : double
GetYearlyAmount ( int year ) : double
Invoices ( ) : System

Private Methods

Method Description
Invoices ( SerializationInfo info, StreamingContext ctxt ) : System

Method Details

AddInvoice() public method

public AddInvoice ( Invoice invoice ) : void
invoice Invoice
return void

AddInvoice() public method

public AddInvoice ( Invoice type, int year, int month, int day, double amount ) : void
type Invoice
year int
month int
day int
amount double
return void

Contains() public method

public Contains ( Invoice type, int year, int month ) : System.Boolean
type Invoice
year int
month int
return System.Boolean

Contains() public method

public Contains ( Invoice type, int year, int month, int day ) : System.Boolean
type Invoice
year int
month int
day int
return System.Boolean

GetAmount() public method

public GetAmount ( ) : double
return double

GetAmount() public method

public GetAmount ( Invoice type ) : double
type Invoice
return double

GetAmount() public method

public GetAmount ( Invoice type, int year, int month ) : double
type Invoice
year int
month int
return double

GetAmount() public method

public GetAmount ( int year, int month ) : double
year int
month int
return double

GetInvoiceList() public static method

public static GetInvoiceList ( ) : List
return List

GetObjectData() public method

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return void

GetYearlyAmount() public method

public GetYearlyAmount ( Invoice type, int year ) : double
type Invoice
year int
return double

GetYearlyAmount() public method

public GetYearlyAmount ( int year ) : double
year int
return double

Invoices() public method

public Invoices ( ) : System
return System