RailwayStationDetails

public final class RailwayStationDetails

Parameters

name

The popularly known name or title by which the railway station is identified.

stationCode

The unique identifier or code assigned to an individual rail station or a pseudo-station representing all the stations within a specific city, from which rail travel originates.

address
type

This attribute provides information about the specific classification assigned to the rail station. It helps differentiate between different types of stations, such as major stations (STATION) or stations located within a city (city).

timezone

The timezone associated with the location of the station, specifying the local time offset from Coordinated Universal Time (UTC).

Constructors

Link copied to clipboard
public RailwayStationDetails RailwayStationDetails(String name, String stationCode, Address address, RailwayStationDetails.Type type, String timezone)

Types

Link copied to clipboard
public final class Builder
Link copied to clipboard
public enum Type extends Enum<RailwayStationDetails.Type>

This attribute provides information about the specific classification assigned to the rail station. It helps differentiate between different types of stations, such as major stations (STATION) or stations located within a city (city). Values: STATION,CITY

Properties

Link copied to clipboard
@NotNull()
@Valid()
private final Address address
Link copied to clipboard
@Length(max = 200)
@NotNull()
@Valid()
private final String name
Link copied to clipboard
@Length(max = 200)
@NotNull()
@Valid()
private final String stationCode
Link copied to clipboard
@Length(max = 200)
@Valid()
private final String timezone
Link copied to clipboard

Functions

Link copied to clipboard
public final static RailwayStationDetails.Builder builder()
Link copied to clipboard
public final Address getAddress()
Link copied to clipboard
public final String getName()
Link copied to clipboard
public final String getStationCode()
Link copied to clipboard
public final String getTimezone()
Link copied to clipboard
Link copied to clipboard