GLS ShipIT 3.5.15 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.UnitService;
14 import eu.gls_group.fpcs.v1.common.Volume;
15 import org.w3._2001.xmlschema.Adapter1;
16
17
50 @XmlAccessorType(XmlAccessType.FIELD)
51 @XmlType(name = "ShipmentUnit", propOrder = {
52 "shipmentUnitReference",
53 "partnerParcelNumber",
54 "weight",
55 "note1",
56 "note2",
57 "service",
58 "frAlphaParcelReference",
59 "trackID",
60 "injected",
61 "parcelNumber",
62 "volume"
63 })
64 public class ShipmentUnit {
65
66 @XmlElement(name = "ShipmentUnitReference")
67 protected List<String> shipmentUnitReference;
68 @XmlElement(name = "PartnerParcelNumber")
69 protected String partnerParcelNumber;
70 @XmlElement(name = "Weight", type = String.class)
71 @XmlJavaTypeAdapter(Adapter1 .class)
72 @XmlSchemaType(name = "decimal")
73 protected BigDecimal weight;
74 @XmlElement(name = "Note1")
75 protected String note1;
76 @XmlElement(name = "Note2")
77 protected String note2;
78 @XmlElement(name = "Service")
79 protected List<UnitService> service;
80 @XmlElement(name = "FRAlphaParcelReference")
81 protected String frAlphaParcelReference;
82 @XmlElement(name = "TrackID")
83 protected String trackID;
84 @XmlElement(defaultValue = "false")
85 protected Boolean injected;
86 @XmlElement(name = "ParcelNumber")
87 protected String parcelNumber;
88 @XmlElement(name = "Volume")
89 protected Volume volume;
90
113 public List<String> getShipmentUnitReference() {
114 if (shipmentUnitReference == null) {
115 shipmentUnitReference = new ArrayList<String>();
116 }
117 return this.shipmentUnitReference;
118 }
119
128 public String getPartnerParcelNumber() {
129 return partnerParcelNumber;
130 }
131
140 public void setPartnerParcelNumber(String value) {
141 this.partnerParcelNumber = value;
142 }
143
152 public BigDecimal getWeight() {
153 return weight;
154 }
155
164 public void setWeight(BigDecimal value) {
165 this.weight = value;
166 }
167
176 public String getNote1() {
177 return note1;
178 }
179
188 public void setNote1(String value) {
189 this.note1 = value;
190 }
191
200 public String getNote2() {
201 return note2;
202 }
203
212 public void setNote2(String value) {
213 this.note2 = value;
214 }
215
238 public List<UnitService> getService() {
239 if (service == null) {
240 service = new ArrayList<UnitService>();
241 }
242 return this.service;
243 }
244
253 public String getFRAlphaParcelReference() {
254 return frAlphaParcelReference;
255 }
256
265 public void setFRAlphaParcelReference(String value) {
266 this.frAlphaParcelReference = value;
267 }
268
277 public String getTrackID() {
278 return trackID;
279 }
280
289 public void setTrackID(String value) {
290 this.trackID = value;
291 }
292
301 public Boolean isInjected() {
302 return injected;
303 }
304
313 public void setInjected(Boolean value) {
314 this.injected = value;
315 }
316
325 public String getParcelNumber() {
326 return parcelNumber;
327 }
328
337 public void setParcelNumber(String value) {
338 this.parcelNumber = value;
339 }
340
349 public Volume getVolume() {
350 return volume;
351 }
352
361 public void setVolume(Volume value) {
362 this.volume = value;
363 }
364
365 }
eu.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit.getVolume
Volume getVolume()
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:349
eu.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit.setInjected
void setInjected(Boolean value)
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:313
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:265
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:200
eu.gls_group
eu.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit.setVolume
void setVolume(Volume value)
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:361
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:238
eu.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit.getTrackID
String getTrackID()
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:277
org.w3._2001
eu.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit.getWeight
BigDecimal getWeight()
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:152
eu.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit.setTrackID
void setTrackID(String value)
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:289
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:325
eu.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit.getFRAlphaParcelReference
String getFRAlphaParcelReference()
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:253
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:212
eu.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit.setNote1
void setNote1(String value)
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:188
eu.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit.setParcelNumber
void setParcelNumber(String value)
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:337
eu.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit.setWeight
void setWeight(BigDecimal value)
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:164
eu.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit.getNote1
String getNote1()
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:176
eu.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:64
eu.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit.getPartnerParcelNumber
String getPartnerParcelNumber()
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:128
eu.gls_group.fpcs.v1.shipmentprocessing.types.ShipmentUnit.isInjected
Boolean isInjected()
Definition: gls_group/fpcs/v1/shipmentprocessing/types/ShipmentUnit.java:301
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:140
org.w3