GLS ShipIT
GLS ShipIT - REST services
 All Classes Namespaces Files Functions Variables Enumerator Pages
CreatedShipment.java
Go to the documentation of this file.
1 
2 package eu.glsgroup.fpcs.datatypes.soap.v1.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 
42 @XmlAccessorType(XmlAccessType.FIELD)
43 @XmlType(name = "CreatedShipment", propOrder = {
44  "shipmentReference",
45  "parcelData",
46  "printData",
47  "customerID",
48  "pickupLocation",
49  "gdpr",
50  "nemonico"
51 })
52 public class CreatedShipment {
53 
54  @XmlElement(name = "ShipmentReference")
55  protected List<String> shipmentReference;
56  @XmlElement(name = "ParcelData")
57  protected List<ParcelData> parcelData;
58  @XmlElement(name = "PrintData")
59  protected List<Document> printData;
60  @XmlElement(name = "CustomerID", required = true)
61  protected String customerID;
62  @XmlElement(name = "PickupLocation", required = true)
63  protected String pickupLocation;
64  @XmlElement(name = "GDPR")
65  protected List<String> gdpr;
66  @XmlElement(name = "Nemonico")
67  protected String nemonico;
68 
91  public List<String> getShipmentReference() {
92  if (shipmentReference == null) {
93  shipmentReference = new ArrayList<String>();
94  }
95  return this.shipmentReference;
96  }
97 
120  public List<ParcelData> getParcelData() {
121  if (parcelData == null) {
122  parcelData = new ArrayList<ParcelData>();
123  }
124  return this.parcelData;
125  }
126 
149  public List<Document> getPrintData() {
150  if (printData == null) {
151  printData = new ArrayList<Document>();
152  }
153  return this.printData;
154  }
155 
164  public String getCustomerID() {
165  return customerID;
166  }
167 
176  public void setCustomerID(String value) {
177  this.customerID = value;
178  }
179 
188  public String getPickupLocation() {
189  return pickupLocation;
190  }
191 
200  public void setPickupLocation(String value) {
201  this.pickupLocation = value;
202  }
203 
226  public List<String> getGDPR() {
227  if (gdpr == null) {
228  gdpr = new ArrayList<String>();
229  }
230  return this.gdpr;
231  }
232 
241  public String getNemonico() {
242  return nemonico;
243  }
244 
253  public void setNemonico(String value) {
254  this.nemonico = value;
255  }
256 
257 }