5#ifndef OCPP_V2_CANCELRESERVATION_HPP
6#define OCPP_V2_CANCELRESERVATION_HPP
8#include <nlohmann/json_fwd.hpp>
11#include <ocpp/common/types.hpp>
12#include <ocpp/v2/ocpp_enums.hpp>
13#include <ocpp/v2/ocpp_types.hpp>
20 int32_t reservationId;
21 std::optional<CustomData> customData;
25 std::string
get_type()
const override;
40 CancelReservationStatusEnum status;
41 std::optional<CustomData> customData;
42 std::optional<StatusInfo> statusInfo;
46 std::string
get_type()
const override;
Parent structure for all OCPP messages supported by this implementation.
Definition: types.hpp:30
Contains a OCPP CancelReservation message.
Definition: CancelReservation.hpp:19
std::string get_type() const override
Provides the type of this CancelReservation message as a human readable string.
Definition: CancelReservation.cpp:16
Contains a OCPP CancelReservationResponse message.
Definition: CancelReservation.hpp:39
std::string get_type() const override
Provides the type of this CancelReservationResponse message as a human readable string.
Definition: CancelReservation.cpp:48