public class ParkingBlock extends Object implements Parcelable
Modifier and Type | Class and Description |
---|---|
static class |
ParkingBlock.Amenity
Represents a parking block amenity information.
|
static class |
ParkingBlock.CalculatedRate
Represents parking lot calculated rate.
|
static class |
ParkingBlock.GeoJson
Represents a parking block geojson information.
|
static class |
ParkingBlock.Reservation
Represents an information about parking block reservation.
|
static class |
ParkingBlock.Segment
Represents a single parking block segment.
|
static class |
ParkingBlock.StructuredRate
Represents a parking lot structured rate.
|
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<ParkingBlock> |
CREATOR
Parcelable creator for this type.
|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
ParkingBlock()
Initializes a new instance of
ParkingBlock . |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(Object o) |
String |
getAddress()
Gets the parking block address.
|
List<ParkingBlock.Amenity> |
getAmenities()
Gets the parking block amenities.
|
int |
getBucket()
Gets the parking block bucket.
|
GeoPoint |
getCenter()
Gets the approximate center of the parking block.
|
String |
getCurrency()
Gets the type of accepted currency.
|
GeoPoint |
getFromPoint()
Gets start location of the parking block.
|
ParkingBlock.GeoJson |
getGeoJson()
Gets the
ParkingBlock.GeoJson information associated with this parking block. |
String |
getId()
Gets the parking block ID.
|
String |
getName()
Gets the parking block name.
|
String |
getNote()
Gets the parking block notes.
|
String |
getOperator()
Gets the parking block operator name.
|
List<String> |
getPaymentTypes()
Gets the supported payment types.
|
List<String> |
getPhotoThumbnails()
Gets the list of parking block photo thumbnails.
|
List<GeoPoint> |
getPoints()
Gets parking block points.
|
Double |
getProbability()
Gets the probability of parking availability.
|
List<ParkingBlock.Reservation> |
getReservations()
Gets the parking block reservations.
|
List<ParkingBlock.Segment> |
getSegments()
Gets the list of parking block segments.
|
String |
getStreetId()
Gets the parking block street ID.
|
GeoPoint |
getToPoint()
Gets end location of the parking block.
|
int |
hashCode() |
boolean |
isParkingAvailable()
Gets the value that indicates whether parking is available at this parking block.
|
void |
writeToParcel(Parcel dest,
int flags) |
public static final Parcelable.Creator<ParkingBlock> CREATOR
public ParkingBlock()
ParkingBlock
.public String getId()
public String getStreetId()
public String getName()
public int getBucket()
public Double getProbability()
public List<ParkingBlock.Reservation> getReservations()
public List<String> getPaymentTypes()
public List<String> getPhotoThumbnails()
public String getCurrency()
@NonNull public List<GeoPoint> getPoints()
@Nullable public GeoPoint getFromPoint()
@Nullable public GeoPoint getToPoint()
public GeoPoint getCenter()
public String getAddress()
public String getOperator()
public String getNote()
public List<ParkingBlock.Amenity> getAmenities()
public ParkingBlock.GeoJson getGeoJson()
ParkingBlock.GeoJson
information associated with this parking block.@NonNull public List<ParkingBlock.Segment> getSegments()
public boolean isParkingAvailable()
true
is parking is available; false
otherwise.public int describeContents()
describeContents
in interface Parcelable
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in interface Parcelable
Copyright © 2013-2018 INRIX, Inc. All Rights Reserved.