GLS ShipIT 3.5.15 GLS ShipIT - REST services

gls_group/fpcs/v1/shipmentprocessing/types/Shipment.java
Go to the documentation of this file.
1
2 package eu.gls_group.fpcs.v1.shipmentprocessing.types;
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.gls_group.fpcs.v1
eu.gls_group.fpcs.v1.shipmentprocessing.types.Shipment.getMiddleware
String getMiddleware()
Definition: gls_group/fpcs/v1/shipmentprocessing/types/Shipment.java:215
eu.gls_group.fpcs.v1.common
Definition: eu/gls_group/fpcs/v1/common/Adapter1.java:2
eu.gls_group.fpcs.v1.shipmentprocessing.types.Shipment.setShippingDate
void setShippingDate(Date value)
Definition: gls_group/fpcs/v1/shipmentprocessing/types/Shipment.java:155
eu.gls_group.fpcs.v1.common.Adapter1
Definition: eu/gls_group/fpcs/v1/common/Adapter1.java:7
eu
org
eu.gls_group.fpcs.v1.shipmentprocessing.types.Shipment.setReturn
void setReturn(Return value)
Definition: gls_group/fpcs/v1/shipmentprocessing/types/Shipment.java:347
eu.gls_group.fpcs.v1.shipmentprocessing.types.Shipment.getProduct
ProductType getProduct()
Definition: gls_group/fpcs/v1/shipmentprocessing/types/Shipment.java:239
eu.gls_group
eu.gls_group.fpcs.v1.shipmentprocessing.types.Shipment.getConsignee
Consignee getConsignee()
Definition: gls_group/fpcs/v1/shipmentprocessing/types/Shipment.java:287
eu.gls_group.fpcs.v1.common.ShipmentService
Definition: ShipmentService.java:58
eu.gls_group.fpcs.v1.shipmentprocessing.types.Shipment.getIncotermCode
String getIncotermCode()
Definition: gls_group/fpcs/v1/shipmentprocessing/types/Shipment.java:167
eu.gls_group.fpcs.v1.common.Consignee
Definition: gls_group/fpcs/v1/common/Consignee.java:44
eu.gls_group.fpcs.v1.shipmentprocessing.types.Shipment.setIdentifier
void setIdentifier(String value)
Definition: gls_group/fpcs/v1/shipmentprocessing/types/Shipment.java:203
org.w3._2001
eu.gls_group.fpcs.v1.shipmentprocessing.types.Shipment.setProduct
void setProduct(ProductType value)
Definition: gls_group/fpcs/v1/shipmentprocessing/types/Shipment.java:251
eu.gls_group.fpcs.v1.shipmentprocessing.types.Shipment.isExpressAltDeliveryAllowed
Boolean isExpressAltDeliveryAllowed()
Definition: gls_group/fpcs/v1/shipmentprocessing/types/Shipment.java:263
eu.gls_group.fpcs
eu.gls_group.fpcs.v1.shipmentprocessing.types.Shipment.getShipmentUnit
List< ShipmentUnit > getShipmentUnit()
Definition: gls_group/fpcs/v1/shipmentprocessing/types/Shipment.java:397
eu.gls_group.fpcs.v1.shipmentprocessing.types.Shipment.getShipper
Shipper getShipper()
Definition: gls_group/fpcs/v1/shipmentprocessing/types/Shipment.java:311
eu.gls_group.fpcs.v1.shipmentprocessing.types.Shipment.setIncotermCode
void setIncotermCode(String value)
Definition: gls_group/fpcs/v1/shipmentprocessing/types/Shipment.java:179
eu.gls_group.fpcs.v1.shipmentprocessing.types.Shipment.getShippingDate
Date getShippingDate()
Definition: gls_group/fpcs/v1/shipmentprocessing/types/Shipment.java:143
eu.gls_group.fpcs.v1.shipmentprocessing.types.Shipment.setCarrier
void setCarrier(Carrier value)
Definition: gls_group/fpcs/v1/shipmentprocessing/types/Shipment.java:371
eu.glsgroup
eu.gls_group.fpcs.v1.shipmentprocessing.types.Shipment
Definition: gls_group/fpcs/v1/shipmentprocessing/types/Shipment.java:73
eu.gls_group.fpcs.v1.shipmentprocessing.types.Shipment.getReturn
Return getReturn()
Definition: gls_group/fpcs/v1/shipmentprocessing/types/Shipment.java:335
eu.gls_group.fpcs.v1.shipmentprocessing.types.Shipment.setMiddleware
void setMiddleware(String value)
Definition: gls_group/fpcs/v1/shipmentprocessing/types/Shipment.java:227
eu.gls_group.fpcs.v1.shipmentprocessing.types.Shipment.setConsignee
void setConsignee(Consignee value)
Definition: gls_group/fpcs/v1/shipmentprocessing/types/Shipment.java:299
eu.gls_group.fpcs.v1.common.Shipper
Definition: gls_group/fpcs/v1/common/Shipper.java:44
eu.gls_group.fpcs.v1.shipmentprocessing.types.Shipment.getIdentifier
String getIdentifier()
Definition: gls_group/fpcs/v1/shipmentprocessing/types/Shipment.java:191
org.w3._2001.xmlschema.Adapter3
Definition: org/w3/_2001/xmlschema/Adapter3.java:7
eu.gls_group.fpcs.v1.shipmentprocessing.types.Shipment.setExpressAltDeliveryAllowed
void setExpressAltDeliveryAllowed(Boolean value)
Definition: gls_group/fpcs/v1/shipmentprocessing/types/Shipment.java:275
eu.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:64
eu.gls_group.fpcs.v1.shipmentprocessing.types.Shipment.getCarrier
Carrier getCarrier()
Definition: gls_group/fpcs/v1/shipmentprocessing/types/Shipment.java:359
eu.gls_group.fpcs.v1.common.Return
Definition: Return.java:36
org.w3._2001.xmlschema
Definition: org/w3/_2001/xmlschema/Adapter1.java:2
eu.gls_group.fpcs.v1.shipmentprocessing.types.Shipment.setShipper
void setShipper(Shipper value)
Definition: gls_group/fpcs/v1/shipmentprocessing/types/Shipment.java:323
eu.gls_group.fpcs.v1.shipmentprocessing.types.Shipment.getService
List< ShipmentService > getService()
Definition: gls_group/fpcs/v1/shipmentprocessing/types/Shipment.java:426
eu.gls_group.fpcs.v1.common.ProductType
Definition: ProductType.java:28
org.w3
eu.glsgroup.fpcs