OpeningHoursMode
public enum OpeningHoursMode
extension OpeningHoursMode: Equatable
extension OpeningHoursMode: Hashable
An option that defines for what days opening hours would be requested.
-
Defines opening hours as time intervals for the next 7 days starting from the given date.
Note
from
Date is ignored by the backend if passed as part of the request. Correct value is set only when it’s part of the response data.Declaration
Swift
case nextSevenDays(from: Date)
-
Returns a Boolean value indicating whether two values are equal.
Declaration
Swift
public static func == (lhs: `Self`, rhs: `Self`) -> Bool
-
Allowing instances of the containing type to be used in hash-based collections like sets and dictionaries.
Declaration
Swift
public func hash(into hasher: inout Hasher)
Parameters
hasher
The hasher used to combine the hash values of the essential properties.