RailAllOf

public final class RailAllOf

Parameters

routeType

The type of route or itinerary for the Rail product, indicating the travel arrangement and pattern. Possible values are: - MULTIPLE_DESTINATIONS - The Rail product includes multiple destinations in its itinerary. - ONE_WAY - The Rail product represents a one-way journey. - ROUNDTRIP - The Rail product represents a roundtrip journey.

railSegments

Constructors

Link copied to clipboard
public RailAllOf RailAllOf(RailAllOf.RouteType routeType, List<RailSegments> railSegments)

Types

Link copied to clipboard
public final class Builder
Link copied to clipboard
public enum RouteType extends Enum<RailAllOf.RouteType>

The type of route or itinerary for the Rail product, indicating the travel arrangement and pattern. Possible values are: - MULTIPLE_DESTINATIONS - The Rail product includes multiple destinations in its itinerary. - ONE_WAY - The Rail product represents a one-way journey. - ROUNDTRIP - The Rail product represents a roundtrip journey. Values: MULTIPLE_DESTINATIONS,ONE_WAY,ROUND_TRIP

Properties

Link copied to clipboard
@Size(min = 1, max = 20)
@NotNull()
@Valid()
private final List<RailSegments> railSegments
Link copied to clipboard
@NotNull()
private final RailAllOf.RouteType routeType

Functions

Link copied to clipboard
public final static RailAllOf.Builder builder()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard