GLS ShipIT  2.8.11
GLS ShipIT - REST services
CashService.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 
37 @XmlAccessorType(XmlAccessType.FIELD)
38 @XmlType(name = "CashService", propOrder = {
39  "serviceName",
40  "reason",
41  "amount",
42  "currency"
43 })
44 public class CashService {
45 
46  @XmlElement(name = "ServiceName", required = true)
47  protected String serviceName;
48  @XmlElement(name = "Reason", required = true)
49  protected String reason;
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 
64  public String getServiceName() {
65  return serviceName;
66  }
67 
76  public void setServiceName(String value) {
77  this.serviceName = value;
78  }
79 
88  public String getReason() {
89  return reason;
90  }
91 
100  public void setReason(String value) {
101  this.reason = value;
102  }
103 
112  public BigDecimal getAmount() {
113  return amount;
114  }
115 
124  public void setAmount(BigDecimal value) {
125  this.amount = value;
126  }
127 
136  public String getCurrency() {
137  return currency;
138  }
139 
148  public void setCurrency(String value) {
149  this.currency = value;
150  }
151 
152 }