summaryrefslogtreecommitdiff
path: root/include/tgbot/types/BusinessOpeningHours.h
blob: 94d7457e900ca9ff3565eaa92912463504bd33bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef TGBOT_BUSINESSOPENINGHOURS_H
#define TGBOT_BUSINESSOPENINGHOURS_H

#include "tgbot/types/BusinessOpeningHoursInterval.h"

#include <memory>
#include <string>
#include <vector>

namespace TgBot {

/**
 * @ingroup types
 */
class BusinessOpeningHours {

public:
    typedef std::shared_ptr<BusinessOpeningHours> Ptr;

    /**
     * @brief Unique name of the time zone for which the opening hours are defined
     */
    std::string timeZoneName;

    /**
     * @brief List of time intervals describing business opening hours
     */
    std::vector<BusinessOpeningHoursInterval::Ptr> openingHours;
};
}

#endif //TGBOT_BUSINESSOPENINGHOURS_H