2 package eu.gls_group.fpcs.v1.shipmentprocessing.types;
4 import java.math.BigDecimal;
5 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;
53 @XmlAccessorType(XmlAccessType.FIELD)
54 @XmlType(name =
"ShipmentUnit", propOrder = {
55 "shipmentUnitReference",
56 "partnerParcelNumber",
61 "frAlphaParcelReference",
67 "globalShipmentUnitId" 71 @XmlElement(name =
"ShipmentUnitReference")
72 protected List<String> shipmentUnitReference;
73 @XmlElement(name = "PartnerParcelNumber")
74 protected String partnerParcelNumber;
75 @XmlElement(name = "Weight", type = String.class)
77 @XmlSchemaType(name = "decimal")
78 protected BigDecimal weight;
79 @XmlElement(name = "Note1")
80 protected String note1;
81 @XmlElement(name = "Note2")
82 protected String note2;
83 @XmlElement(name = "Service")
85 @XmlElement(name = "FRAlphaParcelReference")
86 protected String frAlphaParcelReference;
87 @XmlElement(name = "TrackID")
88 protected String trackID;
89 @XmlElement(defaultValue = "false")
90 protected Boolean injected;
91 @XmlElement(name = "ParcelNumber")
92 protected String parcelNumber;
95 @XmlElement(name = "
Volume")
97 @XmlElement(name = "GlobalShipmentUnitId")
98 protected String globalShipmentUnitId;
122 public List<String> getShipmentUnitReference() {
123 if (shipmentUnitReference == null) {
124 shipmentUnitReference =
new ArrayList<String>();
126 return this.shipmentUnitReference;
138 return partnerParcelNumber;
150 this.partnerParcelNumber = value;
248 if (service == null) {
249 service =
new ArrayList<UnitService>();
263 return frAlphaParcelReference;
275 this.frAlphaParcelReference = value;
299 this.trackID = value;
323 this.injected = value;
347 this.parcelNumber = value;
359 return nationalParcelData;
371 this.nationalParcelData = value;
407 return globalShipmentUnitId;
419 this.globalShipmentUnitId = value;
void setInjected(Boolean value)
void setFRAlphaParcelReference(String value)
NationalParcelData getNationalParcelData()
void setVolume(Volume value)
List< UnitService > getService()
void setTrackID(String value)
String getFRAlphaParcelReference()
String getGlobalShipmentUnitId()
void setNote2(String value)
void setNote1(String value)
void setParcelNumber(String value)
void setWeight(BigDecimal value)
void setNationalParcelData(NationalParcelData value)
void setGlobalShipmentUnitId(String value)
String getPartnerParcelNumber()
void setPartnerParcelNumber(String value)