forked from irufus/gdax-java
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from duanemay/testing
Fix Withdrawals
- Loading branch information
Showing
2 changed files
with
59 additions
and
15 deletions.
There are no files selected for viewing
44 changes: 44 additions & 0 deletions
44
src/main/java/com/coinbase/exchange/api/entity/CryptoPaymentRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
package com.coinbase.exchange.api.entity; | ||
|
||
import java.math.BigDecimal; | ||
|
||
/** | ||
* Created by robevansuk on 15/02/2017. | ||
*/ | ||
public class CryptoPaymentRequest | ||
{ | ||
|
||
String currency; | ||
BigDecimal amount; | ||
String crypto_address; | ||
|
||
public CryptoPaymentRequest(BigDecimal amount, String currency, String crypto_address) { | ||
this.currency = currency; | ||
this.amount = amount; | ||
this.crypto_address = crypto_address; | ||
} | ||
|
||
public String getCurrency() { | ||
return currency; | ||
} | ||
|
||
public void setCurrency(String currency) { | ||
this.currency = currency; | ||
} | ||
|
||
public BigDecimal getAmount() { | ||
return amount; | ||
} | ||
|
||
public void setAmount(BigDecimal amount) { | ||
this.amount = amount; | ||
} | ||
|
||
public String getCrypto_address() { | ||
return crypto_address; | ||
} | ||
|
||
public void setCrypto_address(String crypto_address) { | ||
this.crypto_address = crypto_address; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
02e41b4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 looks good and in line with the documentation