ocpp 0.24.1
A C++ implementation of the Open Charge Point Protocol
RemoteStopTransaction.hpp
1// SPDX-License-Identifier: Apache-2.0
2// Copyright 2020 - 2024 Pionix GmbH and Contributors to EVerest
3// This code is generated using the generator in 'src/code_generator/common`, please do not edit manually
4
5#ifndef OCPP_V16_REMOTESTOPTRANSACTION_HPP
6#define OCPP_V16_REMOTESTOPTRANSACTION_HPP
7
8#include <nlohmann/json_fwd.hpp>
9
10#include <ocpp/v16/ocpp_enums.hpp>
11#include <ocpp/v16/ocpp_types.hpp>
12
13namespace ocpp {
14namespace v16 {
15
18 int32_t transactionId;
19
22 std::string get_type() const override;
23};
24
26void to_json(json& j, const RemoteStopTransactionRequest& k);
27
29void from_json(const json& j, RemoteStopTransactionRequest& k);
30
33std::ostream& operator<<(std::ostream& os, const RemoteStopTransactionRequest& k);
34
37 RemoteStartStopStatus status;
38
41 std::string get_type() const override;
42};
43
45void to_json(json& j, const RemoteStopTransactionResponse& k);
46
48void from_json(const json& j, RemoteStopTransactionResponse& k);
49
52std::ostream& operator<<(std::ostream& os, const RemoteStopTransactionResponse& k);
53
54} // namespace v16
55} // namespace ocpp
56
57#endif // OCPP_V16_REMOTESTOPTRANSACTION_HPP
Parent structure for all OCPP messages supported by this implementation.
Definition: types.hpp:30
Contains a OCPP RemoteStopTransaction message.
Definition: RemoteStopTransaction.hpp:17
std::string get_type() const override
Provides the type of this RemoteStopTransaction message as a human readable string.
Definition: RemoteStopTransaction.cpp:15
Contains a OCPP RemoteStopTransactionResponse message.
Definition: RemoteStopTransaction.hpp:36
std::string get_type() const override
Provides the type of this RemoteStopTransactionResponse message as a human readable string.
Definition: RemoteStopTransaction.cpp:41