HERE Off-Street Parking API
Off-Street Parking API Developer's Guide

ParkingFacilityPriceType

The ParkingFacilityPriceType structure contains information about an individual pricing model.

Table 1. ParkingFacilityPriceType elements
Element Data Type Mandatory Description
priceGroup Integer No Integer to distinguish between price groups, for example, 1.
amount Double No The price for the current entry in the price group.
currency String No Three character currency code in ISO 4217 format for the price, for example, USD or EUR.
unit Integer No Number of minutes for the price group
daymask Integer No A mask representing the days of the week as an 8-bit integer mask.

The following values indicate the following days

• 1Sunday
• 2Monday
• 4Tuesday
• 8Wednesday
• 16Thursday
• 32Friday
• 64Saturday

Combinations of days can be derived by adding the values together, for example:62 equals Monday, Tuesday, Wednesday, Thursday, Friday (2+4+8+16+32). and 127 equals Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday (1+2+4+8+16+32+64).

arriveBefore Integer No Represents the hour and minutess of the time to arrive before for a price to apply. This is used as the upper bound for an Early Bird Special.
arriveAfter Integer No Represents the hour and minutess of the time to arrive after for a price to apply. This is used as the lower bound for an Early Bird Special.
departBefore Integer No Represents the hour and mins of the time to depart before for a price to apply.This is used as the upper bound of a "Special's depart by time".
departAfter Integer No Represents the hour and mins of the time to depart after for a price to apply.This is used as the lower bound of a "Special's depart by time".
minMinutes Integer No Represents the minimum minutes that a vehicle needs to be parked in the facility before this price group applies.
maxMinutes Integer No Represents the maximum minutes that a vehicle can be parked and still have this price group apply.
textRepresentation PricingTextRepresentationType No Human readable pricing model representation, one element for each supported language.
This element has the following attribute:
• language - Language code of the language the text representation is in.
Table 2. PricingTextRepresentationType elements
Element Data Type Mandatory Description
text String No The pricing model entry in human readable format. One PricingTextRepresentationType contains two or more text entries describing the current price group.
Table 3. PricingTextRepresentationType attributes
Attribute Data Type Mandatory Description
language String Yes Language code of the language the text representation is in.