forked from irufus/gdax-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTransfer.java
More file actions
54 lines (42 loc) · 1.2 KB
/
Transfer.java
File metadata and controls
54 lines (42 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
package com.coinbase.exchange.api.transfers;
import java.math.BigDecimal;
/**
* Created by robevansuk on 15/02/2017.
*/
public class Transfer {
String type; // deposit/withdraw
BigDecimal amount;
String coinbase_account_id;
public Transfer() {}
public Transfer(String type, BigDecimal amount, String coinbase_account_id) {
this.type = type;
this.amount = amount;
this.coinbase_account_id = coinbase_account_id;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public BigDecimal getAmount() {
return amount;
}
public void setAmount(BigDecimal amount) {
this.amount = amount;
}
public String getCoinbase_account_id() {
return coinbase_account_id;
}
public void setCoinbase_account_id(String coinbase_account_id) {
this.coinbase_account_id = coinbase_account_id;
}
@Override
public String toString() {
return "Transfer{"
+ "type='" + type + '\''
+ ", amount=" + amount
+ ", coinbase_account_id='" + coinbase_account_id + '\''
+ '}';
}
}