GLS ShipIT  2.8.11
GLS ShipIT - REST services
IntercompanyService.java
Go to the documentation of this file.
1 
2 package eu.glsgroup.fpcs.datatypes.soap.v1.common;
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.XmlType;
10 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
11 import java.math.BigDecimal;
12 
13 
38 @XmlAccessorType(XmlAccessType.FIELD)
39 @XmlType(name = "IntercompanyService", propOrder = {
40  "serviceName",
41  "address",
42  "numberOfLabels",
43  "expectedWeight"
44 })
45 public class IntercompanyService {
46 
47  @XmlElement(name = "ServiceName", required = true)
48  protected String serviceName;
49  @XmlElement(name = "Address", required = true)
50  protected Address address;
51  @XmlElement(name = "NumberOfLabels")
52  protected long numberOfLabels;
53  @XmlElement(name = "ExpectedWeight", type = String.class)
54  @XmlJavaTypeAdapter(Adapter3.class)
55  protected BigDecimal expectedWeight;
56 
65  public String getServiceName() {
66  return serviceName;
67  }
68 
77  public void setServiceName(String value) {
78  this.serviceName = value;
79  }
80 
89  public Address getAddress() {
90  return address;
91  }
92 
101  public void setAddress(Address value) {
102  this.address = value;
103  }
104 
109  public long getNumberOfLabels() {
110  return numberOfLabels;
111  }
112 
117  public void setNumberOfLabels(long value) {
118  this.numberOfLabels = value;
119  }
120 
129  public BigDecimal getExpectedWeight() {
130  return expectedWeight;
131  }
132 
141  public void setExpectedWeight(BigDecimal value) {
142  this.expectedWeight = value;
143  }
144 
145 }