GLS ShipIT 5.0.11 GLS ShipIT - REST services

glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/LabelDescription.java
Go to the documentation of this file.
1
2 package eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing;
3
4 import javax.xml.bind.annotation.XmlEnum;
5 import javax.xml.bind.annotation.XmlEnumValue;
6 import javax.xml.bind.annotation.XmlType;
7
8
23 @XmlType(name = "LabelDescription")
24 @XmlEnum
25 public enum LabelDescription {
26
27 @XmlEnumValue("Delivery")
28 DELIVERY("Delivery"),
29 @XmlEnumValue("Return")
30 RETURN("Return");
31 private final String value;
32
33 LabelDescription(String v) {
34 value = v;
35 }
36
37 public String value() {
38 return value;
39 }
40
41 public static LabelDescription fromValue(String v) {
42 for (LabelDescription c: LabelDescription.values()) {
43 if (c.value.equals(v)) {
44 return c;
45 }
46 }
47 throw new IllegalArgumentException(v);
48 }
49
50 }
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.LabelDescription
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/LabelDescription.java:25
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.LabelDescription.fromValue
static LabelDescription fromValue(String v)
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/LabelDescription.java:41
eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.LabelDescription.value
String value()
Definition: glsgroup/fpcs/datatypes/soap/v1/shipmentprocessing/LabelDescription.java:37
eu.gls_group.fpcs.v1.common.Return
Definition: Return.java:36