GLS ShipIT
GLS ShipIT - REST services
 All Classes Namespaces Files Functions Variables Enumerator Pages
AddOnLiabilityService.java
Go to the documentation of this file.
1 
2 package eu.glsgroup.fpcs.datatypes.soap.v1.common;
3 
4 import java.math.BigDecimal;
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.XmlType;
9 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
10 import org.w3._2001.xmlschema.Adapter3;
11 
12 
39 @XmlAccessorType(XmlAccessType.FIELD)
40 @XmlType(name = "AddOnLiabilityService", propOrder = {
41  "serviceName",
42  "amount",
43  "currency",
44  "parcelContent"
45 })
46 public class AddOnLiabilityService {
47 
48  @XmlElement(name = "ServiceName", required = true)
49  protected String serviceName;
50  @XmlElement(name = "Amount", required = true, type = String.class)
51  @XmlJavaTypeAdapter(Adapter3 .class)
52  protected BigDecimal amount;
53  @XmlElement(name = "Currency", required = true)
54  protected String currency;
55  @XmlElement(name = "ParcelContent")
56  protected String parcelContent;
57 
66  public String getServiceName() {
67  return serviceName;
68  }
69 
78  public void setServiceName(String value) {
79  this.serviceName = value;
80  }
81 
90  public BigDecimal getAmount() {
91  return amount;
92  }
93 
102  public void setAmount(BigDecimal value) {
103  this.amount = value;
104  }
105 
114  public String getCurrency() {
115  return currency;
116  }
117 
126  public void setCurrency(String value) {
127  this.currency = value;
128  }
129 
138  public String getParcelContent() {
139  return parcelContent;
140  }
141 
150  public void setParcelContent(String value) {
151  this.parcelContent = value;
152  }
153 
154 }