GLS ShipIT
GLS ShipIT - REST services
 All Classes Namespaces Files Functions Variables Enumerator Pages
IntercompanyService.java
Go to the documentation of this file.
1 
2 package eu.glsgroup.fpcs.datatypes.soap.v1.common;
3 
4 import java.math.BigDecimal;
5 import javax.xml.bind.annotation.XmlAccessType;
6 import javax.xml.bind.annotation.XmlAccessorType;
7 import javax.xml.bind.annotation.XmlElement;
8 import javax.xml.bind.annotation.XmlType;
9 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
10 import org.w3._2001.xmlschema.Adapter3;
11 
12 
39 @XmlAccessorType(XmlAccessType.FIELD)
40 @XmlType(name = "IntercompanyService", propOrder = {
41  "serviceName",
42  "address",
43  "numberOfLabels",
44  "expectedWeight"
45 })
46 public class IntercompanyService {
47 
48  @XmlElement(name = "ServiceName", required = true)
49  protected String serviceName;
50  @XmlElement(name = "Address", required = true)
51  protected Address address;
52  @XmlElement(name = "NumberOfLabels")
53  protected long numberOfLabels;
54  @XmlElement(name = "ExpectedWeight", type = String.class)
55  @XmlJavaTypeAdapter(Adapter3 .class)
56  protected BigDecimal expectedWeight;
57 
66  public String getServiceName() {
67  return serviceName;
68  }
69 
78  public void setServiceName(String value) {
79  this.serviceName = value;
80  }
81 
90  public Address getAddress() {
91  return address;
92  }
93 
102  public void setAddress(Address value) {
103  this.address = value;
104  }
105 
110  public long getNumberOfLabels() {
111  return numberOfLabels;
112  }
113 
118  public void setNumberOfLabels(long value) {
119  this.numberOfLabels = value;
120  }
121 
130  public BigDecimal getExpectedWeight() {
131  return expectedWeight;
132  }
133 
142  public void setExpectedWeight(BigDecimal value) {
143  this.expectedWeight = value;
144  }
145 
146 }