Service's split
parent
32a56a2db9
commit
89f9821c94
@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
attributeFormDefault="qualified">
|
||||
<xs:import schemaLocation="avs5rs_sale.xsd" namespace=""/>
|
||||
<xs:import schemaLocation="avs5rs_transit.xsd" namespace=""/>
|
||||
</xs:schema>
|
@ -0,0 +1,68 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:c="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
attributeFormDefault="qualified">
|
||||
|
||||
<xs:simpleType name="IDType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="36"/>
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:complexType name="AbstractResponse">
|
||||
<xs:sequence>
|
||||
<xs:element name="Error" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="code" type="xs:string" minOccurs="1"/>
|
||||
<xs:element name="message" type="xs:string" minOccurs="1"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:simpleType name="UidType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:length value="36"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:complexType name="RouteKey">
|
||||
<xs:sequence>
|
||||
<xs:element name="dispatchStationUid" type="UidType"/>
|
||||
<xs:element name="arrivalStationUid" type="UidType"/>
|
||||
<xs:element name="dispatchTime" type="xs:time"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:simpleType name="ErrorCode">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="INTERNAL"/>
|
||||
<xs:enumeration value="NOT_FOUND"/>
|
||||
<xs:enumeration value="SEAT_OCCUPIED"/>
|
||||
<xs:enumeration value="PERSONAL_DATA_INCORRECT"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
|
||||
<xs:element name="UpdateTicketRequest">
|
||||
<xs:complexType>
|
||||
<c:sequence>
|
||||
<xs:element name="RouteKey" type="RouteKey" minOccurs="1"/>
|
||||
<xs:element name="ticketId" type="IDType" minOccurs="1"/>
|
||||
<xs:element name="passengerGone" type="xs:boolean" minOccurs="0"/>
|
||||
</c:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="UpdateTicketResponse">
|
||||
<xs:complexType>
|
||||
<xs:complexContent>
|
||||
<xs:extension base="AbstractResponse"/>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
</xs:schema>
|
@ -0,0 +1,160 @@
|
||||
|
||||
package com.artmark.avs5rs.dispatcher.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlSeeAlso;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for AbstractResponse complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="AbstractResponse">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="Error" minOccurs="0">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="code" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </element>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "AbstractResponse", propOrder = {
|
||||
"error"
|
||||
})
|
||||
@XmlSeeAlso({
|
||||
UpdateTicketResponse.class
|
||||
})
|
||||
public class AbstractResponse {
|
||||
|
||||
@XmlElement(name = "Error")
|
||||
protected AbstractResponse.Error error;
|
||||
|
||||
/**
|
||||
* Gets the value of the error property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link AbstractResponse.Error }
|
||||
*
|
||||
*/
|
||||
public AbstractResponse.Error getError() {
|
||||
return error;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the error property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link AbstractResponse.Error }
|
||||
*
|
||||
*/
|
||||
public void setError(AbstractResponse.Error value) {
|
||||
this.error = value;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="code" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"code",
|
||||
"message"
|
||||
})
|
||||
public static class Error {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String code;
|
||||
@XmlElement(required = true)
|
||||
protected String message;
|
||||
|
||||
/**
|
||||
* Gets the value of the code property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the code property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setCode(String value) {
|
||||
this.code = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the message property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the message property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setMessage(String value) {
|
||||
this.message = value;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
|
||||
package com.artmark.avs5rs.dispatcher.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlEnum;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for ErrorCode.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
* <p>
|
||||
* <pre>
|
||||
* <simpleType name="ErrorCode">
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <enumeration value="INTERNAL"/>
|
||||
* <enumeration value="NOT_FOUND"/>
|
||||
* <enumeration value="SEAT_OCCUPIED"/>
|
||||
* <enumeration value="PERSONAL_DATA_INCORRECT"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "ErrorCode")
|
||||
@XmlEnum
|
||||
public enum ErrorCode {
|
||||
|
||||
INTERNAL,
|
||||
NOT_FOUND,
|
||||
SEAT_OCCUPIED,
|
||||
PERSONAL_DATA_INCORRECT;
|
||||
|
||||
public String value() {
|
||||
return name();
|
||||
}
|
||||
|
||||
public static ErrorCode fromValue(String v) {
|
||||
return valueOf(v);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,72 @@
|
||||
|
||||
package com.artmark.avs5rs.dispatcher.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlRegistry;
|
||||
|
||||
|
||||
/**
|
||||
* This object contains factory methods for each
|
||||
* Java content interface and Java element interface
|
||||
* generated in the com.artmark.avs5rs.dispatcher.model package.
|
||||
* <p>An ObjectFactory allows you to programatically
|
||||
* construct new instances of the Java representation
|
||||
* for XML content. The Java representation of XML
|
||||
* content can consist of schema derived interfaces
|
||||
* and classes representing the binding of schema
|
||||
* type definitions, element declarations and model
|
||||
* groups. Factory methods for each of these are
|
||||
* provided in this class.
|
||||
*
|
||||
*/
|
||||
@XmlRegistry
|
||||
public class ObjectFactory {
|
||||
|
||||
|
||||
/**
|
||||
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.artmark.avs5rs.dispatcher.model
|
||||
*
|
||||
*/
|
||||
public ObjectFactory() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link AbstractResponse }
|
||||
*
|
||||
*/
|
||||
public AbstractResponse createAbstractResponse() {
|
||||
return new AbstractResponse();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link UpdateTicketResponse }
|
||||
*
|
||||
*/
|
||||
public UpdateTicketResponse createUpdateTicketResponse() {
|
||||
return new UpdateTicketResponse();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link AbstractResponse.Error }
|
||||
*
|
||||
*/
|
||||
public AbstractResponse.Error createAbstractResponseError() {
|
||||
return new AbstractResponse.Error();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link UpdateTicketRequest }
|
||||
*
|
||||
*/
|
||||
public UpdateTicketRequest createUpdateTicketRequest() {
|
||||
return new UpdateTicketRequest();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link RouteKey }
|
||||
*
|
||||
*/
|
||||
public RouteKey createRouteKey() {
|
||||
return new RouteKey();
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,121 @@
|
||||
|
||||
package com.artmark.avs5rs.dispatcher.model;
|
||||
|
||||
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.datatype.XMLGregorianCalendar;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for RouteKey complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="RouteKey">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="dispatchStationUid" type="{}UidType"/>
|
||||
* <element name="arrivalStationUid" type="{}UidType"/>
|
||||
* <element name="dispatchTime" type="{http://www.w3.org/2001/XMLSchema}time"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "RouteKey", propOrder = {
|
||||
"dispatchStationUid",
|
||||
"arrivalStationUid",
|
||||
"dispatchTime"
|
||||
})
|
||||
public class RouteKey {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String dispatchStationUid;
|
||||
@XmlElement(required = true)
|
||||
protected String arrivalStationUid;
|
||||
@XmlElement(required = true)
|
||||
@XmlSchemaType(name = "time")
|
||||
protected XMLGregorianCalendar dispatchTime;
|
||||
|
||||
/**
|
||||
* Gets the value of the dispatchStationUid property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getDispatchStationUid() {
|
||||
return dispatchStationUid;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the dispatchStationUid property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setDispatchStationUid(String value) {
|
||||
this.dispatchStationUid = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the arrivalStationUid property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getArrivalStationUid() {
|
||||
return arrivalStationUid;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the arrivalStationUid property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setArrivalStationUid(String value) {
|
||||
this.arrivalStationUid = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the dispatchTime property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link XMLGregorianCalendar }
|
||||
*
|
||||
*/
|
||||
public XMLGregorianCalendar getDispatchTime() {
|
||||
return dispatchTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the dispatchTime property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link XMLGregorianCalendar }
|
||||
*
|
||||
*/
|
||||
public void setDispatchTime(XMLGregorianCalendar value) {
|
||||
this.dispatchTime = value;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,119 @@
|
||||
|
||||
package com.artmark.avs5rs.dispatcher.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="RouteKey" type="{}RouteKey"/>
|
||||
* <element name="ticketId" type="{}IDType"/>
|
||||
* <element name="passengerGone" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"routeKey",
|
||||
"ticketId",
|
||||
"passengerGone"
|
||||
})
|
||||
@XmlRootElement(name = "UpdateTicketRequest")
|
||||
public class UpdateTicketRequest {
|
||||
|
||||
@XmlElement(name = "RouteKey", required = true)
|
||||
protected RouteKey routeKey;
|
||||
@XmlElement(required = true)
|
||||
protected String ticketId;
|
||||
protected Boolean passengerGone;
|
||||
|
||||
/**
|
||||
* Gets the value of the routeKey property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link RouteKey }
|
||||
*
|
||||
*/
|
||||
public RouteKey getRouteKey() {
|
||||
return routeKey;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the routeKey property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link RouteKey }
|
||||
*
|
||||
*/
|
||||
public void setRouteKey(RouteKey value) {
|
||||
this.routeKey = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the ticketId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getTicketId() {
|
||||
return ticketId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the ticketId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setTicketId(String value) {
|
||||
this.ticketId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the passengerGone property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link Boolean }
|
||||
*
|
||||
*/
|
||||
public Boolean isPassengerGone() {
|
||||
return passengerGone;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the passengerGone property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link Boolean }
|
||||
*
|
||||
*/
|
||||
public void setPassengerGone(Boolean value) {
|
||||
this.passengerGone = value;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
|
||||
package com.artmark.avs5rs.dispatcher.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <extension base="{}AbstractResponse">
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "")
|
||||
@XmlRootElement(name = "UpdateTicketResponse")
|
||||
public class UpdateTicketResponse
|
||||
extends AbstractResponse
|
||||
{
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,68 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:c="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
attributeFormDefault="qualified">
|
||||
|
||||
<xs:simpleType name="IDType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="36"/>
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:complexType name="AbstractResponse">
|
||||
<xs:sequence>
|
||||
<xs:element name="Error" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="code" type="xs:string" minOccurs="1"/>
|
||||
<xs:element name="message" type="xs:string" minOccurs="1"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:simpleType name="UidType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:length value="36"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:complexType name="RouteKey">
|
||||
<xs:sequence>
|
||||
<xs:element name="dispatchStationUid" type="UidType"/>
|
||||
<xs:element name="arrivalStationUid" type="UidType"/>
|
||||
<xs:element name="dispatchTime" type="xs:time"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:simpleType name="ErrorCode">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="INTERNAL"/>
|
||||
<xs:enumeration value="NOT_FOUND"/>
|
||||
<xs:enumeration value="SEAT_OCCUPIED"/>
|
||||
<xs:enumeration value="PERSONAL_DATA_INCORRECT"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
|
||||
<xs:element name="UpdateTicketRequest">
|
||||
<xs:complexType>
|
||||
<c:sequence>
|
||||
<xs:element name="RouteKey" type="RouteKey" minOccurs="1"/>
|
||||
<xs:element name="ticketId" type="IDType" minOccurs="1"/>
|
||||
<xs:element name="passengerGone" type="xs:boolean" minOccurs="0"/>
|
||||
</c:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="UpdateTicketResponse">
|
||||
<xs:complexType>
|
||||
<xs:complexContent>
|
||||
<xs:extension base="AbstractResponse"/>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
</xs:schema>
|
@ -1,64 +0,0 @@
|
||||
package com.artmark.avs5rs.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Ushmodin N.
|
||||
* @since 07.07.2016 11:04
|
||||
*/
|
||||
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlRootElement(name = "BookOrderRequest")
|
||||
public class BookOrderRequest {
|
||||
private String tripId;
|
||||
private String dispatchStationId;
|
||||
private String arrivalStationId;
|
||||
@XmlElement(name = "Sale")
|
||||
private List<Sale> sales;
|
||||
@XmlElement(name = "Agent")
|
||||
private Agent agent;
|
||||
|
||||
public String getTripId() {
|
||||
return tripId;
|
||||
}
|
||||
|
||||
public void setTripId(String tripId) {
|
||||
this.tripId = tripId;
|
||||
}
|
||||
|
||||
public String getDispatchStationId() {
|
||||
return dispatchStationId;
|
||||
}
|
||||
|
||||
public void setDispatchStationId(String dispatchStationId) {
|
||||
this.dispatchStationId = dispatchStationId;
|
||||
}
|
||||
|
||||
public String getArrivalStationId() {
|
||||
return arrivalStationId;
|
||||
}
|
||||
|
||||
public void setArrivalStationId(String arrivalStationId) {
|
||||
this.arrivalStationId = arrivalStationId;
|
||||
}
|
||||
|
||||
public List<Sale> getSales() {
|
||||
return sales;
|
||||
}
|
||||
|
||||
public void setSales(List<Sale> sales) {
|
||||
this.sales = sales;
|
||||
}
|
||||
|
||||
public Agent getAgent() {
|
||||
return agent;
|
||||
}
|
||||
|
||||
public void setAgent(Agent agent) {
|
||||
this.agent = agent;
|
||||
}
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
package com.artmark.avs5rs.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
|
||||
/**
|
||||
* @author Ushmodin N.
|
||||
* @since 07.07.2016 11:23
|
||||
*/
|
||||
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlRootElement(name = "CancelTicketRequest")
|
||||
public class CancelTicketRequest {
|
||||
private String ticketId;
|
||||
@XmlElement(name = "Agent")
|
||||
private Agent agent;
|
||||
|
||||
public String getTicketId() {
|
||||
return ticketId;
|
||||
}
|
||||
|
||||
public void setTicketId(String ticketId) {
|
||||
this.ticketId = ticketId;
|
||||
}
|
||||
|
||||
public Agent getAgent() {
|
||||
return agent;
|
||||
}
|
||||
|
||||
public void setAgent(Agent agent) {
|
||||
this.agent = agent;
|
||||
}
|
||||
}
|