GLS ShipIT 4.0.f2
GLS ShipIT - SOAP services
Loading...
Searching...
No Matches
glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/Shipment.java
Go to the documentation of this file.
1
2package eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing;
3
4import java.util.ArrayList;
5import java.util.Date;
6import java.util.List;
7import javax.xml.bind.annotation.XmlAccessType;
8import javax.xml.bind.annotation.XmlAccessorType;
9import javax.xml.bind.annotation.XmlElement;
10import javax.xml.bind.annotation.XmlSchemaType;
11import javax.xml.bind.annotation.XmlType;
12import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
13import eu.gls_group.fpcs.v1.common.Adapter1;
14import eu.gls_group.fpcs.v1.common.Consignee;
15import eu.gls_group.fpcs.v1.common.ProductType;
16import eu.gls_group.fpcs.v1.common.Return;
17import eu.gls_group.fpcs.v1.common.ShipmentService;
18import eu.gls_group.fpcs.v1.common.Shipper;
19import eu.glsgroup.fpcs.dto.carrierconnect.Carrier;
20import 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})
73public 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
240 return product;
241 }
242
251 public void setProduct(ProductType value) {
252 this.product = value;
253 }
254
264 return expressAltDeliveryAllowed;
265 }
266
275 public void setExpressAltDeliveryAllowed(Boolean value) {
276 this.expressAltDeliveryAllowed = value;
277 }
278
288 return consignee;
289 }
290
299 public void setConsignee(Consignee value) {
300 this.consignee = value;
301 }
302
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}