package com.kpl.CourierMgmt.CourierManager;

public interface IPremiumCalculator {
	
    // Calculate the premium to be applied to the shipment
    // of a valuable or hazardous item
    // hazardType: The nature of hazard this package has
    // packageValue: The monetary value of the package
    // distance: The distance the package is being carried
    // weight: The weight of the package
    // Returns the extra sum to pay to have this package delivered, over
    // and above the basic shipping cost

    int CalculatePremium(HazardType hazardType, int packageValue, double distance, double weight);
}
