GLS ShipIT 5.0.15 GLS ShipIT - REST services

CashService.java
Go to the documentation of this file.
1
2 package eu.gls_group.fpcs.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;
11 import org.w3._2001.xmlschema.Adapter1;
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, nillable = 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 }
eu.gls_group.fpcs.v1.common.CashService.getCurrency
String getCurrency()
Definition: CashService.java:139
eu.gls_group.fpcs.v1.common.Adapter1
Definition: eu/gls_group/fpcs/v1/common/Adapter1.java:7
org
eu.gls_group.fpcs.v1.common.CashService.getReason
String getReason()
Definition: CashService.java:91
eu.gls_group.fpcs.v1.common.CashService
Definition: CashService.java:46
eu.gls_group.fpcs.v1.common.CashService.getAmount
BigDecimal getAmount()
Definition: CashService.java:115
org.w3._2001
org.w3._2001.xmlschema.Adapter1
Definition: org/w3/_2001/xmlschema/Adapter1.java:7
eu.gls_group.fpcs.v1.common.CashService.setReason
void setReason(String value)
Definition: CashService.java:103
eu.gls_group.fpcs.v1.common.CashService.setServiceName
void setServiceName(String value)
Definition: CashService.java:79
eu.gls_group.fpcs.v1.common.CashService.setAmount
void setAmount(BigDecimal value)
Definition: CashService.java:127
eu.gls_group.fpcs.v1.common.CashService.setCurrency
void setCurrency(String value)
Definition: CashService.java:151
org.w3._2001.xmlschema
Definition: org/w3/_2001/xmlschema/Adapter1.java:2
org.w3