GLS ShipIT  3.5.15
GLS ShipIT - SOAP services
PickUpShipmentUnit.java
Go to the documentation of this file.
1 
2 package eu.glsgroup.fpcs.datatypes.soap.v2.shipmentprocessing;
3 
4 import java.math.BigDecimal;
5 import java.util.ArrayList;
6 import java.util.List;
7 import javax.xml.bind.annotation.XmlAccessType;
8 import javax.xml.bind.annotation.XmlAccessorType;
9 import javax.xml.bind.annotation.XmlElement;
10 import javax.xml.bind.annotation.XmlSchemaType;
11 import javax.xml.bind.annotation.XmlType;
12 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
14 
15 
41 @XmlAccessorType(XmlAccessType.FIELD)
42 @XmlType(name = "PickUpShipmentUnit", propOrder = {
43  "shipmentUnitReference",
44  "weight",
45  "note1",
46  "note2"
47 })
48 public class PickUpShipmentUnit {
49 
50  @XmlElement(name = "ShipmentUnitReference")
51  protected List<String> shipmentUnitReference;
52  @XmlElement(name = "Weight", required = true, type = String.class)
53  @XmlJavaTypeAdapter(Adapter1 .class)
54  @XmlSchemaType(name = "decimal")
55  protected BigDecimal weight;
56  @XmlElement(name = "Note1", required = true)
57  protected String note1;
58  @XmlElement(name = "Note2", required = true)
59  protected String note2;
60 
83  public List<String> getShipmentUnitReference() {
84  if (shipmentUnitReference == null) {
85  shipmentUnitReference = new ArrayList<String>();
86  }
87  return this.shipmentUnitReference;
88  }
89 
98  public BigDecimal getWeight() {
99  return weight;
100  }
101 
110  public void setWeight(BigDecimal value) {
111  this.weight = value;
112  }
113 
122  public String getNote1() {
123  return note1;
124  }
125 
134  public void setNote1(String value) {
135  this.note1 = value;
136  }
137 
146  public String getNote2() {
147  return note2;
148  }
149 
158  public void setNote2(String value) {
159  this.note2 = value;
160  }
161 
162 }