@@ -22,12 +22,12 @@ public static enum Status {QUOTED, SCHEDULED, IN_PROGRESS, VERIFICATION_REQUIRED
2222 private Date createdOn ;
2323 private String clientTransferId ;
2424 private String sourceToken ;
25- private Double sourceAmount ;
26- private Double sourceFeeAmount ;
25+ private String sourceAmount ;
26+ private String sourceFeeAmount ;
2727 private String sourceCurrency ;
2828 private String destinationToken ;
29- private Double destinationAmount ;
30- private Double destinationFeeAmount ;
29+ private String destinationAmount ;
30+ private String destinationFeeAmount ;
3131 private String destinationCurrency ;
3232 private List <ForeignExchange > foreignExchanges ;
3333 private String notes ;
@@ -139,16 +139,16 @@ public HyperwalletTransfer clearSourceToken() {
139139 return this ;
140140 }
141141
142- public Double getSourceAmount () {
142+ public String getSourceAmount () {
143143 return sourceAmount ;
144144 }
145145
146- public void setSourceAmount (Double sourceAmount ) {
146+ public void setSourceAmount (String sourceAmount ) {
147147 addField ("sourceAmount" , sourceAmount );
148148 this .sourceAmount = sourceAmount ;
149149 }
150150
151- public HyperwalletTransfer sourceAmount (Double sourceAmount ) {
151+ public HyperwalletTransfer sourceAmount (String sourceAmount ) {
152152 addField ("sourceAmount" , sourceAmount );
153153 this .sourceAmount = sourceAmount ;
154154 return this ;
@@ -160,16 +160,16 @@ public HyperwalletTransfer clearSourceAmount() {
160160 return this ;
161161 }
162162
163- public Double getSourceFeeAmount () {
163+ public String getSourceFeeAmount () {
164164 return sourceFeeAmount ;
165165 }
166166
167- public void setSourceFeeAmount (Double sourceFeeAmount ) {
167+ public void setSourceFeeAmount (String sourceFeeAmount ) {
168168 addField ("sourceFeeAmount" , sourceFeeAmount );
169169 this .sourceFeeAmount = sourceFeeAmount ;
170170 }
171171
172- public HyperwalletTransfer sourceFeeAmount (Double sourceFeeAmount ) {
172+ public HyperwalletTransfer sourceFeeAmount (String sourceFeeAmount ) {
173173 addField ("sourceFeeAmount" , sourceFeeAmount );
174174 this .sourceFeeAmount = sourceFeeAmount ;
175175 return this ;
@@ -223,16 +223,16 @@ public HyperwalletTransfer clearDestinationToken() {
223223 return this ;
224224 }
225225
226- public Double getDestinationAmount () {
226+ public String getDestinationAmount () {
227227 return destinationAmount ;
228228 }
229229
230- public void setDestinationAmount (Double destinationAmount ) {
230+ public void setDestinationAmount (String destinationAmount ) {
231231 addField ("destinationAmount" , destinationAmount );
232232 this .destinationAmount = destinationAmount ;
233233 }
234234
235- public HyperwalletTransfer destinationAmount (Double destinationAmount ) {
235+ public HyperwalletTransfer destinationAmount (String destinationAmount ) {
236236 addField ("destinationAmount" , destinationAmount );
237237 this .destinationAmount = destinationAmount ;
238238 return this ;
@@ -244,16 +244,16 @@ public HyperwalletTransfer clearDestinationAmount() {
244244 return this ;
245245 }
246246
247- public Double getDestinationFeeAmount () {
247+ public String getDestinationFeeAmount () {
248248 return destinationFeeAmount ;
249249 }
250250
251- public void setDestinationFeeAmount (Double destinationFeeAmount ) {
251+ public void setDestinationFeeAmount (String destinationFeeAmount ) {
252252 addField ("destinationFeeAmount" , destinationFeeAmount );
253253 this .destinationFeeAmount = destinationFeeAmount ;
254254 }
255255
256- public HyperwalletTransfer destinationFeeAmount (Double destinationFeeAmount ) {
256+ public HyperwalletTransfer destinationFeeAmount (String destinationFeeAmount ) {
257257 addField ("destinationFeeAmount" , destinationFeeAmount );
258258 this .destinationFeeAmount = destinationFeeAmount ;
259259 return this ;
@@ -371,17 +371,17 @@ public HyperwalletTransfer clearForeignExchanges() {
371371 }
372372
373373 public static class ForeignExchange {
374- private Double sourceAmount ;
374+ private String sourceAmount ;
375375 private String sourceCurrency ;
376- private Double destinationAmount ;
376+ private String destinationAmount ;
377377 private String destinationCurrency ;
378- private Double rate ;
378+ private String rate ;
379379
380- public Double getSourceAmount () {
380+ public String getSourceAmount () {
381381 return sourceAmount ;
382382 }
383383
384- public void setSourceAmount (Double sourceAmount ) {
384+ public void setSourceAmount (String sourceAmount ) {
385385 this .sourceAmount = sourceAmount ;
386386 }
387387
@@ -393,11 +393,11 @@ public void setSourceCurrency(String sourceCurrency) {
393393 this .sourceCurrency = sourceCurrency ;
394394 }
395395
396- public Double getDestinationAmount () {
396+ public String getDestinationAmount () {
397397 return destinationAmount ;
398398 }
399399
400- public void setDestinationAmount (Double destinationAmount ) {
400+ public void setDestinationAmount (String destinationAmount ) {
401401 this .destinationAmount = destinationAmount ;
402402 }
403403
@@ -409,11 +409,11 @@ public void setDestinationCurrency(String destinationCurrency) {
409409 this .destinationCurrency = destinationCurrency ;
410410 }
411411
412- public Double getRate () {
412+ public String getRate () {
413413 return rate ;
414414 }
415415
416- public void setRate (Double rate ) {
416+ public void setRate (String rate ) {
417417 this .rate = rate ;
418418 }
419419 }
0 commit comments