Skip to content

Instantly share code, notes, and snippets.

@HelloThisIsFlo
Created January 26, 2017 08:40
Show Gist options
  • Save HelloThisIsFlo/4f185138abf0fba9ba26f86d6e67ec05 to your computer and use it in GitHub Desktop.
Save HelloThisIsFlo/4f185138abf0fba9ba26f86d6e67ec05 to your computer and use it in GitHub Desktop.
public interface BookingService {
TrackingId bookNewCargo(Location origin, Location destination);
CargoRouting findCargoRoutingInformations(TrackingId Id);
List<RouteCandidateDTO> requestPossibleRoutesForCargo(TrackingId id);
void assignCargoToRoute(TrackingId id, RouteCandidate route);
void changeDestination(TrackingId id, String destinationUnLocode);
List<Location> listShippingLocations();
List<Cargo> listAllCargos();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment