Interface LogisticsProviderService

    • Method Detail

      • isActive

        boolean isActive()
        Checks if the logistics provider is active.
        Returns:
        true if the logistics provider is active, false otherwise.
      • calculateDeliveryPrice

        java.math.BigDecimal calculateDeliveryPrice​(Order order)
        Maps an Order object to an OrderDTO object.
        Parameters:
        order - the Order object to be mapped
        Returns:
        price amount for delivery service
      • ship

        boolean ship​(Order order)