GLS ShipIT 5.0.11 GLS ShipIT - REST services

ReturnShipment.java
Go to the documentation of this file.
1
2 package eu.glsgroup.fpcs.datatypes.soap.v2.shipmentprocessing;
3
4 import java.util.ArrayList;
5 import java.util.List;
6 import javax.xml.bind.annotation.XmlAccessType;
7 import javax.xml.bind.annotation.XmlAccessorType;
8 import javax.xml.bind.annotation.XmlElement;
9 import javax.xml.bind.annotation.XmlType;
10 import eu.gls_group.fpcs.v1.common.Return;
11
12
44 @XmlAccessorType(XmlAccessType.FIELD)
45 @XmlType(name = "ReturnShipment", propOrder = {
46 "shipmentReference",
47 "note1",
48 "note2",
49 "identifier",
50 "middleware",
51 "partnerParcelNumber",
52 "pickUp",
53 "delivery",
54 "_return",
55 "service"
56 })
57 public class ReturnShipment {
58
59 @XmlElement(name = "ShipmentReference")
60 protected List<String> shipmentReference;
61 @XmlElement(name = "Note1")
62 protected String note1;
63 @XmlElement(name = "Note2")
64 protected String note2;
65 @XmlElement(name = "Identifier")
66 protected String identifier;
67 @XmlElement(name = "Middleware", required = true)
68 protected String middleware;
69 @XmlElement(name = "PartnerParcelNumber")
70 protected String partnerParcelNumber;
71 @XmlElement(name = "PickUp")
72 protected Consignee pickUp;
73 @XmlElement(name = "Delivery", required = true)
74 protected Shipper delivery;
75 @XmlElement(name = "Return")
76 protected Return _return;
77 @XmlElement(name = "Service", required = true)
78 protected List<CreateReturnService> service;
79
102 public List<String> getShipmentReference() {
103 if (shipmentReference == null) {
104 shipmentReference = new ArrayList<String>();
105 }
106 return this.shipmentReference;
107 }
108
117 public String getNote1() {
118 return note1;
119 }
120
129 public void setNote1(String value) {
130 this.note1 = value;
131 }
132
141 public String getNote2() {
142 return note2;
143 }
144
153 public void setNote2(String value) {
154 this.note2 = value;
155 }
156
165 public String getIdentifier() {
166 return identifier;
167 }
168
177 public void setIdentifier(String value) {
178 this.identifier = value;
179 }
180
189 public String getMiddleware() {
190 return middleware;
191 }
192
201 public void setMiddleware(String value) {
202 this.middleware = value;
203 }
204
213 public String getPartnerParcelNumber() {
214 return partnerParcelNumber;
215 }
216
225 public void setPartnerParcelNumber(String value) {
226 this.partnerParcelNumber = value;
227 }
228
237 public Consignee getPickUp() {
238 return pickUp;
239 }
240
249 public void setPickUp(Consignee value) {
250 this.pickUp = value;
251 }
252
261 public Shipper getDelivery() {
262 return delivery;
263 }
264
273 public void setDelivery(Shipper value) {
274 this.delivery = value;
275 }
276
285 public Return getReturn() {
286 return _return;
287 }
288
297 public void setReturn(Return value) {
298 this._return = value;
299 }
300
323 public List<CreateReturnService> getService() {
324 if (service == null) {
325 service = new ArrayList<CreateReturnService>();
326 }
327 return this.service;
328 }
329
330 }
eu.glsgroup.fpcs.datatypes.soap.v2.shipmentprocessing.ReturnShipment.setMiddleware
void setMiddleware(String value)
Definition: ReturnShipment.java:201
eu.glsgroup.fpcs.datatypes.soap.v2.shipmentprocessing.ReturnShipment
Definition: ReturnShipment.java:57
eu.gls_group.fpcs.v1
eu.glsgroup.fpcs.datatypes.soap.v2.shipmentprocessing.Consignee
Definition: glsgroup/fpcs/datatypes/soap/v2/shipmentprocessing/Consignee.java:45
eu.gls_group.fpcs.v1.common
Definition: eu/gls_group/fpcs/v1/common/Adapter1.java:2
eu.glsgroup.fpcs.datatypes.soap.v2.shipmentprocessing.ReturnShipment.getNote2
String getNote2()
Definition: ReturnShipment.java:141
eu.glsgroup.fpcs.datatypes.soap.v2.shipmentprocessing.ReturnShipment.getDelivery
Shipper getDelivery()
Definition: ReturnShipment.java:261
eu.glsgroup.fpcs.datatypes.soap.v2.shipmentprocessing.ReturnShipment.setNote2
void setNote2(String value)
Definition: ReturnShipment.java:153
eu
eu.gls_group
eu.glsgroup.fpcs.datatypes.soap.v2.shipmentprocessing.ReturnShipment.setPartnerParcelNumber
void setPartnerParcelNumber(String value)
Definition: ReturnShipment.java:225
eu.glsgroup.fpcs.datatypes.soap.v2.shipmentprocessing.ReturnShipment.getPartnerParcelNumber
String getPartnerParcelNumber()
Definition: ReturnShipment.java:213
eu.glsgroup.fpcs.datatypes.soap.v2.shipmentprocessing.Delivery
Definition: Delivery.java:38
eu.glsgroup.fpcs.datatypes.soap.v2.shipmentprocessing.ReturnShipment.setIdentifier
void setIdentifier(String value)
Definition: ReturnShipment.java:177
eu.glsgroup.fpcs.datatypes.soap.v2.shipmentprocessing.ReturnShipment.getNote1
String getNote1()
Definition: ReturnShipment.java:117
eu.glsgroup.fpcs.datatypes.soap.v2.shipmentprocessing.Shipper
Definition: glsgroup/fpcs/datatypes/soap/v2/shipmentprocessing/Shipper.java:44
eu.gls_group.fpcs
eu.glsgroup.fpcs.datatypes.soap.v2.shipmentprocessing.ReturnShipment.setNote1
void setNote1(String value)
Definition: ReturnShipment.java:129
eu.glsgroup.fpcs.datatypes.soap.v2.shipmentprocessing.CreateReturnService
Definition: CreateReturnService.java:40
eu.glsgroup.fpcs.datatypes.soap.v2.shipmentprocessing.ReturnShipment.getPickUp
Consignee getPickUp()
Definition: ReturnShipment.java:237
eu.glsgroup.fpcs.datatypes.soap.v2.shipmentprocessing.ReturnShipment.getReturn
Return getReturn()
Definition: ReturnShipment.java:285
eu.glsgroup.fpcs.datatypes.soap.v2.shipmentprocessing.ReturnShipment.getMiddleware
String getMiddleware()
Definition: ReturnShipment.java:189
eu.glsgroup.fpcs.datatypes.soap.v2.shipmentprocessing.ReturnShipment.setReturn
void setReturn(Return value)
Definition: ReturnShipment.java:297
eu.glsgroup.fpcs.datatypes.soap.v2.shipmentprocessing.Service
Definition: glsgroup/fpcs/datatypes/soap/v2/shipmentprocessing/Service.java:39
eu.glsgroup.fpcs.datatypes.soap.v2.shipmentprocessing.ReturnShipment.getService
List< CreateReturnService > getService()
Definition: ReturnShipment.java:323
eu.glsgroup.fpcs.datatypes.soap.v2.shipmentprocessing.ReturnShipment.setDelivery
void setDelivery(Shipper value)
Definition: ReturnShipment.java:273
eu.glsgroup.fpcs.datatypes.soap.v2.shipmentprocessing.ReturnShipment.setPickUp
void setPickUp(Consignee value)
Definition: ReturnShipment.java:249
eu.glsgroup.fpcs.datatypes.soap.v2.shipmentprocessing.ReturnShipment.getIdentifier
String getIdentifier()
Definition: ReturnShipment.java:165
eu.gls_group.fpcs.v1.common.Return
Definition: Return.java:36