All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.motown.ocpp.v15.soap.chargepoint.schema.ReserveNowRequest Maven / Gradle / Ivy

Go to download

Open Charge Point Protocol (OCPP). Provides a web service endpoint based on OCPP 1.5.

The newest version!

package io.motown.ocpp.v15.soap.chargepoint.schema;

import java.util.Date;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * Defines the ReserveNow.req PDU
 * 
 * 

Java class for ReserveNowRequest complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="ReserveNowRequest">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="connectorId" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         <element name="expiryDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
 *         <element name="idTag" type="{urn://Ocpp/Cp/2012/06/}IdToken"/>
 *         <element name="parentIdTag" type="{urn://Ocpp/Cp/2012/06/}IdToken" minOccurs="0"/>
 *         <element name="reservationId" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ReserveNowRequest", propOrder = { "connectorId", "expiryDate", "idTag", "parentIdTag", "reservationId" }) public class ReserveNowRequest { protected int connectorId; @XmlElement(required = true, type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "dateTime") protected Date expiryDate; @XmlElement(required = true) protected String idTag; protected String parentIdTag; protected int reservationId; /** * Gets the value of the connectorId property. * */ public int getConnectorId() { return connectorId; } /** * Sets the value of the connectorId property. * */ public void setConnectorId(int value) { this.connectorId = value; } /** * Gets the value of the expiryDate property. * * @return * possible object is * {@link String } * */ public Date getExpiryDate() { return expiryDate; } /** * Sets the value of the expiryDate property. * * @param value * allowed object is * {@link String } * */ public void setExpiryDate(Date value) { this.expiryDate = value; } /** * Gets the value of the idTag property. * * @return * possible object is * {@link String } * */ public String getIdTag() { return idTag; } /** * Sets the value of the idTag property. * * @param value * allowed object is * {@link String } * */ public void setIdTag(String value) { this.idTag = value; } /** * Gets the value of the parentIdTag property. * * @return * possible object is * {@link String } * */ public String getParentIdTag() { return parentIdTag; } /** * Sets the value of the parentIdTag property. * * @param value * allowed object is * {@link String } * */ public void setParentIdTag(String value) { this.parentIdTag = value; } /** * Gets the value of the reservationId property. * */ public int getReservationId() { return reservationId; } /** * Sets the value of the reservationId property. * */ public void setReservationId(int value) { this.reservationId = value; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy