GLS ShipIT 3.3.20 GLS ShipIT - SOAP services

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.glsgroup.fpcs.datatypes.soap.v1.common.UnitService;
14 import eu.glsgroup.fpcs.datatypes.soap.v1.common.Volume;
15 import org.w3._2001.xmlschema.Adapter1;
16
17
48 @XmlAccessorType(XmlAccessType.FIELD)
49 @XmlType(name = "ShipmentUnit", propOrder = {
50 "shipmentUnitReference",
51 "weight",
52 "note1",
53 "note2",
54 "service",
55 "frAlphaParcelReference",
56 "trackID",
57 "parcelNumber",
58 "volume"
59 })
60 public class ShipmentUnit {
61
62 @XmlElement(name = "ShipmentUnitReference")
63 protected List<String> shipmentUnitReference;
64 @XmlElement(name = "Weight", type = String.class)
65 @XmlJavaTypeAdapter(Adapter1 .class)
66 @XmlSchemaType(name = "decimal")
67 protected BigDecimal weight;
68 @XmlElement(name = "Note1")
69 protected String note1;
70 @XmlElement(name = "Note2")
71 protected String note2;
72 @XmlElement(name = "Service")
73 protected List<UnitService> service;
74 @XmlElement(name = "FRAlphaParcelReference")
75 protected String frAlphaParcelReference;
76 @XmlElement(name = "TrackID")
77 protected String trackID;
78 @XmlElement(name = "ParcelNumber")
79 protected String parcelNumber;
80 @XmlElement(name = "Volume")
81 protected Volume volume;
82
105 public List<String> getShipmentUnitReference() {
106 if (shipmentUnitReference == null) {
107 shipmentUnitReference = new ArrayList<String>();
108 }
109 return this.shipmentUnitReference;
110 }
111
120 public BigDecimal getWeight() {
121 return weight;
122 }
123
132 public void setWeight(BigDecimal value) {
133 this.weight = value;
134 }
135
144 public String getNote1() {
145 return note1;
146 }
147
156 public void setNote1(String value) {
157 this.note1 = value;
158 }
159
168 public String getNote2() {
169 return note2;
170 }
171
180 public void setNote2(String value) {
181 this.note2 = value;
182 }
183
206 public List<UnitService> getService() {
207 if (service == null) {
208 service = new ArrayList<UnitService>();
209 }
210 return this.service;
211 }
212
221 public String getFRAlphaParcelReference() {
222 return frAlphaParcelReference;
223 }
224
233 public void setFRAlphaParcelReference(String value) {
234 this.frAlphaParcelReference = value;
235 }
236
245 public String getTrackID() {
246 return trackID;
247 }
248
257 public void setTrackID(String value) {
258 this.trackID = value;
259 }
260
269 public String getParcelNumber() {
270 return parcelNumber;
271 }
272
281 public void setParcelNumber(String value) {
282 this.parcelNumber = value;
283 }
284
293 public Volume getVolume() {
294 return volume;
295 }
296
305 public void setVolume(Volume value) {
306 this.volume = value;
307 }
308
309 }
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit.getWeight
BigDecimal getWeight()
Definition: ShipmentUnit.java:120
eu.glsgroup.fpcs.datatypes.soap
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit.setVolume
void setVolume(Volume value)
Definition: ShipmentUnit.java:305
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit.getNote1
String getNote1()
Definition: ShipmentUnit.java:144
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit.setParcelNumber
void setParcelNumber(String value)
Definition: ShipmentUnit.java:281
eu.glsgroup.fpcs.datatypes.soap.v1.common.Volume
Definition: Volume.java:45
eu
org
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit.getVolume
Volume getVolume()
Definition: ShipmentUnit.java:293
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit.getNote2
String getNote2()
Definition: ShipmentUnit.java:168
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit
Definition: ShipmentUnit.java:60
eu.glsgroup.fpcs.datatypes.soap.v1.common
Definition: AddOnLiabilityService.java:2
org.w3._2001
eu.glsgroup.fpcs.datatypes.soap.v1.common.UnitService
Definition: UnitService.java:46
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: ShipmentUnit.java:132
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit.getFRAlphaParcelReference
String getFRAlphaParcelReference()
Definition: ShipmentUnit.java:221
eu.glsgroup.fpcs.datatypes.soap.v1
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit.setNote2
void setNote2(String value)
Definition: ShipmentUnit.java:180
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit.setFRAlphaParcelReference
void setFRAlphaParcelReference(String value)
Definition: ShipmentUnit.java:233
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit.setNote1
void setNote1(String value)
Definition: ShipmentUnit.java:156
eu.glsgroup
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit.getParcelNumber
String getParcelNumber()
Definition: ShipmentUnit.java:269
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit.getService
List< UnitService > getService()
Definition: ShipmentUnit.java:206
org.w3._2001.xmlschema
Definition: org/w3/_2001/xmlschema/Adapter1.java:2
eu.glsgroup.fpcs.datatypes
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit.setTrackID
void setTrackID(String value)
Definition: ShipmentUnit.java:257
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.ShipmentUnit.getTrackID
String getTrackID()
Definition: ShipmentUnit.java:245
org.w3
eu.glsgroup.fpcs