Waze Map Editor JavaScript SDK
    Preparing search index...

    Class ParkingLot

    Methods for dealing with Parking Lots.

    Index

    Methods

    • Parameters

      • args: { venueId: string }
        • venueId: string

          The id of the parking lot to check exit while closed for.

      Returns null | boolean

      whether the current venue can be exited while closed in case the venue is a parking lot, null otherwise.

      DataModelNotFoundError in case the venue is not found in the WME data model.

    • Returns string[]

      a list of parking lot brands

    • Get parking lot cost type.

      Parameters

      • args: { venueId: string }
        • venueId: string

          The id of the parking lot to get the cost type for.

      Returns null | ParkingLotCostType

      cost type of the venue in case the venue is a parking lot, null otherwise.

      DataModelNotFoundError in case the venue is not found in the WME data model.

    • Get parking lot estimated number of spots.

      Parameters

      • args: { venueId: string }
        • venueId: string

          The id of the parking lot to get the estimated number of spots for.

      Returns null | SpotsEstimate

      SpotsEstimate | null - the estimated number of spots the venue in case the venue is a parking lot, null otherwise.

      DataModelNotFoundError in case the venue is not found in the WME data model.

    • Get parking lot types.

      Parameters

      • args: { venueId: string }
        • venueId: string

          The id of the venue to get the parking lot types for.

      Returns null | LotType[]

      parking lot types of the venue in case the venue is a parking lot, null otherwise.

      DataModelNotFoundError in case the venue is not found in the WME data model.

    • Get parking type.

      Parameters

      • args: { venueId: string }
        • venueId: string

          The id of the venue to get the parking lot type for.

      Returns ParkingType

      parking type of the venue in case the venue is a parking lot, null otherwise.

      DataModelNotFoundError in case the venue is not found in the WME data model.

    • Get parking lot payment types.

      Parameters

      • args: { venueId: string }
        • venueId: string

          The id of the parking lot to get the payment method for.

      Returns null | PaymentType[]

      payment types of the venue in case the venue is a parking lot, null otherwise.

      DataModelNotFoundError in case the venue is not found in the WME data model.

    • Parameters

      • args: { venueId: string }
        • venueId: string

          The id of the parking lot to check if type vary depending on time/day for.

      Returns null | boolean

      whether lot type of the current venue varies depending on time/day in case the venue is a parking lot, null otherwise.

      DataModelNotFoundError in case the venue is not found in the WME data model.