Interface ITripMapper
Converts trip API DTO to a strongly typed Trip object with TripStops.
public interface ITripMapper
Methods
Map(TripResponseContract)
Maps an DotVgn.Common.Contracts.TripResponseContract payload to a domain Trip.
Trip Map(TripResponseContract source)
Parameters
sourceTripResponseContractThe API trip response to convert.