GLS ShipIT  4.0.f3
GLS ShipIT - REST services
ParcelShop.java
Go to the documentation of this file.
1 
2 package eu.glsgroup.fpcs.datatypes.soap.v1.parcelshop;
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;
12 
13 
42 @XmlAccessorType(XmlAccessType.FIELD)
43 @XmlType(name = "", propOrder = {
44  "parcelShopID",
45  "type",
46  "location",
47  "address",
48  "holidays",
49  "workingDay",
50  "airlineDistance"
51 })
52 @XmlRootElement(name = "ParcelShop")
53 public class ParcelShop {
54 
55  @XmlElement(name = "ParcelShopID", required = true)
56  protected String parcelShopID;
57  @XmlElement(name = "Type")
58  protected String type;
59  @XmlElement(name = "Location")
60  protected Location location;
61  @XmlElement(name = "Address", required = true)
62  protected Address address;
63  @XmlElement(name = "Holidays")
64  protected List<Vacations> holidays;
65  @XmlElement(name = "WorkingDay")
66  protected List<WorkingDay> workingDay;
67  @XmlElement(name = "AirlineDistance")
68  protected String airlineDistance;
69 
78  public String getParcelShopID() {
79  return parcelShopID;
80  }
81 
90  public void setParcelShopID(String value) {
91  this.parcelShopID = value;
92  }
93 
102  public String getType() {
103  return type;
104  }
105 
114  public void setType(String value) {
115  this.type = value;
116  }
117 
127  return location;
128  }
129 
138  public void setLocation(Location value) {
139  this.location = value;
140  }
141 
150  public Address getAddress() {
151  return address;
152  }
153 
162  public void setAddress(Address value) {
163  this.address = value;
164  }
165 
188  public List<Vacations> getHolidays() {
189  if (holidays == null) {
190  holidays = new ArrayList<Vacations>();
191  }
192  return this.holidays;
193  }
194 
217  public List<WorkingDay> getWorkingDay() {
218  if (workingDay == null) {
219  workingDay = new ArrayList<WorkingDay>();
220  }
221  return this.workingDay;
222  }
223 
232  public String getAirlineDistance() {
233  return airlineDistance;
234  }
235 
244  public void setAirlineDistance(String value) {
245  this.airlineDistance = value;
246  }
247 
248 }