GLS ShipIT  2.8.11
GLS ShipIT - REST services
ParcelShop.java
Go to the documentation of this file.
1 
2 package eu.glsgroup.fpcs.datatypes.soap.v1.parcelshop;
3 
5 
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 java.util.ArrayList;
12 import java.util.List;
13 
14 
39 @XmlAccessorType(XmlAccessType.FIELD)
40 @XmlType(name = "", propOrder = {
41  "parcelShopID",
42  "location",
43  "address",
44  "workingDay",
45  "airlineDistance"
46 })
47 @XmlRootElement(name = "ParcelShop")
48 public class ParcelShop {
49 
50  @XmlElement(name = "ParcelShopID", required = true)
51  protected String parcelShopID;
52  @XmlElement(name = "Location", required = true)
53  protected Location location;
54  @XmlElement(name = "Address", required = true)
55  protected Address address;
56  @XmlElement(name = "WorkingDay")
57  protected List<WorkingDay> workingDay;
58  @XmlElement(name = "AirlineDistance")
59  protected String airlineDistance;
60 
69  public String getParcelShopID() {
70  return parcelShopID;
71  }
72 
81  public void setParcelShopID(String value) {
82  this.parcelShopID = value;
83  }
84 
93  public Location getLocation() {
94  return location;
95  }
96 
105  public void setLocation(Location value) {
106  this.location = value;
107  }
108 
117  public Address getAddress() {
118  return address;
119  }
120 
129  public void setAddress(Address value) {
130  this.address = value;
131  }
132 
155  public List<WorkingDay> getWorkingDay() {
156  if (workingDay == null) {
157  workingDay = new ArrayList<WorkingDay>();
158  }
159  return this.workingDay;
160  }
161 
170  public String getAirlineDistance() {
171  return airlineDistance;
172  }
173 
182  public void setAirlineDistance(String value) {
183  this.airlineDistance = value;
184  }
185 
186 }