GLS ShipIT
GLS ShipIT - REST services
 All Classes Namespaces Files Functions Variables Enumerator Pages
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;
11 import eu.glsgroup.fpcs.datatypes.soap.v1.common.Address;
12 
13 
41 @XmlAccessorType(XmlAccessType.FIELD)
42 @XmlType(name = "", propOrder = {
43  "parcelShopID",
44  "location",
45  "address",
46  "holidays",
47  "workingDay",
48  "airlineDistance"
49 })
50 @XmlRootElement(name = "ParcelShop")
51 public class ParcelShop {
52 
53  @XmlElement(name = "ParcelShopID", required = true)
54  protected String parcelShopID;
55  @XmlElement(name = "Location")
56  protected Location location;
57  @XmlElement(name = "Address", required = true)
58  protected Address address;
59  @XmlElement(name = "Holidays")
60  protected List<Vacations> holidays;
61  @XmlElement(name = "WorkingDay")
62  protected List<WorkingDay> workingDay;
63  @XmlElement(name = "AirlineDistance")
64  protected String airlineDistance;
65 
74  public String getParcelShopID() {
75  return parcelShopID;
76  }
77 
86  public void setParcelShopID(String value) {
87  this.parcelShopID = value;
88  }
89 
98  public Location getLocation() {
99  return location;
100  }
101 
110  public void setLocation(Location value) {
111  this.location = value;
112  }
113 
122  public Address getAddress() {
123  return address;
124  }
125 
134  public void setAddress(Address value) {
135  this.address = value;
136  }
137 
160  public List<Vacations> getHolidays() {
161  if (holidays == null) {
162  holidays = new ArrayList<>();
163  }
164  return this.holidays;
165  }
166 
189  public List<WorkingDay> getWorkingDay() {
190  if (workingDay == null) {
191  workingDay = new ArrayList<>();
192  }
193  return this.workingDay;
194  }
195 
204  public String getAirlineDistance() {
205  return airlineDistance;
206  }
207 
216  public void setAirlineDistance(String value) {
217  this.airlineDistance = value;
218  }
219 
220 }