GLS ShipIT
GLS ShipIT - REST services
 All Classes Namespaces Files Functions Variables Enumerator Pages
CashService.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 
38 @XmlAccessorType(XmlAccessType.FIELD)
39 @XmlType(name = "CashService", propOrder = {
40  "serviceName",
41  "reason",
42  "amount",
43  "currency"
44 })
45 public class CashService {
46 
47  @XmlElement(name = "ServiceName", required = true)
48  protected String serviceName;
49  @XmlElement(name = "Reason", required = true)
50  protected String reason;
51  @XmlElement(name = "Amount", required = true, type = String.class)
52  @XmlJavaTypeAdapter(Adapter3 .class)
53  protected BigDecimal amount;
54  @XmlElement(name = "Currency", required = true)
55  protected String currency;
56 
65  public String getServiceName() {
66  return serviceName;
67  }
68 
77  public void setServiceName(String value) {
78  this.serviceName = value;
79  }
80 
89  public String getReason() {
90  return reason;
91  }
92 
101  public void setReason(String value) {
102  this.reason = value;
103  }
104 
113  public BigDecimal getAmount() {
114  return amount;
115  }
116 
125  public void setAmount(BigDecimal value) {
126  this.amount = value;
127  }
128 
137  public String getCurrency() {
138  return currency;
139  }
140 
149  public void setCurrency(String value) {
150  this.currency = value;
151  }
152 
153 }