GLS ShipIT 5.0.17 GLS ShipIT - REST services

glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/ShipmentUnit.java
Go to the documentation of this file.
1
2 package eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing;
3
4 import java.math.BigDecimal;
5 import java.util.ArrayList;
6 import java.util.List;
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;
13 import eu.gls_group.fpcs.v1.common.NationalParcelData;
14 import eu.gls_group.fpcs.v1.common.UnitService;
15 import eu.gls_group.fpcs.v1.common.Volume;
16 import org.w3._2001.xmlschema.Adapter1;
17
18
52 @XmlAccessorType(XmlAccessType.FIELD)
53 @XmlType(name = "ShipmentUnit", propOrder = {
54 "shipmentUnitReference",
55 "partnerParcelNumber",
56 "weight",
57 "note1",
58 "note2",
59 "service",
60 "frAlphaParcelReference",
61 "trackID",
62 "injected",
63 "parcelNumber",
64 "nationalParcelData",
65 "volume"
66 })
67 public class ShipmentUnit {
68
69 @XmlElement(name = "ShipmentUnitReference")
70 protected List<String> shipmentUnitReference;
71 @XmlElement(name = "PartnerParcelNumber")
72 protected String partnerParcelNumber;
73 @XmlElement(name = "Weight", type = String.class)
74 @XmlJavaTypeAdapter(Adapter1 .class)
75 @XmlSchemaType(name = "decimal")
76 protected BigDecimal weight;
77 @XmlElement(name = "Note1")
78 protected String note1;
79 @XmlElement(name = "Note2")
80 protected String note2;
81 @XmlElement(name = "Service")
82 protected List<UnitService> service;
83 @XmlElement(name = "FRAlphaParcelReference")
84 protected String frAlphaParcelReference;
85 @XmlElement(name = "TrackID")
86 protected String trackID;
87 @XmlElement(defaultValue = "false")
88 protected Boolean injected;
89 @XmlElement(name = "ParcelNumber")
90 protected String parcelNumber;
91 @XmlElement(name = "NationalParcelData")
92 protected NationalParcelData nationalParcelData;
93 @XmlElement(name = "Volume")
94 protected Volume volume;
95
118 public List<String> getShipmentUnitReference() {
119 if (shipmentUnitReference == null) {
120 shipmentUnitReference = new ArrayList<String>();
121 }
122 return this.shipmentUnitReference;
123 }
124
133 public String getPartnerParcelNumber() {
134 return partnerParcelNumber;
135 }
136
145 public void setPartnerParcelNumber(String value) {
146 this.partnerParcelNumber = value;
147 }
148
157 public BigDecimal getWeight() {
158 return weight;
159 }
160
169 public void setWeight(BigDecimal value) {
170 this.weight = value;
171 }
172
181 public String getNote1() {
182 return note1;
183 }
184
193 public void setNote1(String value) {
194 this.note1 = value;
195 }
196
205 public String getNote2() {
206 return note2;
207 }
208
217 public void setNote2(String value) {
218 this.note2 = value;
219 }
220
243 public List<UnitService> getService() {
244 if (service == null) {
245 service = new ArrayList<UnitService>();
246 }
247 return this.service;
248 }
249
258 public String getFRAlphaParcelReference() {
259 return frAlphaParcelReference;
260 }
261
270 public void setFRAlphaParcelReference(String value) {
271 this.frAlphaParcelReference = value;
272 }
273
282 public String getTrackID() {
283 return trackID;
284 }
285
294 public void setTrackID(String value) {
295 this.trackID = value;
296 }
297
306 public Boolean isInjected() {
307 return injected;
308 }
309
318 public void setInjected(Boolean value) {
319 this.injected = value;
320 }
321
330 public String getParcelNumber() {
331 return parcelNumber;
332 }
333
342 public void setParcelNumber(String value) {
343 this.parcelNumber = value;
344 }
345
354 public NationalParcelData getNationalParcelData() {
355 return nationalParcelData;
356 }
357
366 public void setNationalParcelData(NationalParcelData value) {
367 this.nationalParcelData = value;
368 }
369
378 public Volume getVolume() {
379 return volume;
380 }
381
390 public void setVolume(Volume value) {
391 this.volume = value;
392 }
393
394 }
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit.getWeight
BigDecimal getWeight()
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/ShipmentUnit.java:157
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit.setNationalParcelData
void setNationalParcelData(NationalParcelData value)
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/ShipmentUnit.java:366
eu.gls_group.fpcs.v1
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit.getNationalParcelData
NationalParcelData getNationalParcelData()
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/ShipmentUnit.java:354
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit.setVolume
void setVolume(Volume value)
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/ShipmentUnit.java:390
eu.gls_group.fpcs.v1.common.UnitService
Definition: UnitService.java:46
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit.getNote1
String getNote1()
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/ShipmentUnit.java:181
eu.gls_group.fpcs.v1.common
Definition: eu/gls_group/fpcs/v1/common/Adapter1.java:2
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit.setParcelNumber
void setParcelNumber(String value)
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/ShipmentUnit.java:342
eu.gls_group.fpcs.v1.common.Adapter1
Definition: eu/gls_group/fpcs/v1/common/Adapter1.java:7
eu
org
eu.gls_group
eu.gls_group.fpcs.v1.common.NationalParcelData
Definition: NationalParcelData.java:40
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit.getVolume
Volume getVolume()
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/ShipmentUnit.java:378
eu.gls_group.fpcs.v1.common.Volume
Definition: Volume.java:45
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit.getNote2
String getNote2()
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/ShipmentUnit.java:205
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/ShipmentUnit.java:67
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit.isInjected
Boolean isInjected()
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/ShipmentUnit.java:306
org.w3._2001
org.w3._2001.xmlschema.Adapter1
Definition: org/w3/_2001/xmlschema/Adapter1.java:7
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit.setWeight
void setWeight(BigDecimal value)
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/ShipmentUnit.java:169
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit.getFRAlphaParcelReference
String getFRAlphaParcelReference()
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/ShipmentUnit.java:258
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit.setNote2
void setNote2(String value)
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/ShipmentUnit.java:217
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit.setFRAlphaParcelReference
void setFRAlphaParcelReference(String value)
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/ShipmentUnit.java:270
eu.gls_group.fpcs
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit.setPartnerParcelNumber
void setPartnerParcelNumber(String value)
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/ShipmentUnit.java:145
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit.setNote1
void setNote1(String value)
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/ShipmentUnit.java:193
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit.getPartnerParcelNumber
String getPartnerParcelNumber()
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/ShipmentUnit.java:133
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit.getParcelNumber
String getParcelNumber()
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/ShipmentUnit.java:330
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit.getService
List< UnitService > getService()
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/ShipmentUnit.java:243
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit.setInjected
void setInjected(Boolean value)
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/ShipmentUnit.java:318
org.w3._2001.xmlschema
Definition: org/w3/_2001/xmlschema/Adapter1.java:2
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit.setTrackID
void setTrackID(String value)
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/ShipmentUnit.java:294
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit.getTrackID
String getTrackID()
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/ShipmentUnit.java:282
org.w3