Class TripSolution
- java.lang.Object
-
- global.maplink.trip.schema.v2.solution.TripSolution
-
public class TripSolution extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTripSolution.TripSolutionBuilder
-
Constructor Summary
Constructors Constructor Description TripSolution(String id, String clientId, Long totalDistance, Long totalNominalDuration, BigDecimal averageSpeed, BigDecimal tollCosts, BigDecimal routeFreightCost, List<SolutionLeg> legs, List<CrossedBorderResponse> crossedBorders, FreightCalculationResponse freight, EmissionResponse emission, Address startAddress, Address endAddress, String source, OffsetDateTime createdAt, OffsetDateTime expiryIn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TripSolution.TripSolutionBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)BigDecimalgetAverageSpeed()StringgetClientId()OffsetDateTimegetCreatedAt()List<CrossedBorderResponse>getCrossedBorders()EmissionResponsegetEmission()AddressgetEndAddress()OffsetDateTimegetExpiryIn()FreightCalculationResponsegetFreight()StringgetId()List<SolutionLeg>getLegs()BigDecimalgetRouteFreightCost()StringgetSource()AddressgetStartAddress()BigDecimalgetTollCosts()LonggetTotalDistance()LonggetTotalNominalDuration()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
TripSolution
public TripSolution(String id, String clientId, Long totalDistance, Long totalNominalDuration, BigDecimal averageSpeed, BigDecimal tollCosts, BigDecimal routeFreightCost, List<SolutionLeg> legs, List<CrossedBorderResponse> crossedBorders, FreightCalculationResponse freight, EmissionResponse emission, Address startAddress, Address endAddress, String source, OffsetDateTime createdAt, OffsetDateTime expiryIn)
-
-
Method Detail
-
builder
public static TripSolution.TripSolutionBuilder builder()
-
getId
public String getId()
-
getClientId
public String getClientId()
-
getTotalDistance
public Long getTotalDistance()
-
getTotalNominalDuration
public Long getTotalNominalDuration()
-
getAverageSpeed
public BigDecimal getAverageSpeed()
-
getTollCosts
public BigDecimal getTollCosts()
-
getRouteFreightCost
public BigDecimal getRouteFreightCost()
-
getLegs
public List<SolutionLeg> getLegs()
-
getCrossedBorders
public List<CrossedBorderResponse> getCrossedBorders()
-
getFreight
public FreightCalculationResponse getFreight()
-
getEmission
public EmissionResponse getEmission()
-
getStartAddress
public Address getStartAddress()
-
getEndAddress
public Address getEndAddress()
-
getSource
public String getSource()
-
getCreatedAt
public OffsetDateTime getCreatedAt()
-
getExpiryIn
public OffsetDateTime getExpiryIn()
-
canEqual
protected boolean canEqual(Object other)
-
-