2package eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing;
4import java.util.ArrayList;
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;
57@XmlAccessorType(XmlAccessType.FIELD)
58@XmlType(name =
"Shipment", propOrder = {
65 "expressAltDeliveryAllowed",
75 @XmlElement(name =
"ShipmentReference")
76 protected List<String> shipmentReference;
77 @XmlElement(name = "ShippingDate", type = String.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")
90 @XmlElement(name = "ExpressAltDeliveryAllowed")
91 protected Boolean expressAltDeliveryAllowed;
92 @XmlElement(name = "
Consignee", required = true)
94 @XmlElement(name = "
Shipper", required = true)
96 @XmlElement(name = "
Return")
98 @XmlElement(name = "Carrier", type = String.class)
100 protected Carrier carrier;
103 @XmlElement(name = "Service")
128 public List<String> getShipmentReference() {
129 if (shipmentReference ==
null) {
130 shipmentReference =
new ArrayList<String>();
132 return this.shipmentReference;
156 this.shippingDate = value;
180 this.incotermCode = value;
204 this.identifier = value;
228 this.middleware = value;
252 this.product = value;
264 return expressAltDeliveryAllowed;
276 this.expressAltDeliveryAllowed = value;
300 this.consignee = value;
324 this.shipper = value;
348 this._return = value;
372 this.carrier = value;
398 if (shipmentUnit ==
null) {
399 shipmentUnit =
new ArrayList<ShipmentUnit>();
401 return this.shipmentUnit;
427 if (service ==
null) {
428 service =
new ArrayList<ShipmentService>();
void setReturn(Return value)
void setShipper(Shipper value)
void setMiddleware(String value)
void setExpressAltDeliveryAllowed(Boolean value)
void setIdentifier(String value)
List< ShipmentUnit > getShipmentUnit()
Boolean isExpressAltDeliveryAllowed()
List< ShipmentService > getService()
void setShippingDate(Date value)
void setProduct(ProductType value)
void setConsignee(Consignee value)
void setIncotermCode(String value)
void setCarrier(Carrier value)