C# Class TheAirline.Helpers.FleetAirlinerInsurancesHelpers

Datei anzeigen Open project: TheAirlineProject/tap-desktop

Public Methods

Method Description
AddPolicy ( FleetAirliner airliner, AirlinerInsurance insurance ) : void
CheckExpiredInsurance ( Airline airline ) : void
CreatePolicy ( Airline airline, FleetAirliner airliner, AirlinerInsurance type, AirlinerInsurance scope, AirlinerInsurance terms, double length, int amount ) : void
FileInsuranceClaim ( Airline airline, Airport airport, AirportFacilities facility ) : void
MakeInsurancePayment ( FleetAirliner airliner, Airline airline ) : void
ModifyPolicy ( FleetAirliner airliner, string index, AirlinerInsurance newPolicy ) : void
ReceiveInsurancePayout ( Airline airline, Airport airport ) : void

Method Details

AddPolicy() public static method

public static AddPolicy ( FleetAirliner airliner, AirlinerInsurance insurance ) : void
airliner TheAirline.Models.Airliners.FleetAirliner
insurance TheAirline.Models.Airliners.AirlinerInsurance
return void

CheckExpiredInsurance() public static method

public static CheckExpiredInsurance ( Airline airline ) : void
airline TheAirline.Models.Airlines.Airline
return void

CreatePolicy() public static method

public static CreatePolicy ( Airline airline, FleetAirliner airliner, AirlinerInsurance type, AirlinerInsurance scope, AirlinerInsurance terms, double length, int amount ) : void
airline TheAirline.Models.Airlines.Airline
airliner TheAirline.Models.Airliners.FleetAirliner
type TheAirline.Models.Airliners.AirlinerInsurance
scope TheAirline.Models.Airliners.AirlinerInsurance
terms TheAirline.Models.Airliners.AirlinerInsurance
length double
amount int
return void

FileInsuranceClaim() public static method

public static FileInsuranceClaim ( Airline airline, Airport airport, AirportFacilities facility ) : void
airline TheAirline.Models.Airlines.Airline
airport TheAirline.Models.Airports.Airport
facility AirportFacilities
return void

MakeInsurancePayment() public static method

public static MakeInsurancePayment ( FleetAirliner airliner, Airline airline ) : void
airliner TheAirline.Models.Airliners.FleetAirliner
airline TheAirline.Models.Airlines.Airline
return void

ModifyPolicy() public static method

public static ModifyPolicy ( FleetAirliner airliner, string index, AirlinerInsurance newPolicy ) : void
airliner TheAirline.Models.Airliners.FleetAirliner
index string
newPolicy TheAirline.Models.Airliners.AirlinerInsurance
return void

ReceiveInsurancePayout() public static method

public static ReceiveInsurancePayout ( Airline airline, Airport airport ) : void
airline TheAirline.Models.Airlines.Airline
airport TheAirline.Models.Airports.Airport
return void