Options
public struct Options
Undocumented
-
page number
Declaration
Swift
public var pagenumber: Int?
-
items per page
Declaration
Swift
public var pagesize: Int?
-
POI type you are searching for (in this case gas stations)
Declaration
Swift
public var filterpoiType: PCPOIFilterpoiType?
-
Search only gas stations with fueling app available
Declaration
Swift
public var filterappType: [PCPOIFilterappType]?
-
Latitude in degrees
Declaration
Swift
public var filterlatitude: Float?
-
Longitude in degrees
Declaration
Swift
public var filterlongitude: Float?
-
Radius in meters
Declaration
Swift
public var filterradius: Float?
-
Bounding box representing left, bottom, right, top in degrees. The query parameters need to be passed 4 times in exactly the order left, bottom, right, top.
# Value Lat/Long Range 0 left Lat [-180..180] 1 bottom Long [-90..90] 2 right Lat [-180..180] 3 top Long [-90..90] Declaration
Swift
public var filterboundingBox: [Float]?
-
Reduces the opening hours rules. After compilation only rules with the action open will remain in the response.
Declaration
Swift
public var compileopeningHours: Bool?
-
Filter by source ID
Declaration
Swift
public var filtersource: ID?
-
init(pagenumber:
pagesize: filterpoiType: filterappType: filterlatitude: filterlongitude: filterradius: filterboundingBox: compileopeningHours: filtersource: ) Undocumented
Declaration
Swift
public init(pagenumber: Int? = nil, pagesize: Int? = nil, filterpoiType: PCPOIFilterpoiType? = nil, filterappType: [PCPOIFilterappType]? = nil, filterlatitude: Float? = nil, filterlongitude: Float? = nil, filterradius: Float? = nil, filterboundingBox: [Float]? = nil, compileopeningHours: Bool? = nil, filtersource: ID? = nil)