GLS ShipIT  3.0.6
GLS ShipIT - REST services
parcelshop/UnitItem.java
Go to the documentation of this file.
1 
2 package eu.glsgroup.fpcs.datatypes.soap.v1.parcelshop;
3 
4 import java.util.Date;
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 
38 @XmlAccessorType(XmlAccessType.FIELD)
39 @XmlType(name = "UnitItem", propOrder = {
40  "referenceNumber",
41  "customerReferenceNumber",
42  "initialDate",
43  "status"
44 })
45 public class UnitItem {
46 
47  @XmlElement(name = "ReferenceNumber", required = true)
48  protected String referenceNumber;
49  @XmlElement(name = "CustomerReferenceNumber", required = true)
50  protected String customerReferenceNumber;
51  @XmlElement(name = "InitialDate", required = true, type = String.class)
52  @XmlJavaTypeAdapter(Adapter1 .class)
53  @XmlSchemaType(name = "dateTime")
54  protected Date initialDate;
55  @XmlElement(name = "Status", required = true)
56  protected String status;
57 
66  public String getReferenceNumber() {
67  return referenceNumber;
68  }
69 
78  public void setReferenceNumber(String value) {
79  this.referenceNumber = value;
80  }
81 
90  public String getCustomerReferenceNumber() {
91  return customerReferenceNumber;
92  }
93 
102  public void setCustomerReferenceNumber(String value) {
103  this.customerReferenceNumber = value;
104  }
105 
114  public Date getInitialDate() {
115  return initialDate;
116  }
117 
126  public void setInitialDate(Date value) {
127  this.initialDate = value;
128  }
129 
138  public String getStatus() {
139  return status;
140  }
141 
150  public void setStatus(String value) {
151  this.status = value;
152  }
153 
154 }