C# Class TheAirline.Models.General.Loan

Inheritance: BaseModel
Mostrar archivo Open project: TheAirlineProject/tap-desktop Class Usage Examples

Private Properties

Property Type Description
GetMonthsLeft int
HasPaymentLeft bool
Loan System

Public Methods

Method Description
GetMonthlyPayment ( ) : double
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
Loan ( System.DateTime date, double amount, int length, double rate ) : System

Private Methods

Method Description
GetMonthsLeft ( ) : int
HasPaymentLeft ( ) : bool
Loan ( SerializationInfo info, StreamingContext ctxt ) : System

Method Details

GetMonthlyPayment() public method

public GetMonthlyPayment ( ) : double
return double

GetObjectData() public method

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

Loan() public method

public Loan ( System.DateTime date, double amount, int length, double rate ) : System
date System.DateTime
amount double
length int
rate double
return System