2 package eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing;
10 import javax.xml.bind.annotation.XmlAccessType;
11 import javax.xml.bind.annotation.XmlAccessorType;
12 import javax.xml.bind.annotation.XmlElement;
13 import javax.xml.bind.annotation.XmlSchemaType;
14 import javax.xml.bind.annotation.XmlType;
15 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
16 import java.util.ArrayList;
17 import java.util.Date;
18 import java.util.List;
51 @XmlAccessorType(XmlAccessType.FIELD)
52 @XmlType(name =
"Shipment", propOrder = {
59 "expressAltDeliveryAllowed",
67 @XmlElement(name =
"ShipmentReference")
68 protected List<String> shipmentReference;
69 @XmlElement(name = "ShippingDate", type = String.class)
71 @XmlSchemaType(name = "date")
72 protected Date shippingDate;
73 @XmlElement(name = "IncotermCode")
74 protected String incotermCode;
75 @XmlElement(name = "Identifier")
76 protected String identifier;
77 @XmlElement(name = "Middleware")
78 protected String middleware;
79 @XmlElement(name = "Product", required = true)
81 @XmlElement(name = "ExpressAltDeliveryAllowed")
82 protected Boolean expressAltDeliveryAllowed;
83 @XmlElement(name = "
Consignee", required = true)
84 protected Consignee consignee;
85 @XmlElement(name = "
Shipper", required = true)
86 protected Shipper shipper;
88 protected List<ShipmentUnit> shipmentUnit;
89 @XmlElement(name = "Service")
114 public List<String> getShipmentReference() {
115 if (shipmentReference == null) {
116 shipmentReference =
new ArrayList<String>();
118 return this.shipmentReference;
142 this.shippingDate = value;
166 this.incotermCode = value;
190 this.identifier = value;
214 this.middleware = value;
238 this.product = value;
250 return expressAltDeliveryAllowed;
262 this.expressAltDeliveryAllowed = value;
286 this.consignee = value;
310 this.shipper = value;
336 if (shipmentUnit == null) {
337 shipmentUnit =
new ArrayList<ShipmentUnit>();
339 return this.shipmentUnit;
365 if (service == null) {
366 service =
new ArrayList<ShipmentService>();
void setProduct(ProductType value)
void setShippingDate(Date value)
List< ShipmentService > getService()
void setConsignee(Consignee value)
void setIdentifier(String value)
void setShipper(Shipper value)
void setExpressAltDeliveryAllowed(Boolean value)
void setMiddleware(String value)
List< ShipmentUnit > getShipmentUnit()
void setIncotermCode(String value)
Boolean isExpressAltDeliveryAllowed()