GLS ShipIT  3.5.15
GLS ShipIT - REST services
SporadicCollection.java
Go to the documentation of this file.
1 
2 package eu.glsgroup.fpcs.datatypes.soap.v1.sporadiccollection;
3 
4 import java.math.BigDecimal;
5 import java.util.Date;
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.XmlRootElement;
10 import javax.xml.bind.annotation.XmlSchemaType;
11 import javax.xml.bind.annotation.XmlType;
12 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
16 
17 
45 @XmlAccessorType(XmlAccessType.FIELD)
46 @XmlType(name = "", propOrder = {
47  "contactID",
48  "preferredPickUpDate",
49  "numberOfParcels",
50  "product",
51  "expectedTotalWeight",
52  "containsHazGoods",
53  "additionalInformation"
54 })
55 @XmlRootElement(name = "SporadicCollection")
56 public class SporadicCollection {
57 
58  @XmlElement(name = "ContactID", required = true)
59  protected String contactID;
60  @XmlElement(name = "PreferredPickUpDate", required = true, type = String.class)
61  @XmlJavaTypeAdapter(Adapter3 .class)
62  @XmlSchemaType(name = "date")
63  protected Date preferredPickUpDate;
64  @XmlElement(name = "NumberOfParcels")
65  @XmlSchemaType(name = "unsignedInt")
66  protected long numberOfParcels;
67  @XmlElement(name = "Product", required = true)
68  @XmlSchemaType(name = "string")
69  protected ProductType product;
70  @XmlElement(name = "ExpectedTotalWeight", type = String.class)
71  @XmlJavaTypeAdapter(Adapter1 .class)
72  @XmlSchemaType(name = "decimal")
73  protected BigDecimal expectedTotalWeight;
74  @XmlElement(name = "ContainsHazGoods")
75  protected Boolean containsHazGoods;
76  @XmlElement(name = "AdditionalInformation")
77  protected String additionalInformation;
78 
87  public String getContactID() {
88  return contactID;
89  }
90 
99  public void setContactID(String value) {
100  this.contactID = value;
101  }
102 
111  public Date getPreferredPickUpDate() {
112  return preferredPickUpDate;
113  }
114 
123  public void setPreferredPickUpDate(Date value) {
124  this.preferredPickUpDate = value;
125  }
126 
131  public long getNumberOfParcels() {
132  return numberOfParcels;
133  }
134 
139  public void setNumberOfParcels(long value) {
140  this.numberOfParcels = value;
141  }
142 
152  return product;
153  }
154 
163  public void setProduct(ProductType value) {
164  this.product = value;
165  }
166 
175  public BigDecimal getExpectedTotalWeight() {
176  return expectedTotalWeight;
177  }
178 
187  public void setExpectedTotalWeight(BigDecimal value) {
188  this.expectedTotalWeight = value;
189  }
190 
199  public Boolean isContainsHazGoods() {
200  return containsHazGoods;
201  }
202 
211  public void setContainsHazGoods(Boolean value) {
212  this.containsHazGoods = value;
213  }
214 
223  public String getAdditionalInformation() {
224  return additionalInformation;
225  }
226 
235  public void setAdditionalInformation(String value) {
236  this.additionalInformation = value;
237  }
238 
239 }