GLS ShipIT  3.5.15
GLS ShipIT - SOAP services
PickUpShipment.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 
11 
43 @XmlAccessorType(XmlAccessType.FIELD)
44 @XmlType(name = "PickUpShipment", propOrder = {
45  "shipmentReference",
46  "incotermCode",
47  "identifier",
48  "middleware",
49  "partnerParcelNumber",
50  "pickUp",
51  "requester",
52  "delivery",
53  "service",
54  "shipmentUnit"
55 })
56 public class PickUpShipment {
57 
58  @XmlElement(name = "ShipmentReference")
59  protected List<String> shipmentReference;
60  @XmlElement(name = "IncotermCode")
61  protected String incotermCode;
62  @XmlElement(name = "Identifier")
63  protected String identifier;
64  @XmlElement(name = "Middleware", required = true)
65  protected String middleware;
66  @XmlElement(name = "PartnerParcelNumber")
67  protected String partnerParcelNumber;
68  @XmlElement(name = "PickUp")
69  protected Consignee pickUp;
70  @XmlElement(name = "Requester", required = true)
71  protected eu.gls_group.fpcs.v1.common.Shipper requester;
72  @XmlElement(name = "Delivery", required = true)
73  protected eu.glsgroup.fpcs.datatypes.soap.v2.shipmentprocessing.Shipper delivery;
74  @XmlElement(name = "Service", required = true)
75  protected List<CreatePickupService> service;
76  @XmlElement(name = "ShipmentUnit", required = true)
77  protected List<PickUpShipmentUnit> shipmentUnit;
78 
101  public List<String> getShipmentReference() {
102  if (shipmentReference == null) {
103  shipmentReference = new ArrayList<String>();
104  }
105  return this.shipmentReference;
106  }
107 
116  public String getIncotermCode() {
117  return incotermCode;
118  }
119 
128  public void setIncotermCode(String value) {
129  this.incotermCode = value;
130  }
131 
140  public String getIdentifier() {
141  return identifier;
142  }
143 
152  public void setIdentifier(String value) {
153  this.identifier = value;
154  }
155 
164  public String getMiddleware() {
165  return middleware;
166  }
167 
176  public void setMiddleware(String value) {
177  this.middleware = value;
178  }
179 
188  public String getPartnerParcelNumber() {
189  return partnerParcelNumber;
190  }
191 
200  public void setPartnerParcelNumber(String value) {
201  this.partnerParcelNumber = value;
202  }
203 
212  public Consignee getPickUp() {
213  return pickUp;
214  }
215 
224  public void setPickUp(Consignee value) {
225  this.pickUp = value;
226  }
227 
237  return requester;
238  }
239 
249  this.requester = value;
250  }
251 
261  return delivery;
262  }
263 
273  this.delivery = value;
274  }
275 
298  public List<CreatePickupService> getService() {
299  if (service == null) {
300  service = new ArrayList<CreatePickupService>();
301  }
302  return this.service;
303  }
304 
327  public List<PickUpShipmentUnit> getShipmentUnit() {
328  if (shipmentUnit == null) {
329  shipmentUnit = new ArrayList<PickUpShipmentUnit>();
330  }
331  return this.shipmentUnit;
332  }
333 
334 }
void setDelivery(eu.glsgroup.fpcs.datatypes.soap.v2.shipmentprocessing.Shipper value)
void setRequester(eu.gls_group.fpcs.v1.common.Shipper value)
eu.glsgroup.fpcs.datatypes.soap.v2.shipmentprocessing.Shipper getDelivery()