GLS ShipIT  3.3.20
GLS ShipIT - SOAP services
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.XmlSchemaType;
9 import javax.xml.bind.annotation.XmlType;
10 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
12 
13 
40 @XmlAccessorType(XmlAccessType.FIELD)
41 @XmlType(name = "IntercompanyService", propOrder = {
42  "serviceName",
43  "address",
44  "numberOfLabels",
45  "expectedWeight"
46 })
47 public class IntercompanyService {
48 
49  @XmlElement(name = "ServiceName", required = true)
50  protected String serviceName;
51  @XmlElement(name = "Address", required = true)
52  protected Address address;
53  @XmlElement(name = "NumberOfLabels")
54  @XmlSchemaType(name = "unsignedInt")
55  protected long numberOfLabels;
56  @XmlElement(name = "ExpectedWeight", type = String.class)
57  @XmlJavaTypeAdapter(Adapter1 .class)
58  @XmlSchemaType(name = "decimal")
59  protected BigDecimal expectedWeight;
60 
69  public String getServiceName() {
70  return serviceName;
71  }
72 
81  public void setServiceName(String value) {
82  this.serviceName = value;
83  }
84 
93  public Address getAddress() {
94  return address;
95  }
96 
105  public void setAddress(Address value) {
106  this.address = value;
107  }
108 
113  public long getNumberOfLabels() {
114  return numberOfLabels;
115  }
116 
121  public void setNumberOfLabels(long value) {
122  this.numberOfLabels = value;
123  }
124 
133  public BigDecimal getExpectedWeight() {
134  return expectedWeight;
135  }
136 
145  public void setExpectedWeight(BigDecimal value) {
146  this.expectedWeight = value;
147  }
148 
149 }