GLS ShipIT  2.8.11
GLS ShipIT - SOAP services
CreatedShipment.java
Go to the documentation of this file.
1 
2 package eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing;
3 
4 import javax.xml.bind.annotation.XmlAccessType;
5 import javax.xml.bind.annotation.XmlAccessorType;
6 import javax.xml.bind.annotation.XmlElement;
7 import javax.xml.bind.annotation.XmlType;
8 import java.util.ArrayList;
9 import java.util.List;
10 
11 
41 @XmlAccessorType(XmlAccessType.FIELD)
42 @XmlType(name = "CreatedShipment", propOrder = {
43  "shipmentReference",
44  "parcelData",
45  "printData",
46  "customerID",
47  "pickupLocation",
48  "gdpr"
49 })
50 public class CreatedShipment {
51 
52  @XmlElement(name = "ShipmentReference")
53  protected List<String> shipmentReference;
54  @XmlElement(name = "ParcelData")
55  protected List<ParcelData> parcelData;
56  @XmlElement(name = "PrintData")
57  protected List<Document> printData;
58  @XmlElement(name = "CustomerID", required = true)
59  protected String customerID;
60  @XmlElement(name = "PickupLocation", required = true)
61  protected String pickupLocation;
62  @XmlElement(name = "GDPR")
63  protected List<String> gdpr;
64 
87  public List<String> getShipmentReference() {
88  if (shipmentReference == null) {
89  shipmentReference = new ArrayList<String>();
90  }
91  return this.shipmentReference;
92  }
93 
116  public List<ParcelData> getParcelData() {
117  if (parcelData == null) {
118  parcelData = new ArrayList<ParcelData>();
119  }
120  return this.parcelData;
121  }
122 
145  public List<Document> getPrintData() {
146  if (printData == null) {
147  printData = new ArrayList<Document>();
148  }
149  return this.printData;
150  }
151 
160  public String getCustomerID() {
161  return customerID;
162  }
163 
172  public void setCustomerID(String value) {
173  this.customerID = value;
174  }
175 
184  public String getPickupLocation() {
185  return pickupLocation;
186  }
187 
196  public void setPickupLocation(String value) {
197  this.pickupLocation = value;
198  }
199 
222  public List<String> getGDPR() {
223  if (gdpr == null) {
224  gdpr = new ArrayList<String>();
225  }
226  return this.gdpr;
227  }
228 
229 }