GLS ShipIT  3.5.15
GLS ShipIT - REST services
CreateReturnResponse.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.XmlRootElement;
10 import javax.xml.bind.annotation.XmlType;
11 
12 
38 @XmlAccessorType(XmlAccessType.FIELD)
39 @XmlType(name = "", propOrder = {
40  "parcelData",
41  "printData"
42 })
43 @XmlRootElement(name = "CreateReturnResponse")
44 public class CreateReturnResponse {
45 
46  @XmlElement(name = "ParcelData")
47  protected List<ParcelData> parcelData;
48  @XmlElement(name = "PrintData")
49  protected List<PrintData> printData;
50 
73  public List<ParcelData> getParcelData() {
74  if (parcelData == null) {
75  parcelData = new ArrayList<ParcelData>();
76  }
77  return this.parcelData;
78  }
79 
102  public List<PrintData> getPrintData() {
103  if (printData == null) {
104  printData = new ArrayList<PrintData>();
105  }
106  return this.printData;
107  }
108 
109 }