GLS ShipIT  2.8.11
GLS ShipIT - REST services
ExchangeService.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 
37 @XmlAccessorType(XmlAccessType.FIELD)
38 @XmlType(name = "ExchangeService", propOrder = {
39  "serviceName",
40  "address",
41  "expectedWeight"
42 })
43 public class ExchangeService {
44 
45  @XmlElement(name = "ServiceName", required = true)
46  protected String serviceName;
47  @XmlElement(name = "Address", required = true)
48  protected Address address;
49  @XmlElement(name = "ExpectedWeight", type = String.class)
50  @XmlJavaTypeAdapter(Adapter3.class)
51  protected BigDecimal expectedWeight;
52 
61  public String getServiceName() {
62  return serviceName;
63  }
64 
73  public void setServiceName(String value) {
74  this.serviceName = value;
75  }
76 
85  public Address getAddress() {
86  return address;
87  }
88 
97  public void setAddress(Address value) {
98  this.address = value;
99  }
100 
109  public BigDecimal getExpectedWeight() {
110  return expectedWeight;
111  }
112 
121  public void setExpectedWeight(BigDecimal value) {
122  this.expectedWeight = value;
123  }
124 
125 }