GLS ShipIT
GLS ShipIT - REST services
 All Classes Namespaces Files Functions Variables Enumerator Pages
PickAndShipService.java
Go to the documentation of this file.
1 
2 package eu.glsgroup.fpcs.datatypes.soap.v1.common;
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;
11 import org.w3._2001.xmlschema.Adapter2;
12 
13 
41 @XmlAccessorType(XmlAccessType.FIELD)
42 @XmlType(name = "PickAndShipService", propOrder = {
43  "serviceName",
44  "pickupDate",
45  "sendEMailToShipper",
46  "sendEMailToConsignee",
47  "sendSMSToShipper"
48 })
49 public class PickAndShipService {
50 
51  @XmlElement(name = "ServiceName", required = true)
52  protected String serviceName;
53  @XmlElement(name = "PickupDate", required = true, type = String.class)
54  @XmlJavaTypeAdapter(Adapter2 .class)
55  @XmlSchemaType(name = "date")
56  protected Date pickupDate;
57  @XmlElement(name = "SendEMailToShipper")
58  protected boolean sendEMailToShipper;
59  @XmlElement(name = "SendEMailToConsignee")
60  protected boolean sendEMailToConsignee;
61  @XmlElement(name = "SendSMSToShipper")
62  protected boolean sendSMSToShipper;
63 
72  public String getServiceName() {
73  return serviceName;
74  }
75 
84  public void setServiceName(String value) {
85  this.serviceName = value;
86  }
87 
96  public Date getPickupDate() {
97  return pickupDate;
98  }
99 
108  public void setPickupDate(Date value) {
109  this.pickupDate = value;
110  }
111 
116  public boolean isSendEMailToShipper() {
117  return sendEMailToShipper;
118  }
119 
124  public void setSendEMailToShipper(boolean value) {
125  this.sendEMailToShipper = value;
126  }
127 
132  public boolean isSendEMailToConsignee() {
133  return sendEMailToConsignee;
134  }
135 
140  public void setSendEMailToConsignee(boolean value) {
141  this.sendEMailToConsignee = value;
142  }
143 
148  public boolean isSendSMSToShipper() {
149  return sendSMSToShipper;
150  }
151 
156  public void setSendSMSToShipper(boolean value) {
157  this.sendSMSToShipper = value;
158  }
159 
160 }