GLS ShipIT  2.7.11
GLS ShipIT - REST services
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 
40 @XmlAccessorType(XmlAccessType.FIELD)
41 @XmlType(name = "CreatedShipment", propOrder = {
42  "shipmentReference",
43  "parcelData",
44  "printData",
45  "customerID",
46  "pickupLocation"
47 })
48 public class CreatedShipment {
49 
50  @XmlElement(name = "ShipmentReference")
51  protected List<String> shipmentReference;
52  @XmlElement(name = "ParcelData")
53  protected List<ParcelData> parcelData;
54  @XmlElement(name = "PrintData")
55  protected List<Document> printData;
56  @XmlElement(name = "CustomerID", required = true)
57  protected String customerID;
58  @XmlElement(name = "PickupLocation", required = true)
59  protected String pickupLocation;
60 
83  public List<String> getShipmentReference() {
84  if (shipmentReference == null) {
85  shipmentReference = new ArrayList<String>();
86  }
87  return this.shipmentReference;
88  }
89 
112  public List<ParcelData> getParcelData() {
113  if (parcelData == null) {
114  parcelData = new ArrayList<ParcelData>();
115  }
116  return this.parcelData;
117  }
118 
141  public List<Document> getPrintData() {
142  if (printData == null) {
143  printData = new ArrayList<Document>();
144  }
145  return this.printData;
146  }
147 
156  public String getCustomerID() {
157  return customerID;
158  }
159 
168  public void setCustomerID(String value) {
169  this.customerID = value;
170  }
171 
180  public String getPickupLocation() {
181  return pickupLocation;
182  }
183 
192  public void setPickupLocation(String value) {
193  this.pickupLocation = value;
194  }
195 
196 }