public class ParkingLot extends Object implements Parcelable
Modifier and Type | Class and Description |
---|---|
static class |
ParkingLot.Address
Represents a parking lot address.
|
static class |
ParkingLot.Amenity
Represents a parking lot amenity.
|
static class |
ParkingLot.CalculatedRate
Represents parking lot calculated rate.
|
static class |
ParkingLot.EntryExitPoint
Represents a parking lot entry / exit point information.
|
static class |
ParkingLot.Occupancy
Represents a parking lot occupancy information.
|
static class |
ParkingLot.Phone
Represents a parking lot phone details.
|
static class |
ParkingLot.Photo
Represents a parking lot photo.
|
static class |
ParkingLot.Reservation
Represents an information about parking lot reservation.
|
static class |
ParkingLot.Review
Represents a parking lot review.
|
static class |
ParkingLot.StructuredRate
Represents a parking lot structured rate.
|
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<ParkingLot> |
CREATOR
Parcelable creator for this type.
|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsCreditCards()
Gets a value that indicates whether this parking lot accepts payments with credit cards.
|
int |
describeContents() |
boolean |
equals(Object o) |
String |
getAddressAsString()
Gets the parking lot address as a string.
|
List<ParkingLot.Amenity> |
getAmenities()
Gets the list of available amenities.
|
ParkingLot.Address |
getBuildingAddress()
Gets parking lot address.
|
List<ParkingLot.CalculatedRate> |
getCalculatedRates()
Gets the parking lot calculated rates.
|
Integer |
getCostIndex()
Gets cost index.
|
String |
getCurrency()
Gets the currency.
|
String |
getCurrencyIso()
Gets the currency ISO code.
|
List<ParkingLot.EntryExitPoint> |
getEntryExitPoints()
Gets the parking lot entry / exit points.
|
String |
getFormat()
Gets the parking lot format.
|
GeoPoint |
getGeoPoint()
Gets the parking lot geographical location.
|
List<String> |
getHours()
Gets the list of open hours.
|
int |
getId()
Gets parking lot ID.
|
String |
getName()
Gets the parking lot name.
|
ParkingLot.Address |
getNavigationAddress()
Gets the navigation address for this parking lot.
|
String |
getNote()
Gets parking lot notes.
|
ParkingLot.Occupancy |
getOccupancy()
Gets the parking lot occupancy information; if available.
|
int |
getOccupancyPercentage()
Gets parking lot occupancy percentage.
|
Boolean |
getOpen()
Gets a value that indicates whether parking lot is open.
|
String |
getOperator()
Gets the operator name.
|
List<String> |
getPaymentTypes()
Gets the parking lot supported payment types.
|
String |
getPhone()
Gets the primary phone number.
|
List<ParkingLot.Phone> |
getPhones()
Gets the list of all parking lot phone numbers.
|
List<ParkingLot.Photo> |
getPhotos()
Gets the list of photos associated with this parking lot.
|
List<GeoPoint> |
getPolygonPoints()
Gets the parking lot geographical polygon points.
|
List<String> |
getRateCard()
Gets the parking lot rate card.
|
List<ParkingLot.Reservation> |
getReservations()
Gets user's reservations for this parking lot.
|
int |
getReviewCount()
Gets the total number of reviews.
|
List<ParkingLot.Review> |
getReviews()
Gets the parking lot reviews.
|
int |
getReviewScore()
Gets the parking lot average review score.
|
int |
getSpacesTotal()
Gets the total spaces in this parking lot.
|
List<ParkingLot.StructuredRate> |
getStructuredRates()
Gets the list of structured rates.
|
String |
getType()
Gets the parking lot type.
|
String |
getUrl()
Gets the parking lot web url.
|
int |
hashCode() |
boolean |
isParkingAvailable()
Gets a value that indicates whether parking is available at this parking lot.
|
void |
writeToParcel(Parcel dest,
int flags) |
public static final Parcelable.Creator<ParkingLot> CREATOR
public int getId()
@Nullable public GeoPoint getGeoPoint()
@NonNull public List<ParkingLot.Review> getReviews()
public int getReviewScore()
public int getReviewCount()
@NonNull public List<ParkingLot.Reservation> getReservations()
@Nullable public ParkingLot.Address getNavigationAddress()
@Nullable public ParkingLot.Address getBuildingAddress()
@NonNull public String getAddressAsString()
null
otherwise.@Nullable public String getCurrencyIso()
@Nullable public ParkingLot.Occupancy getOccupancy()
public int getOccupancyPercentage()
public int getSpacesTotal()
@NonNull public List<ParkingLot.Photo> getPhotos()
@NonNull public List<ParkingLot.Amenity> getAmenities()
public boolean acceptsCreditCards()
true
if credit card payments accepted; false
otherwise.@NonNull public List<GeoPoint> getPolygonPoints()
@Nullable public String getFormat()
@NonNull public List<ParkingLot.CalculatedRate> getCalculatedRates()
@NonNull public List<ParkingLot.StructuredRate> getStructuredRates()
@NonNull public List<String> getRateCard()
@Nullable public String getPhone()
@NonNull public List<ParkingLot.Phone> getPhones()
@NonNull public List<String> getPaymentTypes()
@NonNull public List<ParkingLot.EntryExitPoint> getEntryExitPoints()
@Nullable public Boolean getOpen()
true
if parking lot is open; false
if not open; null
if information not available.public boolean isParkingAvailable()
true
if the 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.