using EVCB_OCPP.Packet20.DataTypes.EnumTypes;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EVCB_OCPP.Packet20.Messages
{
public class RequestStartTransactionResponse
{
///
/// Status indicating whether the Charging Station
///accepts the request to start a transaction.
///
[Required]
[JsonConverter(typeof(StringEnumConverter))]
public RequestStartStopStatusEnumType Status { set; get; }
///
/// When the transaction was already started by
///the Charging Station before the
/// RequestStartTransactionRequest was received, for
///example: cable plugged in first.This contains the
///transactionId of the already started transaction.
///
public string TransactionId { set; get; }
}
}