GLS ShipIT  2.8.11
GLS ShipIT - REST services
AddOnLiabilityService.java
Go to the documentation of this file.
1 
2 package eu.glsgroup.fpcs.datatypes.soap.v1.common;
3 
5 
6 import javax.xml.bind.annotation.XmlAccessType;
7 import javax.xml.bind.annotation.XmlAccessorType;
8 import javax.xml.bind.annotation.XmlElement;
9 import javax.xml.bind.annotation.XmlType;
10 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
11 import java.math.BigDecimal;
12 
13 
38 @XmlAccessorType(XmlAccessType.FIELD)
39 @XmlType(name = "AddOnLiabilityService", propOrder = {
40  "serviceName",
41  "amount",
42  "currency",
43  "parcelContent"
44 })
45 public class AddOnLiabilityService {
46 
47  @XmlElement(name = "ServiceName", required = true)
48  protected String serviceName;
49  @XmlElement(name = "Amount", required = true, type = String.class)
50  @XmlJavaTypeAdapter(Adapter3.class)
51  protected BigDecimal amount;
52  @XmlElement(name = "Currency", required = true)
53  protected String currency;
54  @XmlElement(name = "ParcelContent")
55  protected String parcelContent;
56 
65  public String getServiceName() {
66  return serviceName;
67  }
68 
77  public void setServiceName(String value) {
78  this.serviceName = value;
79  }
80 
89  public BigDecimal getAmount() {
90  return amount;
91  }
92 
101  public void setAmount(BigDecimal value) {
102  this.amount = value;
103  }
104 
113  public String getCurrency() {
114  return currency;
115  }
116 
125  public void setCurrency(String value) {
126  this.currency = value;
127  }
128 
137  public String getParcelContent() {
138  return parcelContent;
139  }
140 
149  public void setParcelContent(String value) {
150  this.parcelContent = value;
151  }
152 
153 }