GLS ShipIT
GLS ShipIT - REST services
 All Classes Namespaces Files Functions Variables Enumerator Pages
Area.java
Go to the documentation of this file.
1 
2 package eu.glsgroup.fpcs.datatypes.soap.v1.parcelshop;
3 
4 import javax.xml.bind.annotation.XmlAccessType;
5 import javax.xml.bind.annotation.XmlAccessorType;
6 import javax.xml.bind.annotation.XmlElement;
7 import javax.xml.bind.annotation.XmlRootElement;
8 import javax.xml.bind.annotation.XmlType;
9 
10 
33 @XmlAccessorType(XmlAccessType.FIELD)
34 @XmlType(name = "", propOrder = {
35  "from",
36  "to"
37 })
38 @XmlRootElement(name = "Area")
39 public class Area {
40 
41  @XmlElement(name = "From", required = true)
42  protected Location from;
43  @XmlElement(name = "To", required = true)
44  protected Location to;
45 
54  public Location getFrom() {
55  return from;
56  }
57 
66  public void setFrom(Location value) {
67  this.from = value;
68  }
69 
78  public Location getTo() {
79  return to;
80  }
81 
90  public void setTo(Location value) {
91  this.to = value;
92  }
93 
94 }