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;
55 @XmlAccessorType(XmlAccessType.FIELD)
56 @XmlType(name =
"UnitDetail", propOrder = {
59 "shipmentUnitReference",
72 @XmlElement(name =
"TrackID", required =
true)
73 protected String trackID;
74 @XmlElement(name = "ShipmentReference")
75 protected List<String> shipmentReference;
76 @XmlElement(name = "ShipmentUnitReference")
77 protected List<String> shipmentUnitReference;
78 @XmlElement(name = "Weight", required = true, type = String.class)
80 protected BigDecimal weight;
81 @XmlElement(name = "DeliveryDate", type = String.class)
83 @XmlSchemaType(name = "dateTime")
84 protected Date deliveryDate;
85 @XmlElement(name = "Signature")
86 protected String signature;
87 @XmlElement(name = "Product", required = true)
89 @XmlElement(name = "
Consignee", required = true)
90 protected Consignee consignee;
91 @XmlElement(name = "
Shipper", required = true)
92 protected Shipper shipper;
93 @XmlElement(name = "Service")
97 @XmlElement(name = "History")
108 public String getTrackID() {
121 this.trackID = value;
147 if (shipmentReference == null) {
148 shipmentReference =
new ArrayList<String>();
150 return this.shipmentReference;
176 if (shipmentUnitReference == null) {
177 shipmentUnitReference =
new ArrayList<String>();
179 return this.shipmentUnitReference;
227 this.deliveryDate = value;
251 this.signature = value;
275 this.product = value;
299 this.consignee = value;
323 this.shipper = value;
349 if (service == null) {
350 service =
new ArrayList<UnitService>();
378 if (shipmentService == null) {
379 shipmentService =
new ArrayList<ShipmentService>();
381 return this.shipmentService;
407 if (history == null) {
408 history =
new ArrayList<TUHistory>();
void setConsignee(Consignee 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)
List< String > getShipmentUnitReference()