GLS ShipIT 5.0.11 GLS ShipIT - REST services

glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/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.gls_group.fpcs.v1.common.Adapter1;
14 import eu.gls_group.fpcs.v1.common.Consignee;
15 import eu.gls_group.fpcs.v1.common.ProductType;
16 import eu.gls_group.fpcs.v1.common.Return;
17 import eu.gls_group.fpcs.v1.common.ShipmentService;
18 import eu.gls_group.fpcs.v1.common.Shipper;
19 import eu.glsgroup.fpcs.dto.carrierconnect.Carrier;
20 import org.w3._2001.xmlschema.Adapter3;
21
22
57 @XmlAccessorType(XmlAccessType.FIELD)
58 @XmlType(name = "Shipment", propOrder = {
59 "shipmentReference",
60 "shippingDate",
61 "incotermCode",
62 "identifier",
63 "middleware",
64 "product",
65 "expressAltDeliveryAllowed",
66 "consignee",
67 "shipper",
68 "_return",
69 "carrier",
70 "shipmentUnit",
71 "service"
72 })
73 public class Shipment {
74
75 @XmlElement(name = "ShipmentReference")
76 protected List<String> shipmentReference;
77 @XmlElement(name = "ShippingDate", type = String.class)
78 @XmlJavaTypeAdapter(Adapter3 .class)
79 @XmlSchemaType(name = "date")
80 protected Date shippingDate;
81 @XmlElement(name = "IncotermCode")
82 protected String incotermCode;
83 @XmlElement(name = "Identifier")
84 protected String identifier;
85 @XmlElement(name = "Middleware")
86 protected String middleware;
87 @XmlElement(name = "Product", required = true)
88 @XmlSchemaType(name = "string")
89 protected ProductType product;
90 @XmlElement(name = "ExpressAltDeliveryAllowed")
91 protected Boolean expressAltDeliveryAllowed;
92 @XmlElement(name = "Consignee", required = true)
93 protected Consignee consignee;
94 @XmlElement(name = "Shipper", required = true)
95 protected Shipper shipper;
96 @XmlElement(name = "Return")
97 protected Return _return;
98 @XmlElement(name = "Carrier", type = String.class)
99 @XmlJavaTypeAdapter(Adapter1 .class)
100 protected Carrier carrier;
101 @XmlElement(name = "ShipmentUnit", required = true)
102 protected List<ShipmentUnit> shipmentUnit;
103 @XmlElement(name = "Service")
104 protected List<ShipmentService> service;
105
128 public List<String> getShipmentReference() {
129 if (shipmentReference == null) {
130 shipmentReference = new ArrayList<String>();
131 }
132 return this.shipmentReference;
133 }
134
143 public Date getShippingDate() {
144 return shippingDate;
145 }
146
155 public void setShippingDate(Date value) {
156 this.shippingDate = value;
157 }
158
167 public String getIncotermCode() {
168 return incotermCode;
169 }
170
179 public void setIncotermCode(String value) {
180 this.incotermCode = value;
181 }
182
191 public String getIdentifier() {
192 return identifier;
193 }
194
203 public void setIdentifier(String value) {
204 this.identifier = value;
205 }
206
215 public String getMiddleware() {
216 return middleware;
217 }
218
227 public void setMiddleware(String value) {
228 this.middleware = value;
229 }
230
239 public ProductType getProduct() {
240 return product;
241 }
242
251 public void setProduct(ProductType value) {
252 this.product = value;
253 }
254
263 public Boolean isExpressAltDeliveryAllowed() {
264 return expressAltDeliveryAllowed;
265 }
266
275 public void setExpressAltDeliveryAllowed(Boolean value) {
276 this.expressAltDeliveryAllowed = value;
277 }
278
287 public Consignee getConsignee() {
288 return consignee;
289 }
290
299 public void setConsignee(Consignee value) {
300 this.consignee = value;
301 }
302
311 public Shipper getShipper() {
312 return shipper;
313 }
314
323 public void setShipper(Shipper value) {
324 this.shipper = value;
325 }
326
335 public Return getReturn() {
336 return _return;
337 }
338
347 public void setReturn(Return value) {
348 this._return = value;
349 }
350
359 public Carrier getCarrier() {
360 return carrier;
361 }
362
371 public void setCarrier(Carrier value) {
372 this.carrier = value;
373 }
374
397 public List<ShipmentUnit> getShipmentUnit() {
398 if (shipmentUnit == null) {
399 shipmentUnit = new ArrayList<ShipmentUnit>();
400 }
401 return this.shipmentUnit;
402 }
403
426 public List<ShipmentService> getService() {
427 if (service == null) {
428 service = new ArrayList<ShipmentService>();
429 }
430 return this.service;
431 }
432
433 }
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.getShippingDate
Date getShippingDate()
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/Shipment.java:143
eu.gls_group.fpcs.v1
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.setCarrier
void setCarrier(Carrier value)
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/Shipment.java:371
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.setProduct
void setProduct(ProductType value)
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/Shipment.java:251
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/Shipment.java:73
eu.gls_group.fpcs.v1.common
Definition: eu/gls_group/fpcs/v1/common/Adapter1.java:2
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.getCarrier
Carrier getCarrier()
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/Shipment.java:359
eu.gls_group.fpcs.v1.common.Adapter1
Definition: eu/gls_group/fpcs/v1/common/Adapter1.java:7
eu
org
eu.gls_group
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.getMiddleware
String getMiddleware()
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/Shipment.java:215
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/ShipmentUnit.java:67
eu.gls_group.fpcs.v1.common.ShipmentService
Definition: ShipmentService.java:60
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.setShippingDate
void setShippingDate(Date value)
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/Shipment.java:155
eu.gls_group.fpcs.v1.common.Consignee
Definition: gls_group/fpcs/v1/common/Consignee.java:44
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.getService
List< ShipmentService > getService()
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/Shipment.java:426
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.setReturn
void setReturn(Return value)
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/Shipment.java:347
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.getProduct
ProductType getProduct()
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/Shipment.java:239
org.w3._2001
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.setConsignee
void setConsignee(Consignee value)
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/Shipment.java:299
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.getReturn
Return getReturn()
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/Shipment.java:335
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.setIdentifier
void setIdentifier(String value)
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/Shipment.java:203
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.getConsignee
Consignee getConsignee()
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/Shipment.java:287
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.setShipper
void setShipper(Shipper value)
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/Shipment.java:323
eu.gls_group.fpcs
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.setExpressAltDeliveryAllowed
void setExpressAltDeliveryAllowed(Boolean value)
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/Shipment.java:275
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.getShipper
Shipper getShipper()
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/Shipment.java:311
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.setMiddleware
void setMiddleware(String value)
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/Shipment.java:227
eu.glsgroup
eu.gls_group.fpcs.v1.common.Shipper
Definition: gls_group/fpcs/v1/common/Shipper.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: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/Shipment.java:397
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.setIncotermCode
void setIncotermCode(String value)
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/Shipment.java:179
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.isExpressAltDeliveryAllowed
Boolean isExpressAltDeliveryAllowed()
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/Shipment.java:263
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.getIncotermCode
String getIncotermCode()
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/Shipment.java:167
eu.gls_group.fpcs.v1.common.Return
Definition: Return.java:36
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.Shipment.getIdentifier
String getIdentifier()
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/Shipment.java:191
org.w3._2001.xmlschema
Definition: org/w3/_2001/xmlschema/Adapter1.java:2
eu.gls_group.fpcs.v1.common.ProductType
Definition: ProductType.java:29
org.w3
eu.glsgroup.fpcs