toggle menu
snabble Android SDK API Documentation
androidJvm
switch theme
search in API
core
/
io.snabble.sdk
/
Shop
Shop
open
class
Shop
:
Serializable
,
Parcelable
Class representing a shop
Members
Types
Customer
Network
Link copied to clipboard
open
class
CustomerNetwork
Class describing a potentially available wifi network in the shop
Href
Link copied to clipboard
open
class
Href
Class describing a link
Opening
Hour
Specification
Link copied to clipboard
open
class
OpeningHourSpecification
Class describing when a shop opens and closes
Service
Link copied to clipboard
enum
Service
Enum describing services provided by the shop
Properties
city
Link copied to clipboard
open
val
city
:
String
CONTENTS_FILE_DESCRIPTOR
Link copied to clipboard
val
CONTENTS_FILE_DESCRIPTOR
:
Int
=
1
country
Link copied to clipboard
open
val
country
:
String
CREATOR
Link copied to clipboard
val
CREATOR
:
Parcelable.Creator
<
Shop
>
customer
Networks
Link copied to clipboard
open
val
customerNetworks
:
Array
<
Shop.CustomerNetwork
>
external
Link copied to clipboard
@get:
Nullable
open
val
external
:
JsonElement
external
Id
Link copied to clipboard
open
val
externalId
:
String
id
Link copied to clipboard
open
val
id
:
String
is
Pre
Launch
Link copied to clipboard
open
val
isPreLaunch
:
Boolean
latitude
Link copied to clipboard
@
SerializedName
(
value
=
"lat"
)
open
val
latitude
:
Double
links
Link copied to clipboard
@get:
Nullable
open
val
links
:
Map
<
String
,
Shop.Href
>
longitude
Link copied to clipboard
@
SerializedName
(
value
=
"lon"
)
open
val
longitude
:
Double
name
Link copied to clipboard
open
val
name
:
String
PARCELABLE_WRITE_RETURN_VALUE
Link copied to clipboard
val
PARCELABLE_WRITE_RETURN_VALUE
:
Int
=
1
phone
Link copied to clipboard
open
val
phone
:
String
services
Link copied to clipboard
open
val
services
:
Array
<
Shop.Service
>
state
Link copied to clipboard
open
val
state
:
String
street
Link copied to clipboard
open
val
street
:
String
zip
Code
Link copied to clipboard
@
SerializedName
(
value
=
"zip"
)
open
val
zipCode
:
String
Functions
describe
Contents
Link copied to clipboard
open
fun
describeContents
(
)
:
Int
equals
Link copied to clipboard
open
fun
equals
(
o
:
Any
)
:
Boolean
get
Location
Link copied to clipboard
open
fun
getLocation
(
)
:
Location
Gets the latitude / longitude pair ot the shop as a Location object
get
Opening
Hours
Link copied to clipboard
open
fun
getOpeningHours
(
)
:
Array
<
Shop.OpeningHourSpecification
>
Gets the list of opening hours
hash
Code
Link copied to clipboard
open
fun
hashCode
(
)
:
Int
to
Short
String
Link copied to clipboard
open
fun
toShortString
(
)
:
String
to
String
Link copied to clipboard
@
NonNull
open
fun
toString
(
)
:
String
write
To
Parcel
Link copied to clipboard
open
fun
writeToParcel
(
dest
:
Parcel
,
flags
:
Int
)