using EVCB_OCPP.Packet20.DataTypes; 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 CustomerInformationRequest { /// /// The Id of the request. /// [Required] public int RequestId { set; get; } /// /// Flag indicating whether the Charging Station ///should return NotifyCustomerInformationRequest ///messages containing information about the customer ///referred to. /// [Required] public bool Clear { set; get; } /// /// A (e.g. vendor specific) identifier of the ///customer this request refers to.This field contains a /// custom identifier other than IdToken and Certificate.One /// of the possible identifiers (customerIdentifier, /// customerIdToken or customerCertificate) should be in ///the request message. /// [StringLength(64, MinimumLength = 0)] public string CustomerIdentifier { set; get; } /// /// The IdToken of the customer this request refers /// to.One of the possible identifiers(customerIdentifier, /// customerIdToken or customerCertificate) should be in ///the request message. /// public IdTokenType IdToken { set; get; } /// /// The Certificate of the customer this request /// refers to.One of the possible identifiers /// (customerIdentifier, customerIdToken or /// customerCertificate) should be in the request message /// public CertificateHashDataType CustomerCertificate { set; get; } } }