All Downloads are FREE. Search and download functionalities are using the official Maven repository.

global.maplink.planning.schema.problem.ProblemTrip Maven / Gradle / Ivy

package global.maplink.planning.schema.problem;

import global.maplink.freight.schema.FreightCalculationRequest;
import global.maplink.trip.schema.v2.features.crossedBorders.CrossedBordersRequest;
import global.maplink.trip.schema.v2.problem.CalculationMode;
import global.maplink.trip.schema.v2.problem.TollRequest;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import static lombok.AccessLevel.PRIVATE;

@Data
@Builder
@AllArgsConstructor(access = PRIVATE)
@NoArgsConstructor(force = true)
public class ProblemTrip {

    private static final int MINIMUM_POINTS = 2;
    private final String profileName;
    private final CalculationMode calculationMode;
    private final Long startDate;
    private final TollRequest toll;
    private final CrossedBordersRequest crossedBoarders;
    private final FreightCalculationRequest freight;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy