Table of Contents

Interface ITripMapper

Namespace
DotVgn.Client.Mapper.Base
Assembly
DotVgn.Client.dll

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

source TripResponseContract

The API trip response to convert.

Returns

Trip

A mapped Trip instance. Never null.