5#ifndef OCPP_V2_REQUESTSTOPTRANSACTION_HPP
6#define OCPP_V2_REQUESTSTOPTRANSACTION_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>
21 std::optional<CustomData> customData;
25 std::string
get_type()
const override;
40 RequestStartStopStatusEnum 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 StopTransaction message.
Definition: RequestStopTransaction.hpp:19
std::string get_type() const override
Provides the type of this StopTransaction message as a human readable string.
Definition: RequestStopTransaction.cpp:16
Contains a OCPP StopTransactionResponse message.
Definition: RequestStopTransaction.hpp:39
std::string get_type() const override
Provides the type of this StopTransactionResponse message as a human readable string.
Definition: RequestStopTransaction.cpp:48