2 package eu.glsgroup.fpcs.datatypes.soap.v1.tracking;
4 import java.math.BigDecimal;
5 import java.util.ArrayList;
8 import javax.xml.bind.annotation.XmlAccessType;
9 import javax.xml.bind.annotation.XmlAccessorType;
10 import javax.xml.bind.annotation.XmlElement;
11 import javax.xml.bind.annotation.XmlSchemaType;
12 import javax.xml.bind.annotation.XmlType;
13 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
56 @XmlAccessorType(XmlAccessType.FIELD)
57 @XmlType(name =
"UnitDetail", propOrder = {
60 "shipmentUnitReference",
61 "globalShipmentUnitId",
74 @XmlElement(name =
"TrackID", required =
true)
75 protected String trackID;
76 @XmlElement(name = "ShipmentReference")
77 protected List<String> shipmentReference;
78 @XmlElement(name = "ShipmentUnitReference")
79 protected List<String> shipmentUnitReference;
80 @XmlElement(name = "GlobalShipmentUnitId")
81 protected String globalShipmentUnitId;
82 @XmlElement(name = "Weight", required = true, type = String.class)
84 @XmlSchemaType(name = "decimal")
85 protected BigDecimal weight;
86 @XmlElement(name = "DeliveryDate", type = String.class)
88 @XmlSchemaType(name = "dateTime")
89 protected Date deliveryDate;
90 @XmlElement(name = "Signature")
91 protected String signature;
92 @XmlElement(name = "Product", required = true)
93 @XmlSchemaType(name = "
string")
95 @XmlElement(name = "
Consignee", required = true)
96 protected Consignee consignee;
97 @XmlElement(name = "
Shipper", required = true)
98 protected Shipper shipper;
99 @XmlElement(name = "Service")
103 @XmlElement(name = "History")
114 public String getTrackID() {
127 this.trackID = value;
153 if (shipmentReference == null) {
154 shipmentReference =
new ArrayList<String>();
156 return this.shipmentReference;
182 if (shipmentUnitReference == null) {
183 shipmentUnitReference =
new ArrayList<String>();
185 return this.shipmentUnitReference;
197 return globalShipmentUnitId;
209 this.globalShipmentUnitId = value;
257 this.deliveryDate = value;
281 this.signature = value;
305 this.product = value;
329 this.consignee = value;
353 this.shipper = value;
379 if (service == null) {
380 service =
new ArrayList<UnitService>();
408 if (shipmentService == null) {
409 shipmentService =
new ArrayList<ShipmentService>();
411 return this.shipmentService;
437 if (history == null) {
438 history =
new ArrayList<TUHistory>();
void setConsignee(Consignee value)
void setGlobalShipmentUnitId(String value)
void setTrackID(String value)
List< String > getShipmentReference()
void setShipper(Shipper value)
void setDeliveryDate(Date value)
void setSignature(String value)
List< TUHistory > getHistory()
List< ShipmentService > getShipmentService()
void setWeight(BigDecimal value)
List< UnitService > getService()
void setProduct(ProductType value)
String getGlobalShipmentUnitId()
List< String > getShipmentUnitReference()