C# Class EA.Iws.Domain.NotificationApplication.NotificationChargeCalculator

Inheritance: INotificationChargeCalculator
显示文件 Open project: EnvironmentAgency/prsd-iws

Public Methods

Method Description
GetValue ( System.Guid notificationId ) : Task
GetValueForNumberOfShipments ( System.Guid notificationId, int numberOfShipments ) : Task
NotificationChargeCalculator ( IShipmentInfoRepository shipmentInfoRepository, INotificationApplicationRepository notificationApplicationRepository, IPricingStructureRepository pricingStructureRepository, IFacilityRepository facilityRepository, INumberOfShipmentsHistotyRepository numberOfShipmentsHistotyRepository ) : System

Private Methods

Method Description
GetPrice ( int numberOfShipments, NotificationApplication notification ) : Task

Method Details

GetValue() public method

public GetValue ( System.Guid notificationId ) : Task
notificationId System.Guid
return Task

GetValueForNumberOfShipments() public method

public GetValueForNumberOfShipments ( System.Guid notificationId, int numberOfShipments ) : Task
notificationId System.Guid
numberOfShipments int
return Task

NotificationChargeCalculator() public method

public NotificationChargeCalculator ( IShipmentInfoRepository shipmentInfoRepository, INotificationApplicationRepository notificationApplicationRepository, IPricingStructureRepository pricingStructureRepository, IFacilityRepository facilityRepository, INumberOfShipmentsHistotyRepository numberOfShipmentsHistotyRepository ) : System
shipmentInfoRepository IShipmentInfoRepository
notificationApplicationRepository INotificationApplicationRepository
pricingStructureRepository IPricingStructureRepository
facilityRepository IFacilityRepository
numberOfShipmentsHistotyRepository INumberOfShipmentsHistotyRepository
return System