OpeningHoursMode

public enum OpeningHoursMode
extension OpeningHoursMode: Equatable

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)

Equatable

  • Returns a Boolean value indicating whether two values are equal.

    Declaration

    Swift

    public static func == (lhs: `Self`, rhs: `Self`) -> Bool