GLS ShipIT  3.3.20
GLS ShipIT - SOAP services
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.XmlSchemaType;
9 import javax.xml.bind.annotation.XmlType;
10 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
12 
13 
39 @XmlAccessorType(XmlAccessType.FIELD)
40 @XmlType(name = "CashService", propOrder = {
41  "serviceName",
42  "reason",
43  "amount",
44  "currency"
45 })
46 public class CashService {
47 
48  @XmlElement(name = "ServiceName", required = true)
49  protected String serviceName;
50  @XmlElement(name = "Reason", required = true)
51  protected String reason;
52  @XmlElement(name = "Amount", required = true, type = String.class)
53  @XmlJavaTypeAdapter(Adapter1 .class)
54  @XmlSchemaType(name = "decimal")
55  protected BigDecimal amount;
56  @XmlElement(name = "Currency", required = true)
57  protected String currency;
58 
67  public String getServiceName() {
68  return serviceName;
69  }
70 
79  public void setServiceName(String value) {
80  this.serviceName = value;
81  }
82 
91  public String getReason() {
92  return reason;
93  }
94 
103  public void setReason(String value) {
104  this.reason = value;
105  }
106 
115  public BigDecimal getAmount() {
116  return amount;
117  }
118 
127  public void setAmount(BigDecimal value) {
128  this.amount = value;
129  }
130 
139  public String getCurrency() {
140  return currency;
141  }
142 
151  public void setCurrency(String value) {
152  this.currency = value;
153  }
154 
155 }