GLS ShipIT 5.1.4 GLS ShipIT - REST services

gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java
Go to the documentation of this file.
1
2 package eu.gls_group.fpcs.v1.shipmentprocessing.types;
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.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit.getVolume
Volume getVolume()
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:378
eu.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit.setInjected
void setInjected(Boolean value)
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:318
eu.gls_group.fpcs.v1
eu.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit.setFRAlphaParcelReference
void setFRAlphaParcelReference(String value)
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:270
eu.gls_group.fpcs.v1.common.UnitService
Definition: UnitService.java:46
eu.gls_group.fpcs.v1.common
Definition: eu/gls_group/fpcs/v1/common/Adapter1.java:2
eu.gls_group.fpcs.v1.common.Adapter1
Definition: eu/gls_group/fpcs/v1/common/Adapter1.java:7
eu
org
eu.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit.getNote2
String getNote2()
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:205
eu.gls_group
eu.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit.getNationalParcelData
NationalParcelData getNationalParcelData()
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:354
eu.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit.setVolume
void setVolume(Volume value)
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:390
eu.gls_group.fpcs.v1.common.NationalParcelData
Definition: NationalParcelData.java:40
eu.gls_group.fpcs.v1.common.Volume
Definition: Volume.java:45
eu.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit.getService
List< UnitService > getService()
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:243
eu.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit.getTrackID
String getTrackID()
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:282
org.w3._2001
eu.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit.getWeight
BigDecimal getWeight()
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:157
eu.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit.setTrackID
void setTrackID(String value)
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:294
org.w3._2001.xmlschema.Adapter1
Definition: org/w3/_2001/xmlschema/Adapter1.java:7
eu.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit.getParcelNumber
String getParcelNumber()
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:330
eu.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit.getFRAlphaParcelReference
String getFRAlphaParcelReference()
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:258
eu.gls_group.fpcs
eu.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit.setNote2
void setNote2(String value)
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:217
eu.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit.setNote1
void setNote1(String value)
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:193
eu.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit.setParcelNumber
void setParcelNumber(String value)
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:342
eu.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit.setWeight
void setWeight(BigDecimal value)
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:169
eu.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit.getNote1
String getNote1()
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:181
eu.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:67
eu.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit.setNationalParcelData
void setNationalParcelData(NationalParcelData value)
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:366
eu.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit.getPartnerParcelNumber
String getPartnerParcelNumber()
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:133
eu.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit.isInjected
Boolean isInjected()
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:306
org.w3._2001.xmlschema
Definition: org/w3/_2001/xmlschema/Adapter1.java:2
eu.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit.setPartnerParcelNumber
void setPartnerParcelNumber(String value)
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:145
org.w3