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;
44 @XmlAccessorType(XmlAccessType.FIELD)
45 @XmlType(name =
"UnitItem", propOrder = {
48 "partnerParcelNumber",
49 "globalShipmentUnitId",
51 "shipmentUnitReference",
57 @XmlElement(name =
"TrackID", required =
true)
58 protected String trackID;
59 @XmlElement(name = "ParcelNumber")
60 protected String parcelNumber;
61 @XmlElement(name = "PartnerParcelNumber")
62 protected String partnerParcelNumber;
63 @XmlElement(name = "GlobalShipmentUnitId")
64 protected String globalShipmentUnitId;
65 @XmlElement(name = "ShipmentReference")
66 protected List<String> shipmentReference;
67 @XmlElement(name = "ShipmentUnitReference")
68 protected List<String> shipmentUnitReference;
69 @XmlElement(name = "InitialDate", required = true, type = String.class)
71 @XmlSchemaType(name = "dateTime")
72 protected Date initialDate;
73 @XmlElement(name = "Status", required = true)
74 protected String status;
84 public String getTrackID() {
121 this.parcelNumber = value;
133 return partnerParcelNumber;
145 this.partnerParcelNumber = value;
157 return globalShipmentUnitId;
169 this.globalShipmentUnitId = value;
195 if (shipmentReference == null) {
196 shipmentReference =
new ArrayList<String>();
198 return this.shipmentReference;
224 if (shipmentUnitReference == null) {
225 shipmentUnitReference =
new ArrayList<String>();
227 return this.shipmentUnitReference;
251 this.initialDate = value;
void setTrackID(String value)
void setParcelNumber(String value)
String getPartnerParcelNumber()
String getGlobalShipmentUnitId()
void setInitialDate(Date value)
void setPartnerParcelNumber(String value)
void setGlobalShipmentUnitId(String value)
List< String > getShipmentReference()
List< String > getShipmentUnitReference()
void setStatus(String value)