2 package eu.glsgroup.fpcs.datatypes.soap.v1.tracking;
12 import javax.xml.bind.annotation.XmlAccessType;
13 import javax.xml.bind.annotation.XmlAccessorType;
14 import javax.xml.bind.annotation.XmlElement;
15 import javax.xml.bind.annotation.XmlSchemaType;
16 import javax.xml.bind.annotation.XmlType;
17 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
18 import java.math.BigDecimal;
19 import java.util.ArrayList;
20 import java.util.Date;
21 import java.util.List;
56 @XmlAccessorType(XmlAccessType.FIELD)
57 @XmlType(name =
"UnitDetail", propOrder = {
60 "shipmentUnitReference",
73 @XmlElement(name =
"TrackID", required =
true)
74 protected String trackID;
75 @XmlElement(name = "ShipmentReference")
76 protected List<String> shipmentReference;
77 @XmlElement(name = "ShipmentUnitReference")
78 protected List<String> shipmentUnitReference;
79 @XmlElement(name = "Weight", required = true, type = String.class)
81 protected BigDecimal weight;
82 @XmlElement(name = "DeliveryDate", type = String.class)
84 @XmlSchemaType(name = "dateTime")
85 protected Date deliveryDate;
86 @XmlElement(name = "Signature")
87 protected String signature;
88 @XmlElement(name = "Product", required = true)
90 @XmlElement(name = "
Consignee", required = true)
91 protected Consignee consignee;
92 @XmlElement(name = "
Shipper", required = true)
93 protected Shipper shipper;
94 @XmlElement(name = "Service")
98 @XmlElement(name = "History")
109 public String getTrackID() {
122 this.trackID = value;
148 if (shipmentReference == null) {
149 shipmentReference =
new ArrayList<String>();
151 return this.shipmentReference;
177 if (shipmentUnitReference == null) {
178 shipmentUnitReference =
new ArrayList<String>();
180 return this.shipmentUnitReference;
228 this.deliveryDate = value;
252 this.signature = value;
276 this.product = value;
300 this.consignee = value;
324 this.shipper = value;
350 if (service == null) {
351 service =
new ArrayList<UnitService>();
379 if (shipmentService == null) {
380 shipmentService =
new ArrayList<ShipmentService>();
382 return this.shipmentService;
408 if (history == null) {
409 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()