GLS ShipIT 3.3.20 GLS ShipIT - SOAP services

Shipment.java
Go to the documentation of this file.
1
2 package eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing;
3
4 import java.util.ArrayList;
5 import java.util.Date;
6 import java.util.List;
7 import javax.xml.bind.annotation.XmlAccessType;
8 import javax.xml.bind.annotation.XmlAccessorType;
9 import javax.xml.bind.annotation.XmlElement;
10 import javax.xml.bind.annotation.XmlSchemaType;
11 import javax.xml.bind.annotation.XmlType;
12 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
13 import eu.glsgroup.fpcs.datatypes.soap.v1.common.Consignee;
14 import eu.glsgroup.fpcs.datatypes.soap.v1.common.ProductType;
15 import eu.glsgroup.fpcs.datatypes.soap.v1.common.ShipmentService;
16 import eu.glsgroup.fpcs.datatypes.soap.v1.common.Shipper;
17 import org.w3._2001.xmlschema.Adapter3;
18
19
52 @XmlAccessorType(XmlAccessType.FIELD)
53 @XmlType(name = "Shipment", propOrder = {
54 "shipmentReference",
55 "shippingDate",
56 "incotermCode",
57 "identifier",
58 "middleware",
59 "product",
60 "expressAltDeliveryAllowed",
61 "consignee",
62 "shipper",
63 "shipmentUnit",
64 "service"
65 })
66 public class Shipment {
67
68 @XmlElement(name = "ShipmentReference")
69 protected List<String> shipmentReference;
70 @XmlElement(name = "ShippingDate", type = String.class)
71 @XmlJavaTypeAdapter(Adapter3 .class)
72 @XmlSchemaType(name = "date")
73 protected Date shippingDate;
74 @XmlElement(name = "IncotermCode")
75 protected String incotermCode;
76 @XmlElement(name = "Identifier")
77 protected String identifier;
78 @XmlElement(name = "Middleware")
79 protected String middleware;
80 @XmlElement(name = "Product", required = true)
81 @XmlSchemaType(name = "string")
82 protected ProductType product;
83 @XmlElement(name = "ExpressAltDeliveryAllowed")
84 protected Boolean expressAltDeliveryAllowed;
85 @XmlElement(name = "Consignee", required = true)
86 protected Consignee consignee;
87 @XmlElement(name = "Shipper", required = true)
88 protected Shipper shipper;
89 @XmlElement(name = "ShipmentUnit", required = true)
90 protected List<ShipmentUnit> shipmentUnit;
91 @XmlElement(name = "Service")
92 protected List<ShipmentService> service;
93
116 public List<String> getShipmentReference() {
117 if (shipmentReference == null) {
118 shipmentReference = new ArrayList<String>();
119 }
120 return this.shipmentReference;
121 }
122
131 public Date getShippingDate() {
132 return shippingDate;
133 }
134
143 public void setShippingDate(Date value) {
144 this.shippingDate = value;
145 }
146
155 public String getIncotermCode() {
156 return incotermCode;
157 }
158
167 public void setIncotermCode(String value) {
168 this.incotermCode = value;
169 }
170
179 public String getIdentifier() {
180 return identifier;
181 }
182
191 public void setIdentifier(String value) {
192 this.identifier = value;
193 }
194
203 public String getMiddleware() {
204 return middleware;
205 }
206
215 public void setMiddleware(String value) {
216 this.middleware = value;
217 }
218
227 public ProductType getProduct() {
228 return product;
229 }
230
239 public void setProduct(ProductType value) {
240 this.product = value;
241 }
242
251 public Boolean isExpressAltDeliveryAllowed() {
252 return expressAltDeliveryAllowed;
253 }
254
263 public void setExpressAltDeliveryAllowed(Boolean value) {
264 this.expressAltDeliveryAllowed = value;
265 }
266
275 public Consignee getConsignee() {
276 return consignee;
277 }
278
287 public void setConsignee(Consignee value) {
288 this.consignee = value;
289 }
290
299 public Shipper getShipper() {
300 return shipper;
301 }
302
311 public void setShipper(Shipper value) {
312 this.shipper = value;
313 }
314
337 public List<ShipmentUnit> getShipmentUnit() {
338 if (shipmentUnit == null) {
339 shipmentUnit = new ArrayList<ShipmentUnit>();
340 }
341 return this.shipmentUnit;
342 }
343
366 public List<ShipmentService> getService() {
367 if (service == null) {
368 service = new ArrayList<ShipmentService>();
369 }
370 return this.service;
371 }
372
373 }
eu.glsgroup.fpcs.datatypes.soap
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.getShippingDate
Date getShippingDate()
Definition: Shipment.java:131
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.setProduct
void setProduct(ProductType value)
Definition: Shipment.java:239
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment
Definition: Shipment.java:66
eu.glsgroup.fpcs.datatypes.soap.v1.common.ShipmentService
Definition: ShipmentService.java:58
eu
org
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.getMiddleware
String getMiddleware()
Definition: Shipment.java:203
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit
Definition: ShipmentUnit.java:60
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.setShippingDate
void setShippingDate(Date value)
Definition: Shipment.java:143
eu.glsgroup.fpcs.datatypes.soap.v1.common
Definition: AddOnLiabilityService.java:2
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.getService
List< ShipmentService > getService()
Definition: Shipment.java:366
eu.glsgroup.fpcs.datatypes.soap.v1.common.ProductType
Definition: ProductType.java:28
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.getProduct
ProductType getProduct()
Definition: Shipment.java:227
org.w3._2001
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.setConsignee
void setConsignee(Consignee value)
Definition: Shipment.java:287
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.setIdentifier
void setIdentifier(String value)
Definition: Shipment.java:191
eu.glsgroup.fpcs.datatypes.soap.v1.common.Shipper
Definition: Shipper.java:44
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.getConsignee
Consignee getConsignee()
Definition: Shipment.java:275
eu.glsgroup.fpcs.datatypes.soap.v1
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.setShipper
void setShipper(Shipper value)
Definition: Shipment.java:311
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.setExpressAltDeliveryAllowed
void setExpressAltDeliveryAllowed(Boolean value)
Definition: Shipment.java:263
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.getShipper
Shipper getShipper()
Definition: Shipment.java:299
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.setMiddleware
void setMiddleware(String value)
Definition: Shipment.java:215
eu.glsgroup
eu.glsgroup.fpcs.datatypes.soap.v1.common.Consignee
Definition: Consignee.java:44
org.w3._2001.xmlschema.Adapter3
Definition: org/w3/_2001/xmlschema/Adapter3.java:7
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.getShipmentUnit
List< ShipmentUnit > getShipmentUnit()
Definition: Shipment.java:337
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.setIncotermCode
void setIncotermCode(String value)
Definition: Shipment.java:167
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.isExpressAltDeliveryAllowed
Boolean isExpressAltDeliveryAllowed()
Definition: Shipment.java:251
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.getIncotermCode
String getIncotermCode()
Definition: Shipment.java:155
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.getIdentifier
String getIdentifier()
Definition: Shipment.java:179
org.w3._2001.xmlschema
Definition: org/w3/_2001/xmlschema/Adapter1.java:2
eu.glsgroup.fpcs.datatypes
org.w3
eu.glsgroup.fpcs