2 package eu.glsgroup.fpcs.datatypes.soap.v1.tracking;
4 import java.util.ArrayList;
7 import javax.xml.bind.annotation.XmlAccessType;
8 import javax.xml.bind.annotation.XmlAccessorType;
9 import javax.xml.bind.annotation.XmlElement;
10 import javax.xml.bind.annotation.XmlSchemaType;
11 import javax.xml.bind.annotation.XmlType;
12 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
43 @XmlAccessorType(XmlAccessType.FIELD)
44 @XmlType(name =
"UnitItem", propOrder = {
47 "partnerParcelNumber",
49 "shipmentUnitReference",
55 @XmlElement(name =
"TrackID", required =
true)
56 protected String trackID;
57 @XmlElement(name = "ParcelNumber")
58 protected String parcelNumber;
59 @XmlElement(name = "PartnerParcelNumber")
60 protected String partnerParcelNumber;
61 @XmlElement(name = "ShipmentReference")
62 protected List<String> shipmentReference;
63 @XmlElement(name = "ShipmentUnitReference")
64 protected List<String> shipmentUnitReference;
65 @XmlElement(name = "InitialDate", required = true, type = String.class)
67 @XmlSchemaType(name = "dateTime")
68 protected Date initialDate;
69 @XmlElement(name = "Status", required = true)
70 protected String status;
80 public String getTrackID() {
117 this.parcelNumber = value;
129 return partnerParcelNumber;
141 this.partnerParcelNumber = value;
167 if (shipmentReference == null) {
168 shipmentReference =
new ArrayList<String>();
170 return this.shipmentReference;
196 if (shipmentUnitReference == null) {
197 shipmentUnitReference =
new ArrayList<String>();
199 return this.shipmentUnitReference;
223 this.initialDate = value;
void setTrackID(String value)
void setParcelNumber(String value)
String getPartnerParcelNumber()
void setInitialDate(Date value)
void setPartnerParcelNumber(String value)
List< String > getShipmentReference()
List< String > getShipmentUnitReference()
void setStatus(String value)