Interface VendorOrderTotalPriceCalculationStrategy

All Known Implementing Classes:
DefaultVendorOrderTotalPriceCalculationStrategy

public interface VendorOrderTotalPriceCalculationStrategy
A strategy for vendor order total price calculation
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Calculate total price of a given consignment
  • Method Details

    • calculateTotalPrice

      double calculateTotalPrice(ConsignmentModel consignment)
      Calculate total price of a given consignment
      Parameters:
      consignment - given consignment
      Returns:
      total price of the consignment