Asset Response
data class AssetResponse(val name: String? = null, val storeId: String, val address: AssetAddressResponse? = null, val contact: AssetContact? = null, val open: AssetOpenResponse? = null, val weeklyOpening: AssetWeeklyOpeningResponse? = null, val types: List<String>? = null, val tags: List<String>? = null, val lastUpdated: String? = null, val userProperties: Map<String, Any>? = null, val openingHours: AssetOpeningHours? = null, val distance: Double? = null)
Attributes describing an Asset.
Parameters
name
The asset's name.
store Id
A textual identifier that uniquely identifies an Asset. It must matches the following regexp [A-Za-z0-9]+
address
contact
open
weekly Opening
types
Contains an array of types describing the Asset.
tags
Contains an array of tags describing the Asset. For example a list of available amenities.
last Updated
the previous date timestamp when the asset has been updated
user Properties
Contains all additional information relative to an Asset. If not set it returns null value.
opening Hours
distance
The distance in meters from the geolocated position or searched position if exist
Constructors
Link copied to clipboard
constructor(name: String? = null, storeId: String, address: AssetAddressResponse? = null, contact: AssetContact? = null, open: AssetOpenResponse? = null, weeklyOpening: AssetWeeklyOpeningResponse? = null, types: List<String>? = null, tags: List<String>? = null, lastUpdated: String? = null, userProperties: Map<String, Any>? = null, openingHours: AssetOpeningHours? = null, distance: Double? = null)