ocpp 0.24.1
A C++ implementation of the Open Charge Point Protocol
Public Member Functions | Public Attributes | List of all members
ocpp::v2::TransactionEventRequest Struct Reference

Contains a OCPP TransactionEvent message. More...

#include <TransactionEvent.hpp>

Inheritance diagram for ocpp::v2::TransactionEventRequest:
ocpp::Message

Public Member Functions

std::string get_type () const override
 Provides the type of this TransactionEvent message as a human readable string. More...
 
virtual std::string get_type () const =0
 Provides the type of the message. More...
 

Public Attributes

TransactionEventEnum eventType
 
ocpp::DateTime timestamp
 
TriggerReasonEnum triggerReason
 
int32_t seqNo
 
Transaction transactionInfo
 
std::optional< CustomData > customData
 
std::optional< std::vector< MeterValue > > meterValue
 
std::optional< bool > offline
 
std::optional< int32_t > numberOfPhasesUsed
 
std::optional< int32_t > cableMaxCurrent
 
std::optional< int32_t > reservationId
 
std::optional< EVSEevse
 
std::optional< IdTokenidToken
 

Detailed Description

Contains a OCPP TransactionEvent message.

Member Function Documentation

◆ get_type()

std::string ocpp::v2::TransactionEventRequest::get_type ( ) const
overridevirtual

Provides the type of this TransactionEvent message as a human readable string.

Returns
the message type as a human readable string

Implements ocpp::Message.


The documentation for this struct was generated from the following files: