new module:models/PointOfService()
Constructs a new PointOfService
.
- Source:
Members
(inner) address :module:models/Address
Type:
- Source:
(inner) description :String
Type:
- String
- Source:
(inner) displayName :String
Type:
- String
- Source:
(inner) distanceKm :Number
Type:
- Number
- Source:
(inner) features :Object
Type:
- Object
- Source:
(inner) formattedDistance :String
Type:
- String
- Source:
(inner) geoPoint :module:models/GeoPoint
Type:
- Source:
(inner) mapIcon :module:models/Image
Type:
- Source:
(inner) name :String
Type:
- String
- Source:
(inner) openingHours :module:models/OpeningSchedule
Type:
- Source:
(inner) storeContent :String
Type:
- String
- Source:
(inner) storeImages :Array.<module:models/Image>
Type:
- Array.<module:models/Image>
- Source:
(inner) url :String
Type:
- String
- Source:
Methods
(static) constructFromObject(data, obj) → {module:models/PointOfService}
Constructs a PointOfService
from a plain JavaScript
object, optionally creating a new instance. Copies all relevant properties
from data
to obj
if supplied or a new instance
if not.
Parameters:
Name | Type | Description |
---|---|---|
data |
Object | The plain JavaScript object bearing properties of interest. |
obj |
module:models/PointOfService | Optional instance to populate. |
- Source:
Returns:
The populated
PointOfService
instance.