CarsDistance

public final class CarsDistance

The extra distance information.

Parameters

value The number of miles/kilometers of the distance (specified by the Unit).

unit

The unit (KM or MI) for the distance.

direction

The direction of the location from the search 'center'.Possible values are: N,S,W,E,NW,NE,SW,SE

Constructors

Link copied to clipboard
public CarsDistance CarsDistance(String value, String unit, String direction)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final String direction
Link copied to clipboard
@Valid()
private final String unit
Link copied to clipboard
@NotNull()
@Valid()
private final String value

Functions

Link copied to clipboard
public final static CarsDistance.Builder builder()
Link copied to clipboard
public final String getDirection()
Link copied to clipboard
public final String getUnit()
Link copied to clipboard
public final String getValue()
Link copied to clipboard