Availability

public struct Availability : Decodable

Represent a date for which there is availability (in the context of a bookable product)

  • The available date

    Declaration

    Swift

    public let date: Date
  • The options available for that date

    Declaration

    Swift

    public let optionSet: BookingOptionSet?
  • Declaration

    Swift

    public init(from decoder: Decoder) throws