GLS ShipIT 4.0.f2
GLS ShipIT - REST services
Loading...
Searching...
No Matches
gls_group/fpcs/v1/common/IntercompanyService.java
Go to the documentation of this file.
1
2package eu.gls_group.fpcs.v1.common;
3
4import java.math.BigDecimal;
5import javax.xml.bind.annotation.XmlAccessType;
6import javax.xml.bind.annotation.XmlAccessorType;
7import javax.xml.bind.annotation.XmlElement;
8import javax.xml.bind.annotation.XmlSchemaType;
9import javax.xml.bind.annotation.XmlType;
10import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
11import org.w3._2001.xmlschema.Adapter1;
12
13
40@XmlAccessorType(XmlAccessType.FIELD)
41@XmlType(name = "IntercompanyService", propOrder = {
42 "serviceName",
43 "address",
44 "numberOfLabels",
45 "expectedWeight"
46})
47public 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
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}