C# Class Faker.Finance

Static finance class
Exibir arquivo Open project: FermJacob/Faker.Data

Public Methods

Method Description
FiveOneYearAdjustableRateMortgage ( ) : double

Gets a random 5 to 1 year adjustable mortgage rate

Type ( ) : string

Gets a random type

YearAdjustableRate51 ( System.DateTime date ) : double

Gets a Year adjustable rate

Private Methods

Method Description
GetAPIString ( string url ) : string
LoadYearAdjustable51 ( ) : void

Makes an API call if provided to pull data

RunRequest ( string url ) : HttpResponseMessage

Method Details

FiveOneYearAdjustableRateMortgage() public static method

Gets a random 5 to 1 year adjustable mortgage rate
public static FiveOneYearAdjustableRateMortgage ( ) : double
return double

Type() public static method

Gets a random type
public static Type ( ) : string
return string

YearAdjustableRate51() public static method

Gets a Year adjustable rate
public static YearAdjustableRate51 ( System.DateTime date ) : double
date System.DateTime A to use
return double